How to fetch data from an other section

Author Message

Guillaume Kempfer

Friday 18 March 2005 6:59:09 am

Hi, i'm a newbie :)

I have created a homepage and two section 'news_section' & 'articles_section' i have assign 'news_section' to a 'news' folder and 'articles_section' to 'articles' folder.

What i want to do is to display the last news & articles on the homepage, but i don't know how to do that correctly. Can someone help ?

Thanks,
Greets

Digital

Ɓukasz Serwatka

Sunday 20 March 2005 10:12:18 pm

Hi,

I recommend to start your adventure with eZ publish from reading TSCM tutorial. Is very helpful at the beginning.

http://ez.no/ez_publish/documentation/toc/(from)/36647

Read also about fetch function.
http://ez.no/ez_publish/documentation/reference/data_fetching/content

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

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 16:25:22
Script start
Timing: Jan 18 2025 16:25:22
Module start 'layout'
Timing: Jan 18 2025 16:25:22
Module start 'content'
Timing: Jan 18 2025 16:25:23
Module end 'content'
Timing: Jan 18 2025 16:25:23
Script end

Main resources:

Total runtime0.6562 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.0088 589.1641152.6406
Module start 'layout' 0.00880.0026 741.804739.4766
Module start 'content' 0.01140.6431 781.2813526.0859
Module end 'content' 0.65460.0016 1,307.36728.1406
Script end 0.6561  1,315.5078 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.5254160.0002
Check MTime0.00150.2271160.0001
Mysql Total
Database connection0.00110.173410.0011
Mysqli_queries0.607892.6231540.0113
Looping result0.00050.0830520.0000
Template Total0.622694.920.3113
Template load0.00230.348820.0011
Template processing0.620394.529020.3101
Template load and register function0.00030.044810.0003
states
state_id_array0.00150.221110.0015
state_identifier_array0.00110.175120.0006
Override
Cache load0.00190.2858160.0001
Sytem overhead
Fetch class attribute can translate value0.00080.123520.0004
Fetch class attribute name0.00140.212330.0005
XML
Image XML parsing0.00070.109920.0004
class_abstraction
Instantiating content class attribute0.00000.001430.0000
General
dbfile0.00080.1231180.0000
String conversion0.00000.000840.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/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
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 11
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs