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

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

Main resources:

Total runtime0.0194 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0067 588.1094151.1953
Module start 'layout' 0.00680.0037 739.304736.6172
Module start 'content' 0.01040.0071 775.921990.0156
Module end 'content' 0.01760.0018 865.937529.9922
Script end 0.0194  895.9297 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002412.5379140.0002
Check MTime0.00115.7374140.0001
Mysql Total
Database connection0.00094.721010.0009
Mysqli_queries0.004422.849130.0015
Looping result0.00000.128910.0000
Template Total0.00147.010.0014
Template load0.00105.148210.0010
Template processing0.00041.853610.0004
Override
Cache load0.00073.573310.0007
General
dbfile0.002814.633380.0004
String conversion0.00000.050340.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_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