[TYPO3] tt_news and TS

Mauro Lorenzutti mauro.lorenzutti at webformat.com
Mon Nov 27 12:47:54 CET 2006


Hi Andrea,

> Mauro Lorenzutti wrote:
>> Hi Andrea,
>> 
>> Try to change your COA with:
>> 
>> content = COA
>> content {
>>          ... some other content here ...
>>        20 < temp.NEWS
>>        20.wrap = <div id="news_div"> | </div>
>> }
>> marks.CONTENT < content
>> 
>> Regards,
>>  Mauro Lorenzutti


> Grazie mille Mauro,
> that solved the problem. Now would you please be also so kind to explain
> me why?? :D :D

With the "<" operator you can copy one "object" into another one. The
following code:
20.TEXT
20.value < temp.NEWS

produces the following output:
USER

this is because the temp.NEWS "object" is defined as follows:

temp.NEWS = USER
temp.NEWS.something = something else
...

So you were copying the value 'USER' in a TEXT "object".

I hope this is clear :-)

Ciao,
 Mauro Lorenzutti


e-mail:  mauro.lorenzutti at webformat.com

---------------------------------------------------------
WEBFORMAT srl | Corte Europa, 12 | I-33097 SPILIMBERGO PN
     Tel +39-0427-926.389  --  Fax +39-0427-927.653
       info at webformat.com  --  www.webformat.com
---------------------------------------------------------




More information about the TYPO3-english mailing list