[TYPO3-ttnews] news single view display Introduction Package T3 V6.0

Philipp Gampe philipp.gampe at typo3.org
Sun Feb 24 15:55:24 CET 2013


Hi Stefan,

Stefan Kaufmann wrote:

> What is the advantage of it? Why not including it the normal way with
> lib.content < styles.content.get

styles.content.get is a default definition of the CONTENT cObject. What is 
does is to render some existing! content element.

USER on the other hand, outputs the return value of a PHP function.
In this case you do not need a content object.

The CONTENT cObject takes its rendering definition from the tt_content part 
of the TypoScript. If you open tt_content.list.20, then you will see that 
the definition of the news plugin is indeed a USER object.

If you use CONTENT, then you can configure the plugin via the page module. 
If you use USER, then you have to set everything with TypoScript.

Best regards
-- 
Philipp Gampe – PGP-Key 0AD96065 – TYPO3 UG Bonn/Köln
Documentation – linkvalidator
TYPO3 .... inspiring people to share!



More information about the TYPO3-project-tt-news mailing list