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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo

Menu button link to non-CMS page


Go to End


3 Posts   1725 Views

Avatar
thrax

Community Member, 32 Posts

20 August 2008 at 10:19pm

Hi guys... I have my main menu setup in the SS CMS, however I want one of the buttons (forums) to link to a page/folder that is not part of the CMS.. how can I achieve this?

Thanks!

Avatar
Fuzz10

Community Member, 791 Posts

20 August 2008 at 10:31pm

Add a redirector page to silverstripe which does the redirecting bit ....

or

Find the code where it build the menu , it probably looks something like :

<% control Menu(1) %>
<li class="$LinkingMode"><a href="$Link">$Title</a></li>
<% end_control %>

And add your menu-link ....

Avatar
thrax

Community Member, 32 Posts

20 August 2008 at 10:42pm

gracias hombre :D

Oh so easy once someone points it out!