Quantcast
Channel: DevNet Questions
Viewing all articles
Browse latest Browse all 8832

Bootstrap 3.3.5 Navigation & Hierarchical Viewer

$
0
0
I am having success with replicating the Bootstrap nav menu within the admin but only to one level. My issue is that I will have sub folders within sections and want the items in the dropdowns to link to the home pages of that section. It works great now but it only goes to pages successfully and then the dropdown menu shows the “caret” and will not click through to the page selected in the menu.Here is my current transformation:@li {% if (NodeHasChildren) { return @class=\@dropdown\@@} #%}@ @a href=@{% GetNavigationUrl() %}@ {% if (NodeHasChildren) { return @class=\@dropdown-toggle\@@} #%} {% if (NodeHasChildren) { return @data-toggle=\@dropdown\@@} #%} {% if (NodeHasChildren) { return @role=\@button\@@} #%}@ {% HTMLEncode(DocumentName) %} {% if (NodeHasChildren) { @@span class=\@caret\@@@/span@@ } #%} @/a@ {% if (NodeHasChildren) { @@ul class=\@dropdown-menu\@@@ } #%} {% if (NodeHasChildren) { @@^SubLevelPlaceHolder^}@ } #%} {% if (NodeHasChildren) { @@/ul@@ } #%} @^SubLevelPlaceHolder^} @/li@ Any idea how I can write the grandchildren to not have the dropdown info on it?Thank you!

Viewing all articles
Browse latest Browse all 8832

Trending Articles