5450 Posts in 1672 Topics by 1197 members
|Go to End|
14 February 2011 at 6:33am
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?
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...
|Go to Top|