[themes] Determine Home Page

Progga proggaprogga at gmail.com
Thu Dec 20 17:10:08 UTC 2007


On Thu, Dec 20, 2007 at 10:46:17AM -0500, Tom Holmes Jr. wrote:
 
> So this static web-site has it's own primary links in the header, and 
> it's not consistent.
> One one home-page I have 6 items, on most of the other pages it is 3 
> items, and a few have 4 items.

Having individual template pages like page-node-N.tpl.php where N > 0 might
help.  But there might be a better solution which I don't know :-(

> So, I am just wondering how I can determine which page is the home page ...

isset($is_front)
{
    ...
}

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.drupal.org/pipermail/themes/attachments/20071220/3186c782/attachment.pgp 


More information about the themes mailing list