[themes] Home page and other page not same theme. How ?

floretan at gmail.com floretan at gmail.com
Thu Dec 20 17:40:18 UTC 2007


Rather than creating a separate theme for the front page, just create
a different page template.

Copy page.tpl.php (from your theme) to page-front.tpl.php and this
template will affect only the front page. I've used this method on a
few sites and it works great.

On 12/20/07, Progga <proggaprogga at gmail.com> wrote:
> On Thu, Dec 20, 2007 at 05:15:40PM +0100, Davide Michel 'ZioBudda' Morelli
> wrote:
> > In home page I have some blocks/regions, in the other page I have only
> > one big block (for example).
>
> I don't know how to use different themes on different pages.  But
> controlling
> a block's appearence on different pages is quite easy.  If you click the
> "configure" link (it is at the right of the block's name) in the block list
> page (admin/build/block) then you'll see the following:
>
> Show block on specific pages:
>     [radio] Show on every page except the listed pages.
>     [radio] Show on only the listed pages.
>     [radio] Show if the following PHP code returns TRUE (PHP-mode, experts
> only).
>
>     Pages:
>     [textarea]
>
>
>


More information about the themes mailing list