[TYPO3-english] Templa Voila reuse content elements

Dmitry Dulepov dmitry at typo3.org
Mon Feb 23 08:54:13 CET 2009


Andrew Plank wrote:
> Use "lib" objects. When mapping a TV field, use the "TyposScript Object
> Path" editing type, and set the object path to something like
> "lib.loginBox" Then you set up a lib object template in TS that "points"
> to a distinct content element thusly:
> lib.loginBox = RECORDS
> lib.loginBox.tables = tt_content
> lib.loginBox.source = 125
> lib.loginBox.dontCheckPid = 1

It can be easier to do it complete with TS:

lib.loginBox < plugin.tx_felogin_pi1

or something like that. There will be no need to have an entry in the content element.

Dmitry Dulepov
TYPO3 core team
"Sometimes they go bad. No one knows why" (Cameron, TSCC, "Dungeons&Dragons")

More information about the TYPO3-english mailing list