Closed (fixed)
Project:
Pathauto
Version:
6.x-1.2
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
19 Nov 2009 at 12:07 UTC
Updated:
3 Dec 2009 at 16:40 UTC
Hi,
is there a function that returns the url alias for any node id? So let's say something that way:
$nodealias = return_alias($node->nid);
I'd like to use this for theming issues.
Regards,
Raphael
Comments
Comment #1
gregglesYour answer is in the README.txt file ;)
Comment #2
pheraph commentedHow embarassing... I had a look at the module code, searched the issues here, but didn't have a look at the readme.
For future references, the function is: url("node/$node->nid")
Comment #3
gregglesNo problem, I'm glad it's working for you.