Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Template Questions /

changing links from /some-page/ to [sitetree_link id=340]


Reply


365 Views

Avatar
webmmsd

Community Member, 10 Posts

7 March 2012 at 7:55am

Hello,

If I have links(within the site) on a page called out as href="/sailing-adventures/" but I want to change them all to sitetree links like this href="[sitetree_link id=340]"

Is there a fast way for me to figure out what the appropriate sitetree link is for each page short of having to do it manually thru the editor>insert link>Link menu>page on this site>and so on?

Or would a better question be, how does silverstripe determine the sitetree link for each page, and can I view this sitetree with all the link names?

Thank you,
Alex

Attached Files