[TYPO3-templavoila] different typoscript/wrap for different coloumns

Martin Ficzel martin.ficzel at gmx.de
Fri Jun 16 12:31:30 CEST 2006


Tobias Grønlund schrieb:
> Hi,
> 
> Im having a little problem. I have a TV page mapped with two coloumns.
> 
> I want to have different wrapping (and TS in general) for the CE's in
> these two coloumns. How is this possible? I can't quite find the
> documentation, if there is any on the subject...
> 
> Thanks in advance...

use the typoscript section in the datastructure for that

>             <content_left type="array">
>                 <tx_templavoila type="array">
>                     <title>Inhaltsbereich links</title>
>                     <sample_data type="array">
>                         <numIndex index="0">Inhaltsbereich links</numIndex>
>                     </sample_data>
>                     <eType>ce</eType>
>                     <TypoScript><![CDATA[
> 	10= RECORDS
> 	10.source.current=1
> 	10.tables = tt_content
> 	10.wrap= <div class="foo">|</div>
>
>                      ]]></TypoScript>
>                     <oldStyleColumnNumber type="integer">0</oldStyleColumnNumber>
>                 </tx_templavoila>
>                 <TCEforms type="array">

....
>                 </TCEforms>
>             </content_left>

aditionall you can use the LOAD_REGISTER ... >>> .... RESTORE_REGISTER
to change TS-Setting inside a content field if you want to change more
than a wrap

>                     <TypoScript><![CDATA[
> 
> 	5 = LOAD_REGISTER
> 	5.maxImageWidth = 394
> 
> 	10= RECORDS
> 	10.source.current=1
> 	10.tables = tt_content
> 
> 	15 = RESTORE_REGISTER
> 	
> 	20 =< lib.artec.menu.level
> 
>                     ]]></TypoScript>


in the ts-record is a seeting

> tt_content.image.20.maxW.override.data = register:maxImageWidth 

wich uses the changes

regards Martin



More information about the TYPO3-project-templavoila mailing list