Hi, I am trying to do a simple back nav button in the panel, if the page has any parent page.
But getting the panel url sems to be a tricky thing to get.
So the basic is:
- If page has parent page
- Get the parent page panel url
- Display the icon/button
HELP !!
Now I am doing som crazy stuff like :
<?php echo panel()->urls()->index() .DS. 'pages' .DS. $field->page()->parent()->uri() .DS. 'edit' ?>