Forums / Setup & design / Page customization

Page customization

Author Message

sp 1024

Saturday 02 July 2005 11:04:24 pm

I want to make a page similar to http://ez.no/community, with listings of nodes that update automatically. But I'm really new at this and I don't know how to go about doing this, and there isn't a tutorial that specifically addresses this. Can someone explain how I would do this in simple terms?

Arran Price

Sunday 03 July 2005 3:53:21 pm

The chess tutorial on this site should help alot, but more specifically:
You need to create a template to do what you want.
You can do a fetch based on various criteria including latest published and priority (so depending on what you want try using those criteria). You can also set the folder that has the nodes in it to by default sort by priority/latest published etc.

Documentation to read other than the tutorial, is on fetch and limit (because you only want a certain number of items on the page). And anything on creating templates (like the tutorial).

Arran

eZ debug

Timing: Jan 19 2025 03:25:14
Script start
Timing: Jan 19 2025 03:25:14
Module start 'content'
Timing: Jan 19 2025 03:25:14
Module end 'content'
Timing: Jan 19 2025 03:25:14
Script end

Main resources:

Total runtime0.0159 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.0066 589.0547180.8438
Module start 'content' 0.00660.0046 769.898493.7266
Module end 'content' 0.01120.0047 863.625070.7031
Script end 0.0159  934.3281 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002213.7248120.0002
Check MTime0.00116.8026120.0001
Mysql Total
Database connection0.00095.467510.0009
Mysqli_queries0.002213.735340.0005
Looping result0.00000.204820.0000
Template Total0.004326.910.0043
Template load0.00085.161010.0008
Template processing0.003521.696610.0035
Override
Cache load0.00053.323610.0005
General
dbfile0.00138.2514100.0001
String conversion0.00000.062830.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