[support] How to know the url of the page

Ivan Sergio Borgonovo mail at webthatworks.it
Wed May 26 20:34:23 UTC 2010


On Wed, 26 May 2010 22:23:01 +0200
Michel Morelli <michel at ziobuddalabs.it> wrote:

> Hi, I have a page with nid 1 (node/1) and alias set to "foo".
> 
> How can I get "foo" alias ? I need to get it for change the page 
> .tpl.php template file.
> I had thinked to get it via arg(0) function, but "node" is
> returned.

drupal_get_path_alias

-- 
Ivan Sergio Borgonovo
http://www.webthatworks.it



More information about the support mailing list