Hi,<br>I'm looking for a similar thing:<br>I want to see all 1st level navigation entries and the ones that are in the actual opened folder on the second level.<br>Using the getNavigationForFolder I can get the top level or all sublevel.
<br>But how can I get only the actual sublevel when inside?<br><br>And: how can I identify that I am on the index.html of a subfolder?<br>With navi.getResourceName().equals(filename)) I can verify it for other documents but that does not work for the
index.html.<br>Any ideas or best practices?<br><br>Thanks in advance!<br> Frank<br><br><br><br><div><span class="gmail_quote">On 1/19/06, <b class="gmail_sendername">Joe Desbonnet</b> <<a href="mailto:jdesbonnet@gmail.com">
jdesbonnet@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">You can make navigation any way you want with a few lines of script.
<br>Eg this will create<br>a bread crumb trail:<br><br><%<br>{<br> Iterator iter = navBuilder.getNavigationBreadCrumb().iterator();<br> iter.next();<br> out.write("<a href=\"" + cms.link
("/") + "\">Home</a> ");<br> while (iter.hasNext()) {<br> CmsJspNavElement nav = (CmsJspNavElement)iter.next();<br> out.write(" > <a href=\"" +
cms.link(nav.getResourceName()) +<br>"\">" + nav.getNavText() + "</a> ");<br> }<br>}<br>%><br><br>Also remember that you can style LI tags any way you want with CSS --<br>I've even seen UL/LI being used to create horizantal tabs.
<br><br><br>Joe.<br><br><br>On 1/18/06, Colin Coolidge <<a href="mailto:colincoolidge@yahoo.com">colincoolidge@yahoo.com</a>> wrote:<br>> I see that by default the left nav puts all the entries in <li> </li> tags.
<br>> Where can I change this?<br>><br>> looks like somewhere in here????: <%= cms.buildNavigationLeft() %><br>><br>> ________________________________<br>> Yahoo! Photos<br>> Got holiday prints? See all the ways to get quality prints in your hands
<br>> ASAP.<br>><br>><br>><br>> _______________________________________________<br>> This mail is sent to you from the opencms-dev mailing list<br>> To change your list options, or to unsubscribe from the list, please visit
<br>> <a href="http://lists.opencms.org/mailman/listinfo/opencms-dev">http://lists.opencms.org/mailman/listinfo/opencms-dev</a><br>><br>><br><br>_______________________________________________<br>This mail is sent to you from the opencms-dev mailing list
<br>To change your list options, or to unsubscribe from the list, please visit<br><a href="http://lists.opencms.org/mailman/listinfo/opencms-dev">http://lists.opencms.org/mailman/listinfo/opencms-dev</a><br></blockquote></div>
<br>