[opencms-dev] Navigation Issues

Jonathan Woods jonathan.woods at scintillance.com
Fri Jun 16 16:49:14 CEST 2006


You don't say how you're planning to deliver the navigation.  Assuming
you're writing your own code, you just need to check before rendering a link
(or the page name without a link) that it corresponds to a resource directly
in the folder of the current resource.
 
There are lots of methods in CmsResource and CmsJspActionElement which
should help with this, if you're writing scriplet code; these are probably
also reflected in the tag lib too.
 
Jon

  _____  

From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Colin Coolidge
Sent: 16 June 2006 15:42
To: opencms-dev at opencms.org
Subject: [opencms-dev] Navigation Issues


Hi,
 
I've been migrating a website over from 5 to 6 and want to use the
navigation features in 6. I have something setup like this:
 
main_site_directory/index.html
main_site_directory/page.html
main_site_directory/page2.html
main_site_directory/category/index.html
main_site_directory/category/subcategory/index.html
 
My problem is when I'm in each tier, I want only those page of the current
tier to show up in the left nav. For instance, the left nav for the
main_site_directory/index.html page should have just:
 
main_site_directory/index.html (not a link)
main_site_directory/page.html (link)
main_site_directory/page2.html (link)
 
listed in the left nav... 
 
 
 
 
thanks


  _____  

Yahoo!
<http://us.rd.yahoo.com/mail_us/taglines/postman3/*http://us.rd.yahoo.com/ev
t=39666/*http://messenger.yahoo.com> Messenger with Voice. PC-to-Phone calls
for ridiculously low rates.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20060616/012c20c3/attachment.htm>


More information about the opencms-dev mailing list