**FIXED ** Get Parent URL from Page List

With a few minor modifications:
As always, thank you Jordan Lev.


I've been working on some custom templates for the page list, right now I need to get the parent url of a page included in page list.

I found the code to get the parent page name:
$parent = Page::getByID($this->controller->cParentID);

not sure if that works on C5 v5.2.1, though.

Is there a way to get the Parent URL, if so, what is it?

Thanks in advance! =D

View Replies: