Forum

Thread tagged as: Problem

navigation

Navigation stopped working as soon as we moved content into new pages in perch.

tafcs.net

Stacey Plant

Stacey Plant 0 points

  • 6 years ago

actually, I believe it did work after we moved content. I don't know why the links are gone. The perch tags and array are there. The only thing I have been doing is troubleshooting IE v10 for flexbox. .

Hi Stacey,

Looking at the source code of your homepage it shows:

<perch:repeater id="nav-links" label="Nav">

That shouldn't appear in the rendered HTML output.

Have you got the perch:repeater tag on your php page, or in a content template?

Thank you for your help. I have been traveling today and just now able to reply. The perch:repeater tag is inside the global.nav-column.php page inside the layouts folder of the templates folder. The new-page.php inside the pages folder of the templates folder includes the file like this:


<?php perch_layout('global.nav-column'); ?>
Rachel Andrew

Rachel Andrew 394 points
Perch Support

Template tags have to go into templates, PHP tags into PHP pages. If you have template tags in a page then that won't work.

Ha! Of course. Moving to fast to catch that. Thank you.