Quick Nav:  Online Store   |   Login | Register

Vertical Side Nav - Active Parent Display

Rate this topic:

Please Register to post a reply. Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.
AuthorMessages
Shawn O'Connor
<20 Posts
Posts:12


09/07/2008 9:38 PM  

I have a horizontal navigation bar that is working fine.  I'd like to setup an additional vertical nav bar to the left of the page that displays the Active Parent tab and all subitems therein.  It seems I can display just the subitems for the active parent in the vertical navigation, but I can't figure out how to also show that active parent item at the top of the vertical navigation bar list.

Can this be done?  What am I missing?  Thanks.


Information Data Systems
www.idsconsulting.com

Web design services and hosting for dotnetnuke.
Shawn O'Connor
<20 Posts
Posts:12


09/08/2008 11:08 PM  

I think I've found a solution for my problem, but now I'm wondering if I've also found a bug with the program.

It looks to me like an acceptable workaround would be to use a template and call the "{Page.PageName}" attribute at the top of the list -- only that tag doesn't seem to work.  I've tried Page.Keywords, Page.Title, and Page.Url -- all these work; but not Page.PageName or Page.Parent.PageName.  What am I missing?

My thought was to write some conditional logic to emit the top level page name wherever you were in the page heirarchy.  I think what I've written below would basically do the trick.  Aside from Page.PageName not working do you see a problem with this approach? 

IIF({Page.Level}='0', {Page.PageName}, {Page.Parent.PageName})

Thanks for your time.

--Shawn


Information Data Systems
www.idsconsulting.com

Web design services and hosting for dotnetnuke.
John Mitchell
Posts:3478


09/09/2008 6:17 AM  
That should work, but it should be {Page.Name} or {Page.Parent.Name}
Shawn O'Connor
<20 Posts
Posts:12


09/09/2008 9:20 AM  
Ahh, you might want to update your documtation then. That is where the problem lies. Thanks for the quick response. By the way, what about the original questions? I came up with the workaround, but is there a better way that you recommend? Thanks.

Information Data Systems
www.idsconsulting.com

Web design services and hosting for dotnetnuke.
bkrabach
<20 Posts
Posts:7


09/24/2008 3:35 PM  

I'm trying to do the same thing - could you post the code you used for the control and the template?

Please Register to post a reply. Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.
Forums >Snapsis Product Support >CSS NavMenu > Vertical Side Nav - Active Parent Display



ActiveForums 3.7
Powered by: Snapsis Software