Homepage with different items

Author Message

Francesc Febrer

Friday 23 January 2004 4:39:19 am

Hi, I'm newly with ezPublish.

I want do a web with weblog & forum functionalities. So, I started to this with the templates of blog demo. But in the homepage, I want show in the central block the latest blogs and posts in the forum. How can I do this? How can I combine this items in the central block? Wich template have I to modifiy or create?

Thanks.

Alex Jones

Friday 23 January 2004 9:28:32 am

Have you read the tutorial at http://ez.no/ez_publish/documentation/building_an_ez_publish_site ?The different sections should help you learn how the templates work. The news tutorial discusses how to display overviews of the latest articles which is much like what you want to do with blog entries and forum posts on your front page.

Alex

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

Francesc Febrer

Friday 23 January 2004 4:49:32 pm

Hi,

Yes, I readed the tutorial. But I don't know wich template modify or create to show, at the central block of the homepage (it is in {$module_result.content} area), this items. Can you specify more? Excuse me, I'm newly with eZ, but I sorpressed with their power and functionality. Thanks.

Fernando Ferreira

Saturday 24 January 2004 1:34:26 pm

Hi,

Im still studing the EZ Framework, but i know thats Gallery Template have a dinamic Homepage and use more than one template to generate the first page. Take a look. I need to build a dinamic homepage to.

Sorry for my bad english... >:)!

By Merclown

Adolfo Barragán

Thursday 29 January 2004 12:28:42 am

By default, index page is "content/view/full/2", so you can override the full view for node 2 and fetch blogs and forum messages.

Regards
Adolfo Barragan

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

Main resources:

Total runtime0.8947 sec
Peak memory usage4,096.0000 KB
Database Queries67

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0108 589.0469152.6250
Module start 'layout' 0.01080.0046 741.671939.4453
Module start 'content' 0.01540.8776 781.1172617.9688
Module end 'content' 0.89300.0017 1,399.085912.1641
Script end 0.8947  1,411.2500 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.4043160.0002
Check MTime0.00140.1529160.0001
Mysql Total
Database connection0.00180.206510.0018
Mysqli_queries0.837293.5734670.0125
Looping result0.00080.0845650.0000
Template Total0.854795.520.4273
Template load0.00240.265420.0012
Template processing0.852395.261120.4261
Template load and register function0.00020.021810.0002
states
state_id_array0.00150.162610.0015
state_identifier_array0.00150.163620.0007
Override
Cache load0.00200.2191220.0001
Sytem overhead
Fetch class attribute can translate value0.00060.072640.0002
Fetch class attribute name0.00150.168360.0003
XML
Image XML parsing0.00090.101140.0002
class_abstraction
Instantiating content class attribute0.00000.001560.0000
General
dbfile0.00080.0945160.0001
String conversion0.00000.002040.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
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/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: 15
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs