Hello all,
I have a Lexikon Page which displays an alphabetically ordered List. Always when the title of a listItem is starting with a new letter, then the title should be highlighted.
So I wonder how to do that. I think I have to customize the controller of the LexikonPage and override the function that is responsible for returning the LexikonItems... and then customize the objects that are returned by setting an additional property (saying highlight or not).
Thats so far my template code:
<div id="lexikon-items">
<% loop LexikonItems %>
<h3>$Title</h3>
<p>$Description</p>
<% end_loop %>
</div>
that works so far and displays just the data as expected. But how do I have to customize the controller of LexikonPage?
I started now like this:
public function LexikonItems(){
}
But how do I access here the LexikonItems?
I use SS3. (A pure SS3 Forum could be nice... :))
Many thanks,
Florian