Filtering avilable classes in folder

Author Message

Jan Komárek

Sunday 04 January 2009 3:05:35 pm

Hello,

I have question:
Is any way how to filter content classes which objests could be created in some folder?
My english may not be accurate so i e explain it on example.

I have katalog and I want to have in each folder another type of items. So I made class for each type. And now I would like to say in folder with computers could be only objetcts of computer class.

I hope that I explain my problem enough. If not, ask questions, I will try to answer.

Thanks for replies,
Jan Komárek

André R.

Monday 05 January 2009 12:24:16 am

Use policy's, in this case something like:
content, create, Class( Computer class ), Parent Node( Computer )

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Jan Komárek

Monday 05 January 2009 1:25:48 am

I thank that it must be somethink easy. But I cannot figure it.

Thank you very much.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 31 2025 09:35:30
Script start
Timing: Jan 31 2025 09:35:30
Module start 'layout'
Timing: Jan 31 2025 09:35:30
Module start 'content'
Timing: Jan 31 2025 09:35:30
Module end 'content'
Timing: Jan 31 2025 09:35:30
Script end

Main resources:

Total runtime0.0151 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0057 588.2500151.2266
Module start 'layout' 0.00570.0031 739.476636.6797
Module start 'content' 0.00880.0051 776.156390.1563
Module end 'content' 0.01380.0012 866.312533.9922
Script end 0.0151  900.3047 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002516.4811140.0002
Check MTime0.00117.0737140.0001
Mysql Total
Database connection0.00096.004610.0009
Mysqli_queries0.002818.717130.0009
Looping result0.00000.072510.0000
Template Total0.00096.310.0009
Template load0.00074.867710.0007
Template processing0.00021.370310.0002
Override
Cache load0.00053.300310.0005
General
dbfile0.00106.621180.0001
String conversion0.00000.053640.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs