I am new in sdl tridion.and I am creating a web site on sdl tridion and i create a navigation menu.and I have anchor tag in this menu .How i give the page path on the anchor tag property href.

  • how are you generating the navigation menu? please explain so that you can get a good answer. If are using a XML(published from Tridion) to generate it, you can include the published path of the page to the XML same way as page titles. Mar 6 '14 at 13:20
  • code samples, +1. The Tridion 'Linking API' uses the Page (or Component) URI to find the page. Advantage is that no 404s (returns empty string if not found).
    – robrtc
    Mar 6 '14 at 13:36
  • I really cannot make anything from this question, can you please edit the question and try to explain what your issue is? You do not have to indicate that you are new to SDL Tridion (that much is already obvious), but you do need to mention information like where are you trying to generate these links, is it in a Page Template, or is it perhaps on the website itself? Also do mention what language you are using (like DWT or Razor for a Template or ASP.NET or JSP for the website). Right now you tagged your question with both Content Delivery and Templating, that is rather distracting. Mar 6 '14 at 15:00

You may want to look at the documentation for the <tridion:PageLink> control (or JSP tag) on SDL LiveContent (login required).

Since you don't give much more details about how you're generating the links, and whether this is code that runs on CM at publish time or CD at render time, I can't expand much more than this...


If you are creating a navigation menu you have multiple options and you have to decide one based on your requirement (eg. structure group, taxonomy based). You can check thislink

The link describes how you can create navigation for your website but for both the approaches you will have to write a c# TBB to push link in your sitemap. sample TBB which you can use can be downloaded from here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.