[support] Testing for arg() OR is_front

Michel Morelli michel at ziobuddalabs.it
Mon Jul 12 00:51:02 UTC 2010


Chris McCreery ha scritto:
> Hi Michel I am testing for this in my page.tpl.php trying to display a 
> certain <div> when arg(1) doesn't equal 27 or 39.
Ok, for test at the top of page.tpl.php file write

echo $_GET['q'];

and see which is arg(1)

M.

-- 
Michel 'ZioBudda' Morelli                       michel at 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 at ziobuddalabs.it                   
						JABBER: michel at ziobuddalabs.it



More information about the support mailing list