[TYPO3] is this design posable in typo3

Luc Franken typo3 at tentoday.com
Tue Apr 18 13:11:08 CEST 2006


Please do not crosspost a message twice thread-starter, (in both english 
and dev mailinglist).

I think the code under is ok but it is not very semantic which is quite 
important. Please read about it, for example here: 
http://www.simplebits.com/notebook/2003/09/28/about_the_talking_about_semantics.html

Livius Agrippa schreef:
> Hi Karl,
> 
> You can also use this typoscript in your template to wrap every content 
> with some additional information.
> 
> styles.content.get = CONTENT
> styles.content.get{
>     table = tt_content
>     select.orderBy = sorting
>     select.where = colPos=0
>     renderObj.20 = TEXT
>     renderObj.20.field = header
>     renderObj.21 = TEXT
>     renderObj.21.field = bodytext
>     renderObj.stdWrap.wrap (
> <div class="roundcontent"><div class="roundtop">
> <img src="fileadmin/template/gif/top_left_corner.gif" alt="" width="16" 
> height="16" class="corner" style="display: none" />
> </div>|<div class="roundbottom">
> <img src="fileadmin/template/gif/bottom_left_corner.gif" alt="" 
> width="16" height="16" class="corner" style="display: none" />
> </div></div>
> )
>      wrap = <div id="content"> | </div>
> 
> }
> 
> after this you can attach in your template:
> page.10 = CONTENT
> page.10 < styles.content.get
> 
> or if you use automaketemplate:
> subparts.content < styles.content.get
> 
> You can see this typoscript at work here:
> www.eurocablelabs.com
> 
> I have used to render the corner this method:
> http://kalsey.com/2003/07/rounded_corners_in_css/
> 
> If your content is composed only from news items you can use the method 
> described by Luc. In news template you can wrap the news item with 
> desired divs or tr, td tags.
> 
> regards,
> 
> Livius
> 



More information about the TYPO3-english mailing list