3212 Posts in 847 Topics by 809 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 261 Views |
-
How i can get a Link to Another SiteTree page in my Template

15 December 2011 at 9:33am
Hello
I guess this is a very noob question, I was looking in the forums but I don't get any answer or approach, basically one of my pages has many links to another sections, is like my home has links to News, Pictures, there is a someway in template to get the Sitetree link for a specific page?
I tried:<% control Page(SomePage) %>$Title
<a href="$Link.Link">All News</a>
<% end_control %>But nothings, maybe I'm just tired and need to rest to find the magic word, there is a buil-in funct for this?
Thanks in advance
-
Re: How i can get a Link to Another SiteTree page in my Template

17 December 2011 at 5:15am
If I got you right, you just need to use $Link instead of $Link.Link
greets
| 261 Views | ||
|
Page:
1
|
Go to Top |


