We are transitioning over to a new forum platform. Please post new issues there. Existing threads will be dealt with here unless you choose to move them over. Visit the new forum


Thread tagged as: Question

Navigation - drop down menus

I'm using the Navigation functionality and a 3rd party addon by flashdevelopment.comto format my menu so that it works on an ipad etc. However, it doesnt work completely (it needs the top level nav to be a # if there are subpages below it) and I wondered if anyone has a better idea for a 3rd party drop down menu that they have got working with the perch navigation functionality.



cow shed

cow shed 0 points

  • 5 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

Not a great option, but one thing you could do is test to see if there are subpages, and then change what you output:

<perch:if exists="subitems">
    <a href="#">
<perch:else />
    <a href="<perch:pages id="pagePath" />">

I say not a great option, as it leaves things a bit non-functional if the plugin fails for whatever reason.

I got this working using some menu code from http://www.dynamicdrive.com/ (thanks to Jamie and rotovista.co.uk)