[TYPO3-templavoila] Map tt_news fields in parent FCE / Content Elements container?

michiel zoer michielzoer at vlijmscherp.biz
Thu Apr 26 15:19:27 CEST 2007


Thanks!

tried your code; no direct succes (tried it with hardcoded news Uid)
I'll try to figure this out.

Michiel Zoer

"Dmitry Dulepov" <9f4eetb02 at sneakemail.com> wrote in message 
news:mailman.1.1177592361.10988.typo3-project-templavoila at lists.netfielders.de...
> michiel zoer wrote:
>> hi,
>>
>> explanation is clear; problem is i don't now how to do it.
>> I get as far as rendering the tt_news record ID, but not the field values 
>> stored inside the record.
>
> Quite easy. You need annd something like this to <TypoScript> of the DS 
> field:
>
> 10 = CONTENT
> 10 {
> select {
> where = 1=1
> andWhere.dataWrap = uid={field_myDsFieldWithNewsUid}
> }
> table = tt_news
> renderObj = TEXT
> renderObj.field = bodytext
> }
>
> I did not check this myself but even if it does not work, it should be 
> easy to fix :)
>
> Notice that neither "uidInList", nor "where" can be used in "select" 
> because they are not stdWrap.
>
> -- 
> Dmitry Dulepov
>
> Web: http://typo3bloke.net/
> Skype: callto:liels_bugs
>
> "It is our choices, that show what we truly are,
> far more than our abilities." (A.P.W.B.D.) 




More information about the TYPO3-project-templavoila mailing list