Hi there.
Say i have a content placeholder
<div class="dwcontent" title="Slide" id="slider" settings="template:slide.cshtml"></div>
How would i get the current loop index in the template file specified in the "settings" attribute - so that i can add "active" class to the first element (vice versa) - when theres no foreach or direct iteration in the template file
<div class="item">
<img src="@GetValue("Item.Billede")" />
<div class="carousel-desc">
@GetValue("Item.Tekst")
</div>
</div>