[TYPO3-english] Generated Markup

Sergey Alexandrov serg at alexandrov.us
Thu Apr 7 15:47:04 CEST 2011


you can also try to adjust template settings:

lib.stdheader.stdWrap.dataWrap=|
lib.stdheader.10.1.fontTag=<h1class="csc-headercsc-header-n{cObj:parentRecordNumber}{register:headerStyle}{register:headerClass}">|</h1> 


First line removes DIV wrap, second adds class names from DIV to H1
Haven't tested this but should work w/o any core change

On 4/7/2011 7:45 AM, Dayle Rees wrote:
> Hi list,
>
> Is there a way of improving the generated markup by TYPO3, perhaps a 
> template for content elements. Have had a search but not found any 
> useful documentation on the topic.
>
> <div class="csc-header csc-header-n1">
> <h1 class="csc-firstHeader">test</h1>
> <br>
> <img src="clear.gif" width="1" height="5" border="0" 
> class="spacer-gif" alt="" title="">
> <br>
> </div>
>
> is a bit silly, so I would prefer something like..
>
> <h1 class="csc-header csc-header-n1 csc-firstHeader">test</h1>
>
> Thanks!
> Dayle.
>


More information about the TYPO3-english mailing list