**FIXED ** Get Parent URL from Page List

Permalink
**FIXED**
With a few minor modifications:
http://www.concrete5.org/community/forums/customizing_c5/get-page-n...
As always, thank you Jordan Lev.

Hello!

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

NBardales