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

greggles’s picture

Status: Active » Fixed

Your answer is in the README.txt file ;)

pheraph’s picture

How 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")

greggles’s picture

No problem, I'm glad it's working for you.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.