Posted By SnapsisHost on 04/03/2008 7:35 AM If you disable the link in the settings of the page then most types of the menu will render it disabled.
If you are using a template type, then you can use the Page.DisableLink in an IF statement to decide if a link should be created or not.
[Level0-Anchor[ IF ({Page.DisableLink}='True',< span, < a href="{Page.Url}" title="{Tab.Title}" ) >{Tab.Name} IF ({Page.DisableLink}='True',< /span>,< /a>) ]] Ive tried using this code in my page but it does not work. All it does is display this "IF ({Page.DisableLink}='True',< span, < a href="{Page.Url}" title="{Tab.Title}" ) >{Tab.Name} IF ({Page.DisableLink}='True',< /span>,< /a>" If i try this even to test the code it wont work [Level0-Anchor[ IF ({Page.DisableLink}='True',Disabled, enabled)]] which should display enabled or disabled depending, but it displayes this "disabled, enabled" for every link. can you take a look at this to see if it is correct please |