5102 Posts in 1520 Topics by 1116 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 504 Views |
-
Get Active Content ID

14 February 2011 at 6:33am
Hello Community,
i am pretty new to silverstripe but googling didn't helped me to solve this problem.
I want to catch the ID of the clicked content (Database ID) in the .ss File (Article.ss).
$Title etc. is defined in the Controller and catchable.
Is there a easy way to do the same with the Content ID?Thanks !!!
Greets
-
Re: Get Active Content ID

14 February 2011 at 6:48am
I found that a little hard to follow... but if you want the Id of the page you are viewing, or the data you are itrating over in a <% control %> you can simply put $ID in the ss template and it will be shown...
| 504 Views | ||
|
Page:
1
|
Go to Top |


