Mango



Thread: Top level navigation

Created on: 08/07/09 11:14 AM

New topic Reply    Page: 1  

Replies: 1
sdaddamio


sdaddamio's Gravatar
Joined: 08/07/09
Posts: 1

08/07/09 11:14 AM

Hello, I'm fairly new to Mango so please forgive me if this topic has already been covered.

My question is about having a main navigation bar that is consistent across all sections of the site. The Pages tag works as I'd like on the home page but when I go to a static page (created through the Pages module in the admin) the links don't show with the default code. Is there a way to set parentPage to the home page so what works on the index works everywhere?

On previous implementations I've resorted to hard coding the top level nav after I wasn't able to find what I was looking for in the forums or documentation. Any suggestions are greatly appreciated!

Thanks,
Sean
Link | Top | Bottom
Laura

Wizard
Laura's Gravatar
Joined: 01/29/05
Posts: 1521

08/08/09 12:58 PM

When you are inside a Page, but you want to show the top level pages, you need to specify:
<mango:Pages parentPage="">
..your navigation code
</mango:Pages>
Link | Top | Bottom

New Post

Please login to post a response.