Hello,
A brief description of why I need to modify SiteMap functionality: -------------------------------------------------------------- Assuming I have a site structure as such: -Home ---Level1 -----Level2 -------Level3 -------Level3 ---Level1 -----Level2 -------Level3 -------Level3 ---Level1 -----Level2 I have modified verticleNavigation.ftl file to apply an Accordion style navigation for my Left-Hand-Navigation. Therefore, clicking on any Level2 navigation item (non-leaf) with Level3s underneath would expand the navigation and display Level3 pages under it. And clicking on any Level2 navigation item (leaf) with no Level3 pages under it (e.g. last Level1 structure above) would simply take you to that Level2 page. Doing this, I do not have a need to have any content inside non-leaf Level2 pages. Hence these Level2 pages would always remain entirely empty. Due to this, I have also managed to unlink non-leaf items in Breadcrumb so these pages would not be clickable/accessed by public users (unless they manually type the page url). Then it was time to build my SiteMap. And sure enough, non-leaf pages (Level2) show up here with links (clickable and accessible by public users). I am trying to accomplish the same in SiteMap template as what I had done in breadcrumb template so that non-leaf Level2 pages would be unlinked (not clickable) in the SiteMap display. In verticalNavigation.ftl and breadcrumb.ftl files, I was able to use model.navigation object to read information such as "level" and "leaf" to pre-determine the level and if that level has children under it. But, this does not exactly work the same way in sitemap.ftl as I am not able to call model.navigation in this file. Any clues or suggestions from Magnolia users who can shed some light on this issue and help me figure it out? Really appreciate your time and input. -- View this message in context: http://old.nabble.com/SiteMap-Customization-tp30238958p30238958.html Sent from the Magnolia - User mailing list archive at Nabble.com. ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
