eZ Community » Forums » Developer » fetch node using the...
expandshrink

fetch node using the url_alias(virtual url)

fetch node using the url_alias(virtual url)

Thursday 12 June 2014 7:29:51 pm - 2 replies

i want to get the node using the url alias, in the node object, there is an attribute url_alis so i can extract the url alias of any node,can i do the reverse path? how can i determine the node displayed using the url ?

Modified on Thursday 12 June 2014 7:32:49 pm by safa mabrouk

Friday 13 June 2014 5:28:20 pm

In the legacy stack, I've had success in the past using:

eZURLAliasML::fetchNodeIDByPath()

and

eZURLAliasML::fetchByPath()

Wednesday 18 June 2014 4:24:36 pm

thanks happy.gif Emoticon

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from