Hi,

I'm wanting to avoid hard coding this if I can. Is there any way to determine if the current page is the front page as determined by the front page module.

$is_front is not helpful in page.tpl.php after a redirect by front page module.

drupal_get_normal_path('front_page') doesn't seem to work either to use to check against $_GET['q']

No doubt I'm showing my lack of knowledge - I'm a newbie when it comes to Drupal (and PHP!). I hope this is a reasonable question and I haven't overlooked something really obvious.

Thanks in advance.

Comments

Dublin Drupaller’s picture

Status: Active » Closed (won't fix)