[themes] Themeing based on url alias path

Chris McCreery chris.mccreery at gmail.com
Sat Aug 28 01:56:01 UTC 2010


I am trying to do the following but having issues.

I would like to insert a specific div tag in my page.tpl.php when the url
alias contains yepp for example when www.domain.com/yepp or
www.domain.com/yepp/page1

If I try using arg(0) it just returns the internal system path "node".

Any help would be greatly appreciated.

Thank you

-- 
Chris McCreery
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/themes/attachments/20100827/f951d200/attachment.html 


More information about the themes mailing list