Forums / Setup & design / Different layout on front page

Different layout on front page

Author Message

sem hadland

Wednesday 25 August 2004 9:59:11 am

HELLO
I have checked the site but can not find any onfo on how to make a different layout for the front page. I have edited the pagelayout.tpl file with great success, but now I will make a different front page.

Please point me to the right direction, or tell me how to do this.

Thank you very much.

You can check my site at http://intra.dalane-tidende.no/index.php

Tim Dickinson

Wednesday 25 August 2004 10:38:25 am

To make a different frontpage you can do 2 things:

1) Go into the sit.ini.append for your siteaccess, and change the IndexPage= to point to any page/article on your site that you like.

2) Log-in to the admin interface, and edit the folder called 'home.'
The text you have on the front page of your site is the text in the description field of the 'Home' folder.
Change it to whatever you like.

There are other things that you could (probably) also do, but these are the easiest (only ones I know of).

Tim

http://www.AdBalance.com - Ad network news and reviews
http://www.DevPublisher.com - Website publisher guides, tools and news
http://www.AudioMelody.com - Make better music

sem hadland

Wednesday 25 August 2004 2:28:20 pm

Yes, I am interested to change the CONTENT, but first I need to create a unique LAYOUT template for the main index page.

Any help, or anyone who can point me to the right direction?

Thank you.

Ted Striker

Thursday 26 August 2004 12:33:34 am

Hi Sem!

Have you follow this tutorial? :::::>>>>>>>

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

When I started to work with eZPublish 3.2...those days where nice..:) I followed this tutorial and it helped me a lot to understand the way eZPublish wors.

I have created a project in which the admin can choose which articles are shown in the front page and can also choose among different templates to show them with different appearence (digital newspaper like). Unfortunately it's not still finished and can not be visited yet :(

Cya!

Can you feel it Mr. Anderson? Closing in on you? Oh I can, I really should thank you after all. It was, after all, it was your life that taught me the purpose of all life. Purpose of life is to end.

Roy Bøhmer

Thursday 26 August 2004 5:51:54 am

Here is what I did:
In /design/your_design/templates I created a file called pagelayout_front.tpl (or whatever you like)

In settings/siteaccess/your_siteaccess/override.ini.append.(php) comes the trick. Write

[Frontpage]
Source=pagelayout.tpl
MatchFile=pagelayout_front.tpl
Subdir=
Match[node]=47

Replace Match[node]=47 with the node_id of the node you would like to have on the front

Hope it helps!