Feature #14630
closed
stdWrap that dynamically processes the content
Added by Michael Stucki over 19 years ago.
Updated almost 10 years ago.
Description
This is just a copy & paste from an interesting suggestion by Kasper on typo3-dev.
- michael
--- cut ---
Maybe it would be better to design a stdWrap property which will
dynamically process content. SOmething like:
stdWrap.proc = crop(listNum($$$VALUE$$$,0,"X"))
The "functions" will of course be a pre-defined list of functions we
implement. With a clever syntax it might even be fast (depends on how
quick the string can be parsed on the fly.
- kasper
--- cut ---
(issue imported from #M926)
can you explain this a little bit further (I'm missing the context)?
I would actually be very happy if stdWrap() would have a property .eval that is passed straight to the eval() function of PHP.
Of course one has to be very careful when using that, but if you know what you're doing, that would sometimes be incredibly handy...
cheers,
Ingmar
- Target version deleted (
0)
IMHO something similiar has been introduced with 4.5.0
We now got something like "chained" stdWrap so that you can combine the results of different functions to get a result for a single TS-object:
10 = TEXT
10.field = someField
10.field.override = anotherField
10.field.override.if.isTrue.field.data = GP:dynamicTriggerField
So do we still need this one?
- Description updated (diff)
- Status changed from New to Rejected
IMHO this is not needed anymore, as TypoScript with stdWrap everywhere and trim=1, replacement with regexp solves most of the cases needed.
Also available in: Atom
PDF