Creating a custom folder

Author Message

Randeep Walia

Friday 12 November 2004 9:57:21 am

I noticed that the Gallery seems to be a customized folder. That sort of functionality could be extremely useful to me in implementing my article class, because I have an instance of an article class, along with instances of an article_page class I developed and I keep them all together meaning every article has its own folder.

I would like to implement an instance of article_folder to hold these contents rather than folder. Is it possible to do this?

__________________________________
Randeep Walia is http://www.rundeep.net powered by EZ Publish

Arash Molavi

Sunday 14 November 2004 11:51:23 am

All the content you make gets a node id and a class. You can make a template for every content class and even match them with id.

For instructions go to:
Override templates
http://www.ez.no/ez_publish/documentation/customization/custom_design/override_templates

or
Building an eZ publish site
http://www.ez.no/ez_publish/documentation/toc/(from)/36647

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 11:46:00
Script start
Timing: Jan 18 2025 11:46:00
Module start 'layout'
Timing: Jan 18 2025 11:46:00
Module start 'content'
Timing: Jan 18 2025 11:46:00
Module end 'content'
Timing: Jan 18 2025 11:46:00
Script end

Main resources:

Total runtime0.8516 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0054 587.9063152.6250
Module start 'layout' 0.00540.0030 740.531339.4297
Module start 'content' 0.00840.8418 779.9609528.2656
Module end 'content' 0.85020.0014 1,308.22668.1797
Script end 0.8516  1,316.4063 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.3946160.0002
Check MTime0.00140.1667160.0001
Mysql Total
Database connection0.00060.073910.0006
Mysqli_queries0.811595.2871540.0150
Looping result0.00040.0527520.0000
Template Total0.822196.520.4111
Template load0.00220.256220.0011
Template processing0.819996.276520.4100
Template load and register function0.00010.011610.0001
states
state_id_array0.00070.078210.0007
state_identifier_array0.00140.164020.0007
Override
Cache load0.00180.2128150.0001
Sytem overhead
Fetch class attribute can translate value0.00060.067420.0003
Fetch class attribute name0.00090.101240.0002
XML
Image XML parsing0.00100.117820.0005
class_abstraction
Instantiating content class attribute0.00000.000640.0000
General
dbfile0.00100.1135230.0000
String conversion0.00000.001140.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
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/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: 12
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs