[TYPO3-english] Add ID to body tag depends on DB value

Philipp Gampe typo3.lists at philippgampe.info
Fri Mar 16 00:08:26 CET 2012


Hi Stefano Kowalke,

Stefano Kowalke wrote:

> Am 15.03.12 17:35, schrieb Philipp Gampe:
>>> temp.category = CONTENT
>>> > temp.category {
>>> >   table = tx_cagrelatedcontent_category
>>> >   select {
>>> >     selectFields = tx_cagrelatedcontent_category.uid
>>> >     join = pages_tx_cagrelatedcontent_category_mm
>>> >     where = tx_cagrelatedcontent_category.uid =
>>> > pages_tx_cagrelatedcontent_category_mm.uid_foreign
>>> >     andWhere = pages_tx_cagrelatedcontent_category_mm.uid_local =
>>> >     {page:uid} andWhere.insertData = 1
>>> >   }
>>> > 
>>> >   renderObj = COA
>>> >   renderObj {
>>> >     10 = TEXT
>>> >     10 {
>>> >       required = 1
>> Try dataWrap = debug:data here.
> 
> 
> Ok tried this (with page.config.debug = 1). But nothing happend. Should
> I see an output?

Sorry, this should have been data = debug:data

This gives you the complete SQL result with all fields and rows from the 
result.
This is a not so well documented, but very handy value for any getText 
property in TypoScript.

Best regards
-- 
Philipp Gampe – PGP-Key 0AD96065 – TYPO3 UG Bonn/Köln – linkvalidator



More information about the TYPO3-english mailing list