[Typo3-dev] The quest of optionSplit : a first approach
Michael Stucki
michael at typo3.org
Wed Nov 16 11:42:19 CET 2005
Hi Jean-Baptiste,
> Every month in the typo3.english list, someone asks for the famous
> question "How to use optionSplit when it's not a menu ?".
> The answer is quite simple : "no way for the moment".
>
> But sometimes, it could be very useful to have this option in order to
> alternate styles or color in a table built with rows returned by a
> CONTENT or RECORDS object.
I agree, that would be a nice feature.
> So i tried to find a solution for this high quest based on one simple
> rule : no Typo3 core hack.
Well, why not?
Your solution is nice but since the feature is well-requested, this would
make much sense to become a feature of the next version!
Can you try writing a core patch that does what you want?
> First of all, i need to count each line. Is it possible in typoscript ?
> => Yes, with an undocumented getText property : *cobj :
> parentRecordNumber*
It is! Check out the latest TSref.
Regards
- michael
--
Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/
More information about the TYPO3-dev
mailing list