Skip navigation
Currently Being Moderated

Building my first Left Navigation which API should I use??

Apr 22, 2012 10:30 AM

Tags: #navigation #cq5 #left_page

I am a newbie to CQ5 development, so I am just getting used to the CQ5 API's.

I have built many left navigation templates, using another CMS, where their were navigation api methods,that could tell me if a navigation link, was the current link, if it was an ancestor of the current page.

I have looked at the CQ5 Page and Node api's and cannot figure out which method or property will tell me if the page or node is the current page/node or an ancestor, I need to know this if I am going to build any type of Navigation that must indicate the current/ancestor link.


Does anyone have a sample left nav code they could share, tell me which API to use.


Thanks in advance..





More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points