"Directory Index" for folders?

Author Message

Thomas Brandl

Monday 08 September 2003 8:22:38 am

Hi,

Say, I have folder A with contents article_1 and article_2.
Now, when clicking the folder on the user site, I usually would see the folders description with the two children below it.
What I would want now, is to omit the folder description but instead to instantly jump to, say, article_1 when I click on the folder (that wasn't really a grammatically correct sentence, right?!). In other words: "if smb wants to view the node id of a folder, don't show it to him but internally redirect him to xy (or ie. the first child, if there is any).

Thanks for help!
Tom

Paul Forsyth

Tuesday 09 September 2003 1:11:44 am

Have a look at this, sounds like its what you want:

http://ez.no/developer/ez_publish_3/documentation/customization/tips_tricks/one_article_folder

Paul

Thomas Brandl

Tuesday 09 September 2003 1:39:51 am

Thanks again, Paul! That was it!
And it's working fine...

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

Main resources:

Total runtime0.5374 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0053 587.9063152.6250
Module start 'layout' 0.00530.0024 740.531339.4453
Module start 'content' 0.00770.5283 779.9766468.2500
Module end 'content' 0.53610.0013 1,248.22668.1641
Script end 0.5374  1,256.3906 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00300.5645160.0002
Check MTime0.00120.2311160.0001
Mysql Total
Database connection0.00070.130210.0007
Mysqli_queries0.499392.9112570.0088
Looping result0.00050.0901550.0000
Template Total0.505394.020.2527
Template load0.00210.381820.0010
Template processing0.503293.628720.2516
Template load and register function0.00010.024410.0001
states
state_id_array0.00100.177710.0010
state_identifier_array0.00070.131720.0004
Override
Cache load0.00160.3050160.0001
Sytem overhead
Fetch class attribute can translate value0.00050.095220.0003
Fetch class attribute name0.00080.152330.0003
XML
Image XML parsing0.00020.037920.0001
class_abstraction
Instantiating content class attribute0.00000.001130.0000
General
dbfile0.00060.1142100.0001
String conversion0.00000.001540.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
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/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: 13
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs