Forums / Setup & design / How do setup a homepage without a header or footer

How do setup a homepage without a header or footer

Author Message

Emmanuels magaya

Wednesday 13 October 2004 3:16:35 am

I am using ezPublish to design a website with a homepage that has a different design to the rest of the pages. The homepage has a design whoch does not consist of a Header - e.g. homepage for http://www.orange.com - the right handside is what will contain dynamic text - such as articles and links. in other words. the left handside must be static(e.g just an image) and the right handside dynamic. As for the subpages - these can have a consistent layout like the one on this particular website - whereby there is a header that remains the same. please tell me how I can custom make my homepage as I have explained

Manu

Mark Marsiglio

Wednesday 13 October 2004 6:15:50 am

You can override the pagelayout.tpl on a node by node basis if you wish. In this case, you will want to create a new copy of your pagelayout.tpl called something like pagelayout_home.tpl, then add an entry in your override.ini.append for your siteaccess like this:

[pagelayouthome]
Source=pagelayout.tpl
MatchFile=pagelayout_home.tpl
Subdir=templates
Match[node]=2

The node match =2 designates this template to only be used for node 2, which is usually the home page.

Check the docs on the priority of overrides to make sure you add it in the right place in the override.ini.append. You can do this for non-pagelayout templates through the admin interface, but it will not allow node-specific overrides on pagelayout.tpl.

http://www.thinkcreative.com
Turning Ideas Into Strategic Solutions

Emmanuels magaya

Thursday 14 October 2004 12:24:22 am

What I mean is...if yu look at the normal homepage for this(ez website) site - it consists of a header, body and footer.On my page the left side of the website - the side with the picture will be static BUT whats on the right will be dynamic. Secondly - the subpages will have a format different from the homepage - they will have a structure similar to that of this website(Header. body, footer). In my current website - the right side is dynamic but if I click on the links for say latest news - it displays the data on the same page and yet I wish to have it go to a page with a layout different from the homepage.

if yu are on IM we can chat my msn id is emmagaya@hotmail.com and my yahoo id is emmagaya. Just add me to your contacts so I can explain further if necessary

Emmanuels magaya

Thursday 14 October 2004 12:33:04 am

I have browsed to your website...www.thinkcreative.com and it has the format that I want - i.e. a homepage with a different design to the rest of the pages BUT I wish to have some dymanic content such as latest news on the homepage being displayed(just in short form - then when you click it takes you to the actual article)

Emmanuels magaya

Thursday 14 October 2004 2:41:09 am

I browsed to one of the websites set up using eZPublish(http://www.actuality-systems.com) and it has the format that I want. I want my homepage to have dynamic content on the homepage - such as latest news and then if you click that link to latest news, it will generate a new page altogether which contains the detailed latest news article. In my present design when I click on the article, it just loads on that same section(in fact its a table) of the page and nothing else changes on the page. I would like the link to be opened in a new page.

Tobias Persson

Thursday 14 October 2004 3:02:59 am

Hi,

you can change the looks of the page as you wish. Just edit the templates (it is maybe not really easy, but just give it a try).

You find the templates like this:

* Login to admin
* Click 'Set up' in the top menu
* Click 'Advanced' in the left menu (so you see all the items below it)
* Click 'Templates'

Now you see all the templates that the sites is built from.
The main-template is /pagelayout.tpl

Click on that one, and then choose 'site' you like to edit in the dropdown-list and click 'Set'

Then click 'Create New', select 'Copy of default template', type something as a name of the file and then click 'Create'.

Now can you edit the template by just clicking the edit.

Hope I wasn't too detailed and that I understod what you tried to do.

There is also a nice step-by-step guide at:

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

that is pretty nice to check out if you want to explore ezpublish.

Emmanuels magaya

Tuesday 19 October 2004 1:31:41 am

I tried reading the manual esp the section on fetch but I could not achieve what I wanted.

eZ debug

Timing: Jan 19 2025 12:48:52
Script start
Timing: Jan 19 2025 12:48:52
Module start 'content'
Timing: Jan 19 2025 12:48:52
Module end 'content'
Timing: Jan 19 2025 12:48:52
Script end

Main resources:

Total runtime0.1307 sec
Peak memory usage2,048.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0062 589.1016180.8125
Module start 'content' 0.00620.0050 769.9141102.0547
Module end 'content' 0.01120.1195 871.9688530.3750
Script end 0.1307  1,402.3438 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00312.4009200.0002
Check MTime0.00120.9543200.0001
Mysql Total
Database connection0.00110.849810.0011
Mysqli_queries0.091169.70161410.0006
Looping result0.00100.77211390.0000
Template Total0.119291.210.1192
Template load0.00070.550010.0007
Template processing0.118590.612310.1185
Override
Cache load0.00050.381710.0005
Sytem overhead
Fetch class attribute can translate value0.00060.479610.0006
XML
Image XML parsing0.00020.139110.0002
General
dbfile0.00332.5119200.0002
String conversion0.00000.010630.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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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