Task #52433

Work Package #48275: TypoScript consistency

allow "this" in all TypoScript objects to reference other properties

Added by Sebastian Kurfuerst almost 2 years ago. Updated almost 2 years ago.

Status:Resolved Start date:2013-10-01
Priority:Should have Due date:
Assigned To:Sebastian Kurfuerst % Done:

100%

Category:- Spent time: -
Target version:-

Description

If a user writes complex Eel expressions, it might make sense to use
intermediate variables for that. With this change, the following
syntax is possible:

myContent = MyTypoScriptObject {
  other = ${5*2}
  myProperty = ${'some complex expression: ' + this.other}
}
# myProperty now contains "some complex expression: 10" 

This is implemented for all TypoScript objects.

Associated revisions

Revision d3648e38
Added by Sebastian Kurfuerst almost 2 years ago

[FEATURE] allow "this" in all TypoScript objects to reference other properties

If a user writes complex Eel expressions, it might make sense to use
intermediate variables for that. With this change, the following
syntax is possible:

myContent = MyTypoScriptObject {
other = ${5*2}
myProperty = ${'some complex expression: ' + this.other}
}

This is implemented for all TypoScript objects.

Change-Id: I244cff117811f911f4a602dde9743234f8f6d147
Resolves: #52433
Reviewed-on: https://review.typo3.org/24219
Tested-by: Mr. Hudson
Reviewed-by: Sebastian Kurfuerst
Tested-by: Sebastian Kurfuerst

Revision d984ef8d
Added by Dominique Feyer almost 2 years ago

[BUGFIX] adjust "Plugin" TypoScript object to "this" changes

Change-Id: Id4cc05ba3bcd548c916bc1dd194aadad6ab0a101
Related: #52433
Reviewed-on: https://review.typo3.org/24226
Reviewed-by: Sebastian Kurfuerst
Tested-by: Sebastian Kurfuerst

History

#1 Updated by Gerrit Code Review almost 2 years ago

Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/24219

#2 Updated by Gerrit Code Review almost 2 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/24219

#3 Updated by Gerrit Code Review almost 2 years ago

Patch set 3 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/24219

#4 Updated by Gerrit Code Review almost 2 years ago

Patch set 4 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/24219

#5 Updated by Sebastian Kurfuerst almost 2 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

Applied in changeset commit:d3648e3876f894860b5969047abfdef53f578425.

Also available in: Atom PDF