A ha scritto:
Perhaps multiple calls to arg shifts..
How about this:
$a = arg(1); if(($a != 27) || ($a != 39) || !$is_front){ ?> <div>You won't see this on node/27, node/39 or the front page.</div> <?php } I think that you will see this div always :D For example: $_GET['q'] = 27 so arg(1) = 27 and $front is node/10
($a != 27) false OR ($a != 39) true OR (!$is_front) true so FALSE OR TRUE OR TRUE = TRUE In any case a nid is always != 27 OR !39 or != 10. Or am i wrong ? M. -- Michel 'ZioBudda' Morelli michel@ziobuddalabs.it Sviluppo applicazioni CMS DRUPAL e web dinamiche (LAMP+Ajax) Telefono: 0200619074 Telefono Cell: +39-3939890025 -- Fax: +39-0291390660 http://www.ziobudda.net ICQ: 58351764 http://www.ziobuddalabs.it Skype: zio_budda http://www.ziodrupal.net MSN: michel@ziobuddalabs.it JABBER: michel@ziobuddalabs.it