Creating categories the ez way

Author Message

Michel Houtermans

Sunday 28 September 2003 8:10:54 am

I am very new to ez publish and I don't have the ez publish thinking yet. May be somebody can explain what the right approach would be. Here is my problem.

I am creating a content class "project". This class holds info like name, description, date added, etc. This class needs to be an information collector so that users can add their own projects.

Now my problem is in the categorization of a project. The user should be able to select the appropriate category this project belongs. Somehow I want to have a pull down menu with categories. But on the other hand a user also needs to be able to surf all the projects via a directory style web page.

What is the best way to create these categories? Should i create a content class category and put all the categories I have in there? If I do I that way then how can I automatically generate a pull down menu with all my categories for the project class?

I am sure that there is an easy solution for this but I just did not find it yet by reading the forums and documentation.

Can somebody point me in the right direction? thanks
Michel

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 18 2025 22:19:57
Script start
Timing: Jan 18 2025 22:19:57
Module start 'layout'
Timing: Jan 18 2025 22:19:57
Module start 'content'
Timing: Jan 18 2025 22:19:58
Module end 'content'
Timing: Jan 18 2025 22:19:58
Script end

Main resources:

Total runtime0.6316 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0048 589.3438152.6250
Module start 'layout' 0.00490.0023 741.968839.4609
Module start 'content' 0.00720.6222 781.4297401.2109
Module end 'content' 0.62940.0021 1,182.64068.1641
Script end 0.6315  1,190.8047 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.4853160.0002
Check MTime0.00130.2050160.0001
Mysql Total
Database connection0.00060.097210.0006
Mysqli_queries0.594294.0913460.0129
Looping result0.00050.0863440.0000
Template Total0.602595.420.3012
Template load0.00170.276320.0009
Template processing0.600795.115220.3004
Template load and register function0.00030.041010.0003
states
state_id_array0.00190.296110.0019
state_identifier_array0.00190.296520.0009
Override
Cache load0.00140.2188100.0001
Sytem overhead
Fetch class attribute can translate value0.00060.092010.0006
Fetch class attribute name0.00080.127010.0008
XML
Image XML parsing0.00010.020910.0001
class_abstraction
Instantiating content class attribute0.00000.000810.0000
General
dbfile0.00060.0958100.0001
String conversion0.00000.001340.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 6
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs