Portal Engine
Version 3.x > Portal Engine > Tab Menu for sub-pages only within this document View modes: 
User avatar
Member
Member
Paul - 1/29/2009 6:00:51 AM
   
Tab Menu for sub-pages only within this document
In the Tab Menu webpart, is there a way of setting the 'Content > Path' property to display only the sub items of the parent document which the visitor is in?

For example:
/% - will show all level 1 pages
/%/% will show all level 2 pages (across the whole site)
/documents/% - will show all level 2 pages within the documents folder

I need something that will show just 'the current' document's items, for example:
/{%parent_document%}/%

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 1/29/2009 7:25:56 AM
   
RE:Tab Menu for sub-pages only within this document
Hi,

I think you are looking for something like this: ./% - all documents under the current path

More information at http://www.kentico.com/docs/devguide/appendix_b___path_expressions.htm

Best Regards,
Juraj Ondrus

User avatar
Member
Member
yasser - 1/29/2009 8:25:21 AM
   
RE:Tab Menu for sub-pages only within this document
This worked perfectly, thanks.

Is there a document to explain how to apply a different style to the hyperlink that is currently being viewed?

Many thanks.
Paul.

User avatar
Kentico Developer
Kentico Developer
kentico_ondrejv - 1/30/2009 3:43:22 AM
   
RE:Tab Menu for sub-pages only within this document
Hi Paul,

please take a look at following CSS classes, which affect current item design:

TabControlSelectedLeft
TabControlSelected
TabControlLinkSelected
TabControlSelectedRight

You can edit their properties in your CSS stylesheet.

Best regards
Ondrej Vasil