Get Parent Handle in a page list
Permalink
Hey
I know this is pretty easy for most but I have been trying to find the parent handle of a page list output.
I was using
But this outputs the parent of the page...
What I would like to do is simply output, within the page list, is the parent name of the list... I can display it as part of the list but I would like to style it differently.
Any help would be A-MAZING!!
Thanks
I know this is pretty easy for most but I have been trying to find the parent handle of a page list output.
I was using
<?php echo $page->getCollectionName() ?>
But this outputs the parent of the page...
What I would like to do is simply output, within the page list, is the parent name of the list... I can display it as part of the list but I would like to style it differently.
Any help would be A-MAZING!!
Thanks
I found a solution that works for me: