HELP!! front page design

Author Message

zed Zed

Monday 13 June 2005 4:46:15 am

I have an ezpublish site running on 3.4.1 but I haven't done any changes to it. It's still in it's original state as at installation so they are a couple of things that are not working. For example I have different sections of the site.

Using the corporate package, when ever I want to upload content to the other sections of the site, it's comes up on the latest box on the front page, which is the only box on the front page.

What I need is to know how to create different sections for the front page so that if for example I have sections like galleries, news, business etc when I upload content to the news section, the news comes up on the latest new box, and if I upload pictures in the galleries, the pictures appear on the galleries box on the front page too and the same if I add content to business section, it should have it's own box on the front page as well.

I have heard of making the changes on pagelayout.tpl and using tables and a fetch code but I have no idea just how to do this because I'm new to ezpublish.

Can some body help me because I'm running a charity site to help fight poverty in Africa but this technical problem is holding us back from developing our site. We have great faith in ezpublish so far.

Any help and feed back will be greatly appreciated thanks in advance.

Stéphane Bullier

Monday 13 June 2005 5:54:02 am

Hi,

I suggest you to follow the tutorial "Creationg sections" :

http://ez.no/ez_publish/documentation/building_an_ez_publish_site/creating_sections

Good luck !

Stéphane

zed Zed

Wednesday 15 June 2005 3:16:02 am

Thank you Bobo dialo for the reply.

I have gone into setup>template list>templateview>create new template..

The options are Template name[name of tempelate].tpl
Override keys class, section and node, the options are any or all the packages I have enabled.

how do I find out which node I need?

I noticed when I clicked on the edit button in the templateview, the template code came up but where do I go from there?

In my first post I may have used the wrong terminology. All I want is to have a front page that has different pages of the site all on one page [the frontpage or home page]. I believe this can be done with tables but where do I add the tables in the templates or on the top node? I'm using the default node as the home page but I want to have all parts that I have have created to be on the front page.

where does the fetch code go? The creating custom template tutorial is confusing because I'm using a corporate installation which has content in it and all I'm changing is the content but now I want to customise the look of the home page.

how do you add more latest boxes??

I want the page divided like the community page on ez where by it show different parts.

Please help!!!

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 19 2025 03:41:48
Script start
Timing: Jan 19 2025 03:41:48
Module start 'layout'
Timing: Jan 19 2025 03:41:48
Module start 'content'
Timing: Jan 19 2025 03:41:50
Module end 'content'
Timing: Jan 19 2025 03:41:50
Script end

Main resources:

Total runtime1.8134 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0048 589.1563152.6250
Module start 'layout' 0.00480.0030 741.781339.4453
Module start 'content' 0.00771.8042 781.2266532.8125
Module end 'content' 1.81190.0015 1,314.039112.1641
Script end 1.8134  1,326.2031 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.1783160.0002
Check MTime0.00150.0818160.0001
Mysql Total
Database connection0.00060.035110.0006
Mysqli_queries1.762997.2143570.0309
Looping result0.00070.0407550.0000
Template Total1.776097.920.8880
Template load0.00200.111620.0010
Template processing1.774097.824720.8870
Template load and register function0.00020.012710.0002
states
state_id_array0.00090.052310.0009
state_identifier_array0.00310.170420.0015
Override
Cache load0.00170.0917270.0001
Sytem overhead
Fetch class attribute can translate value0.00110.058120.0005
Fetch class attribute name0.00110.061840.0003
XML
Image XML parsing0.00070.039920.0004
class_abstraction
Instantiating content class attribute0.00000.000540.0000
General
dbfile0.00080.0446160.0001
String conversion0.00000.000440.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
3content/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
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: 11
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs