Chris McCreery ha scritto:
Hi I am trying to test for arg(1) OR is_front however when I set this up neither seem to work but if I do them separately they work fine. I assume it's just my syntax but I'm honestly not sure. Any help would be great.
Hi, where do you check this ? $is_front is available only in page(-*).tpl.php file, while $vars['is_front'] is available in themename_preprocess_page($vars) function.
M.