[support] Testing for arg() OR is_front
Chris McCreery
chris.mccreery at gmail.com
Mon Jul 12 00:10:22 UTC 2010
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.
Here is what I have:
<?php if (arg(1) != "27") || (!$is_front): ?>
I also tried this as well but to no avail.
<?php if (arg(1) != "27" || arg(1) != "27"): ?>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20100711/1489074f/attachment.html
More information about the support
mailing list