Rename Page Type Error

Permalink
I added a page type to my theme with a rather long name.

I assigned the design to 4 pages.

** I then renamed the page type.

After renaming the page type, I can no longer see ANY of the pages in a page-list block!

I have tried to:
- add the page type as a new name and re-apply the design.

- apply a different design to the 4 pages

- move the pages into a new category, and move them back.

I cannot get these pages to show up in a page list block.

Please help.

hugostiglitz
 
hugostiglitz replied on at Permalink Best Answer Reply
hugostiglitz
I found a work around if anyone else runs into this problem.

I've added the page list block – actually I opted for the 'auto nav' block – directly into the template instead of adding it through the GUI.

<?php
$bt = BlockType::getByHandle('autonav');
$bt->controller->displayPages = 'current';
$bt->controller->orderBy = 'display_asc';
$bt->render('view');
?>