Forums / Setup & design / HELP!! front page design

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!!!

eZ debug

Timing: Jan 19 2025 01:15:04
Script start
Timing: Jan 19 2025 01:15:04
Module start 'content'
Timing: Jan 19 2025 01:15:05
Module end 'content'
Timing: Jan 19 2025 01:15:05
Script end

Main resources:

Total runtime0.9747 sec
Peak memory usage4,096.0000 KB
Database Queries194

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0063 590.0859180.8359
Module start 'content' 0.00630.8203 770.9219537.8906
Module end 'content' 0.82660.1480 1,308.8125332.7500
Script end 0.9746  1,641.5625 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00400.4080210.0002
Check MTime0.00150.1545210.0001
Mysql Total
Database connection0.00080.077310.0008
Mysqli_queries0.903792.72191940.0047
Looping result0.00230.23311920.0000
Template Total0.935496.020.4677
Template load0.00210.218420.0011
Template processing0.933395.753920.4666
Template load and register function0.00020.016810.0002
states
state_id_array0.00170.172210.0017
state_identifier_array0.00190.193920.0009
Override
Cache load0.00170.1757270.0001
Sytem overhead
Fetch class attribute can translate value0.00170.175730.0006
Fetch class attribute name0.00130.136140.0003
XML
Image XML parsing0.00090.093430.0003
class_abstraction
Instantiating content class attribute0.00000.000940.0000
General
dbfile0.00390.4036270.0001
String conversion0.00000.000630.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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