Created
October 29, 2013 12:03
-
-
Save dfeyer/7213412 to your computer and use it in GitHub Desktop.
TYPO3 Neos Document Teaser TS Object This TS object can be used to extract a teaser from a given page
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is an example how to use the object in your TypoScript2 template | |
include: DocumentTeaser.ts2 | |
customerTeaser = Ttree.OfficialWebsite:DocumentTeaser { | |
documentNode = ${q(node).parents('[instanceof TYPO3.Neos:Page]').get(0)} | |
maximumCharacters = 240 | |
@process.1 = ${'<b>' + value + '</b>'} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment