Project

General

Profile

Actions

Feature #14630

closed

stdWrap that dynamically processes the content

Added by Michael Stucki over 19 years ago. Updated almost 10 years ago.

Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2005-04-03
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

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)

Actions #1

Updated by Wolfgang Klinger almost 19 years ago

can you explain this a little bit further (I'm missing the context)?

Actions #2

Updated by Ingmar Schlecht almost 19 years ago

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

Actions #4

Updated by Jo Hasenau over 13 years ago

  • 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?

Actions #5

Updated by Benni Mack almost 10 years ago

  • 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.

Actions

Also available in: Atom PDF