Jump to:

17452 Posts in 4473 Topics by 1971 members


SilverStripe Forums » Archive » Single Menu-Point

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: 767 Views
  • jbk
    Community Member
    11 Posts

    Single Menu-Point Link to this post

    i´ve got a new question. I´m sry! ;) I want to create a Link to a static Article. I don´t what to show the whole navigation. I only whats to show one Point.

    Now my question is, how i can build this single menu link? I need a small Code like this :
    <?php getLink(2); ?>

    The 2 is the ID of my Article. Does anybody can help ;)

  • Fuzz10
    Community Member
    787 Posts

    Re: Single Menu-Point Link to this post

    In a template , you can use :

    <% control Page(URL) %>$Link<% end_control %>

    See the following doc page for more info :

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.