Display a Page's Parent Page Name - Concrete5


/ Published in: PHP
Save to your folder(s)



Copy this code and paste it in your HTML
  1. <?php
  2. $page = Page::getByID($c->getCollectionParentID());
  3. print $page->getCollectionName();
  4. ?>

Report this snippet


Comments


You need to login to view comments.