I'm trying to find the right way of adjusting the topic title length displayed on the topic listing page generated by Advanced Forum (mysite.com/forum/[myforum]).
I tried to manipulate the title variable offered by the template-advanced-forum.naked.topic-list-view.tpl.php
and the corresponding theme function but it gives me formatted HTML like this:
<a href="/debatindlaeg/lorem-ipsum-lorem-ipsum-lorem-ipsum-lorem-ipsum-lorem-ipsum-lorem-ipsum-lorem-ipsum" title=" lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum "><span class="forum-topic-title">Lorem ipsum Lorem ipsum Lorem ipsum Lorem ipsum Lorem ipsum Lorem ipsum Lorem ipsum </span> </a> <br /> by <span class="username" xml:lang="" typeof="sioc:UserAccount" property="foaf:name">Anonym</span> » ons, 18/01/2012 - 17:05
My guess is that I need to go "further back" in the theming process somehow to get a hold of the title variable, but I must admit this is beyond my Drupal skills. Any suggestions?
I am using D7 and Advanced Forum (version 7.x-2.0-beta1).