[support] How to know the url of the page

Michel Morelli michel at ziobuddalabs.it
Wed May 26 20:53:37 UTC 2010


Ivan Sergio Borgonovo ha scritto:
> 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
>   
Thanks...

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20100526/23c9be77/attachment.html 


More information about the support mailing list