[TYPO3-project-formidable] Lister and values
Jérôme Schneider
typo3dev at ameos.com
Fri Sep 11 10:48:26 CEST 2009
Hi Izzie ! Long time no see !
You may try {category.value.substr(9)}
Hope you're fine.
Regards,
Jerome
Izzie Greys a écrit :
> Hello everybody,
>
> I would like to know if what I want to do is possible or not :-)
>
> I use a lister. In the header I have things like {category.label},
> {title.label}.... Next, In the first row there are {category.value},
> {title.value}...etc. But sometimes this values are too long for my table. I
> would like to have somethings like :
> <td><span title="{category.value}">{category.shortvalue}</span></td>
> For example :
> category.value = "abcdefghijklmnopqrstuvwxyz"
> category.shortvalue = "abcdefghi..."
> The shortvalue is the value cut at X characters.
> You know?
>
> So I would like to add a .shortvalue data. How can I do that? I tried to
> look in the class.rdt_lister.php but I can't figure how to do this.
> Some help would be great.
>
> Thanks ^^
>
> See you!
>
> Izzie
More information about the TYPO3-project-formidable
mailing list