Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Menu button link to non-CMS page

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

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

Page: 1
Go to End
Author Topic: 1313 Views
  • thrax
    Avatar
    Community Member
    32 Posts

    Menu button link to non-CMS page Link to this post

    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!

  • Fuzz10
    Avatar
    Community Member
    787 Posts

    Re: Menu button link to non-CMS page Link to this post

    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 ....

  • thrax
    Avatar
    Community Member
    32 Posts

    Re: Menu button link to non-CMS page Link to this post

    gracias hombre

    Oh so easy once someone points it out!

    1313 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.