17488 Posts in 4473 Topics by 1978 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 657 Views |
-
Single Menu-Point

10 September 2008 at 2:42am
Hi,
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 ;)
-
Re: Single Menu-Point

10 September 2008 at 3:57am
In a template , you can use :
<% control Page(URL) %>$Link<% end_control %>
See the following doc page for more info :
http://doc.silverstripe.com/doku.php?id=built-in-page-controls&s=page%20controls
| 657 Views | ||
|
Page:
1
|
Go to Top |


