Page 1 of 1

multiple content areas on 1 page

Posted: Thu Jan 31, 2008 11:29 am
by kotoman
I would like to split up the homepage into 4 different 'zones' and post content to these from separate 'pages' within the admin. How do I add the relevant code to the home page template to make this happen.....or am I looking at this in the wrong way - is there an easier way to do this.


cheers
paul

http://www.homeimprovementcentral.co.uk
http://www.renovationcentral.co.uk

Re: multiple content areas on 1 page

Posted: Thu Jan 31, 2008 11:56 am
by cb2004
{content block="Zone 1"}
{content block="Zone 2"}
{content block="Zone 3"}
{content block="Zone 4"}

Add them to your template. Then when it comes to posting new content with that template you will have 4 boxes to fill in :).

Re: multiple content areas on 1 page

Posted: Thu Jan 31, 2008 12:36 pm
by alby
kotoman wrote: I would like to split up the homepage into 4 different 'zones' and post content to these from separate 'pages' within the admin. How do I add the relevant code to the home page template to make this happen.....or am I looking at this in the wrong way - is there an easier way to do this.
Yes, other infos.
Easier way are:
1. add other three {content block="zoneX"} to your template but edit all contents in home page
2. add other three {global_content name="zoneX"} and edit that contents in Global Content Block

If you want edit that contents from other pages, you must hack php code

Alby

Re: multiple content areas on 1 page

Posted: Thu Jan 31, 2008 1:40 pm
by RonnyK
There is also the module PageBlocks, that gives you the option to attach other pageblocks to a page. With this module you can re-use the content and dont have to edit all contentblocks that otherwise have to be edited....

GCB's is another option...

Ronny