Closed (won't fix)
Project:
Front Page
Version:
5.x-1.8
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
20 Jul 2007 at 13:25 UTC
Updated:
30 Jan 2010 at 17:35 UTC
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
Comment #1
Dublin Drupaller commented