Hi guys,

Is it possible to create a different homepage layout and a page content layout?

but the header and the footer layout would be the same on the homepage and a single page content layout.

If it is possible, can you give me some tips on how to do that, a sample theme having that behavior would be helpful.

thanks!

Comments

vm’s picture

create a page-front.tpl.php for your theme
copy the contents of page.tpl.php of your your theme to the newly create page-front.tpl.php

hack away at page-front.tpl.php
save the file

visit administer -> themes

pull your hom page up in your browser and it should now be using page-front.tpl.php to theme the homepage.

superpaul’s picture

alright!

thanks for the quick response.. Is there a reference or a documentation site for this theme creation, with all the possible files to be included not just the basic files like page.tpl.php, block.tlp.php and etc.

thanks!

vm’s picture

theme developers guide in the documentation area.

devel.module is a great help too.