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.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.