Forum

Thread tagged as: Question, Problem, Configuration

Pages listed with perch_pages_navigation() aren't updating

I have a block of code that spits out a list of pages based on the users location:

<?php
perch_pages_navigation(array(
  'hide-extensions' => true,
  'include-parent' => true,
  'levels' => 2,
  'include-hidden' => true,
  'from-path'=> '/businesscommercial/businessbanking/treasury/',
  'template' => array('interior.html', 'basic-item.html')
));
?>

The list is incorrect, showing pages/files I've removed and new pages/files don't show up.

David Powell

David Powell 0 points

  • 3 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

Have you eliminated caching as a cause?

It was a file structure issue on my side.