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

<?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

dancer
 
dancer replied on at Permalink Reply
dancer
Hey,

I found a solution that works for me:

$page->getCollectionTypeHandle();