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
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.