How to get parent url?
it's probably something very easy, but I can't find it.
How can I get url to parent page?
I want to put this code to theme, so on all pages (except home page only, of course) there will be link "up" to parent page.
Think this one can do it for you.
<?php $page=Page::getByID($c->getCollectionParentID()); $nh = Loader::helper('navigation'); $URL = $nh->getCollectionURL($page); echo $URL; ?>