[opencms-dev] Adding Navigation
Joe Desbonnet
jdesbonnet at gmail.com
Mon Jan 23 19:54:12 CET 2006
Are you developing your own template?
The following code generates a breadcrumb path:
<%
{
Iterator iter = navBuilder.getNavigationBreadCrumb().iterator();
iter.next();
out.write("<a href=\"" + cms.link("/") + "\">Home</a> ");
while (iter.hasNext()) {
CmsJspNavElement nav = (CmsJspNavElement)iter.next();
out.write(" > <a href=\"" + cms.link(nav.getResourceName()) +
"\">" + nav.getNavText() + "</a> ");
}
}
%>
An sitemap script is at this link:
http://cms.galway.net:8080/OpenCmsWiki/Wiki.jsp?page=Tips
Joe.
On 1/23/06, Colin Coolidge <colincoolidge at yahoo.com> wrote:
> Hi All,
>
> I'm trying to take advantage of the navigation in opencms 6...how do I add
> this to my left nav?
>
> ________________________________
> Yahoo! Autos. Looking for a sweet ride? Get pricing, reviews, & more on new
> and used cars.
>
>
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
>
>
More information about the opencms-dev
mailing list