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.

Archive /

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

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

Menu button link to non-CMS page


Reply


3 Posts   1344 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, 787 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!