[TYPO3-templavoila] Adding rulers between Content Elements - TV 1.3.1

Jacob Rasmussen - Concare IT jr at concare.net
Thu Jun 14 08:24:47 CEST 2007


Hi again,

If anyone else needs a solution, this worked for me:
<TypoScript><![CDATA[
10 = COA
10 {
   10= RECORDS
   10.source.current=1
   10.tables = tt_content
   10.conf.tt_content.stdWrap.outerWrap = |###SPLITTER###
   stdWrap.split {
     token = ###SPLITTER###
     cObjNum = |*||*| 1 || 2 || 3
     1.current = 1
     1.wrap = | <div class="contentSpacer">&nbsp;</div>
     2.current = 1
     3.current = 1
   }

   wrap = <!--TYPO3SEARCH_begin--> | <!--TYPO3SEARCH_end-->
}
]]></TypoScript>

The only thing that seems strange is that I had to add an extra || in 
the optionSplit, as the splitfunction made 4 splits on a page with 3 CE

Rgds

Jacob Rasmussen


More information about the TYPO3-project-templavoila mailing list