Forums / General / Default index page

Default index page

Author Message

David Syers

Tuesday 04 November 2003 9:18:18 am

I am sure that I am like a lot of other ez users in that the contents for my site is split into different folders. My question is how do you select the folders 'index' page rather than displaying the folder?

I have currently got a piece of code that checks to see if I am in a folder and then finds the index page. But surely there must be an easier way.

How have ez.no done it?

eZ debug

Timing: Jan 18 2025 11:40:32
Script start
Timing: Jan 18 2025 11:40:32
Module start 'content'
Timing: Jan 18 2025 11:40:32
Module end 'content'
Timing: Jan 18 2025 11:40:32
Script end

Main resources:

Total runtime0.0170 sec
Peak memory usage2,048.0000 KB
Database Queries4

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0065 587.5859180.8516
Module start 'content' 0.00660.0049 768.437588.6016
Module end 'content' 0.01150.0055 857.039166.7031
Script end 0.0169  923.7422 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002112.3827120.0002
Check MTime0.00105.8920120.0001
Mysql Total
Database connection0.00106.000210.0010
Mysqli_queries0.002816.585640.0007
Looping result0.00000.111020.0000
Template Total0.005130.210.0051
Template load0.00158.923110.0015
Template processing0.003621.182110.0036
Override
Cache load0.00137.644310.0013
General
dbfile0.00042.5083100.0000
String conversion0.00000.046430.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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