How to create unique front page
Step 1 / 3
Go to your current theme folder and create new layout file for main page.
Step 2 / 3
Go to Developer -> Zones and create new zone:
- name - name of menu. Choose anything you like
- key - name of zone for use in PHP code. Typically the same name without special characters and with underscores instead of spaces
- layout - choose your newly created layout
- associated module group - use standard
- associated module - use content_management
Move your new zone to the top (it should be the first zone).
If your main page contains no manageable text (eg. only flash), you may left blank associated group and associated module fields. This will tell the system that zone have only one page and all required content is hard coded into template layout. In such case you need to skip step 3.
Step 3 / 3
Go to Standard -> Menu management and add one page to that zone.
That's it. Your website will start with new (different) layout.
Comments (3)
Kirk Sansom
This doesn't work too well because I cannot add a link to the unique front page in the top menu. There's got to be a way to have more than one layout in a theme ... surely!
Mangirdas
Yes you can. Just add menu item "Home" and put link to home page.
Mangirdas
And I agree that it would be nice to have layout per page option which now is available only by using plugin: http://www.impresspages.org/extensions/plugins-2.x/page-layout/
Write a comment
You must be logged in to comment.