Task #48276

Work Package #48275: TypoScript consistency

Put site root node into Eel context

Added by Aske Ertmann about 2 years ago. Updated about 2 years ago.

Status:Resolved Start date:2013-05-16
Priority:Must have Due date:
Assigned To:Christian Müller % Done:

100%

Category:General / Project Spent time: -
Target version:1.0 beta 1

Description

In order to write queries from the root node we need the site node to be available in the Eel context

Example:
  • ${q(site).children('firstlevel')}

Associated revisions

Revision 4e05d17a
Added by Christian Müller about 2 years ago

[TASK] Put site root node into TypoScript context

The site root node is now available as "site" in the TypoScript
context. This allows to formulate Eel expressions starting from
the site to target first level pages.

To make testing of the TypoScriptView easier a small refactoring is done
to create the Runtime through the TypoScriptService.

Change-Id: I04512bb8d6d77fe8e3547010652a744790eaed2a
Resolves: #48276

History

#1 Updated by Christian Müller about 2 years ago

  • Subject changed from Put site root side into Eel context to Put site root node into Eel context

#2 Updated by Christian Müller about 2 years ago

  • Assigned To set to Christian Müller

#3 Updated by Gerrit Code Review about 2 years ago

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

#4 Updated by Christian Müller about 2 years ago

  • Status changed from New to Under Review

#5 Updated by Gerrit Code Review about 2 years ago

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

#6 Updated by Christian Müller about 2 years ago

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

Applied in changeset commit:4e05d17a668af2d3ec7c4769e7ea2216425ce51e.

Also available in: Atom PDF