[TYPO3] wrap a COA using 'optionSplit'?

Tapio Markula tapio.markula at dnainternet.net
Wed Apr 19 19:00:25 CEST 2006


JoH wrote:

>>>http://lists.netfielders.de/pipermail/typo3-dev/2005-November/013409.html

>>I tried
>>
>>lib.stdheader {
>>stdWrap.split.dataWrap = <div class="csc-header 
>>csc-header-n{cObj:parentRecordNumber}"> <table cellspacing="0" 
>>cellpadding="0" border="0" width="100%" 
>>style="margin:0"><tr><td><h1{register:headerStyle}{register:headerClass}>|</h1></td><td 
>>align="right" class="printLink"><a class="printLink" 
>>href="javascript:window.print()"><img 
>>src="fileadmin/template/main/kuvat_catella/printer.gif"></a></td></tr></table></div> 
>>|*| <div class="csc-header csc-header-n{cObj:parentRecordNumber}"> |</div> 
>>|*|<div class="csc-header csc-header-n{cObj:parentRecordNumber}"> |</div>
>>}
>>
>>
>>seems not to work

> Of course not since there is no split function, no token and nothing else 
> that would be necessary to use a split function here.
> And I really don't know, what you are going to acchieve by optionSplit in 
> this case.

the first header in a column should have special dataWrap (in fact only 
in colPos=0 but that would need extra conditions - some kind of 
CASE-structure)



More information about the TYPO3-english mailing list