[TYPO3-project-formidable] Lister and values

Izzie Greys izzie.greys at gmail.com
Fri Sep 11 14:10:21 CEST 2009


Hey Jerome!

It's good to see you :)
Thanks for your help. I tried what you said but there is no change. What's
this .substr() function? It's a function from formidable?
It's exactly what I want to do!! Can you said me more about this function
please? ^^

PS: I use 1.0.183 version.

Izzie

2009/9/11 JéŽrô™me Schneider <typo3dev at ameos.com>

> 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
> _______________________________________________
> TYPO3-project-formidable mailing list
> TYPO3-project-formidable at lists.netfielders.de
>
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-project-formidable
>


More information about the TYPO3-project-formidable mailing list