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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

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   1579 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!