[TYPO3] Another wraping style for the 2. Content Element

Eyüp Aydin eyupa at gmx.net
Wed Jul 5 14:03:26 CEST 2006


Hi lovely TYPO3-Community,
I want wrap my secondery and after that all content element with
another auto. stylehseet.

I want for the first another Style and for after the first, the 
secondary ce another style

I've used for this the Css-styled-content

My non auto. Solution was to use different headerlayouts, here my ts:

The Website:
http://area51.islam-verstehen.de/


tt_content.noANameTagForFirstRecord = 1
tt_content.text.20.parseFunc.nonTypoTagStdWrap.encapsLines >
tt_content.text.20.parseFunc.nonTypoTagStdWrap.encapsLines {
   encapsTagList = div,p
   removeWrapping = 1
   wrapNonWrappedLines = |<br />
}
lib.stdheader.stdWrap.dataWrap >


lib.stdheader.10.1.fontTag (
   <div class="fornbg"><div class="forl"><div class="forr">
        <div class="fortitel"><strong>|</strong></div>
   </div></div></div>
        <div class="n_border_left"><div class="n_border_right">
        <div class="n_border_leftpic"><div class="n_border_rightpic">
)

lib.stdheader.10.2.fontTag (
   <div class="fornbg"><div class="fornl"><div class="fornr">
        <div class="fortitel"><strong>|</strong></div>
   </div></div></div>
        <div class="n_border_left"><div class="n_border_right">
         <div class="n_border_leftpic"><div class="n_border_rightpic">
)



tt_content.text.20.wrap (
         <div class="tborder"><div class="alt1">|</div></div>
         </div></div></div></div>
             <div class="c_border_bottombg"> <div 
class="c_border_bottom_left">
                   <div class="c_border_bottom-right"></div>
                   </div></div>
<div style="padding-top:5px;"></div>
)

Now I want make this automacy, I mean, ts must wrap the first ce 
differnt and all after the first.

thank you

Eyüp A.



More information about the TYPO3-english mailing list