Forums / Setup & design / Table id, <thead>, <tbody> in online editor

Table id, <thead>, <tbody> in online editor

Author Message

Andreas Kaiser

Tuesday 04 November 2008 4:55:44 am

I need that the tables in onlineeditor are created like the following way:

<table id="myTable"> 
<thead> 
<tr> 
    <th>Last Name</th> 
    <th>First Name</th> 
    <th>Email</th> 
    <th>Due</th> 
    <th>Web Site</th> 
</tr> 
</thead> 
<tbody> 
<tr> 
    <td>Smith</td> 
    <td>John</td> 
    <td>jsmith@gmail.com</td> 
    <td>$50.00</td> 
    <td>http://www.jsmith.com</td> 
</tr> 
<tr> 
    <td>Bach</td> 
    <td>Frank</td> 
    <td>fbach@yahoo.com</td> 
    <td>$50.00</td> 
    <td>http://www.frank.com</td> 
</tr> 
<tr> 
    <td>Doe</td> 
    <td>Jason</td> 
    <td>jdoe@hotmail.com</td> 
    <td>$100.00</td> 
    <td>http://www.jdoe.com</td> 
</tr> 
<tr> 
    <td>Conway</td> 
    <td>Tim</td> 
    <td>tconway@earthlink.net</td> 
    <td>$50.00</td> 
    <td>http://www.timconway.com</td> 
</tr> 
</tbody> 
</table> 

I don't think this can be made with CustomAttributes for table... should I override table.tpl, but then how can _i define <thead> / </tbody> in the online editor...

By the way I'm using new Online Editor 5 (RC6)...

Is this possible, any ideas...

eZ Partner in Madrid (Spain)
Web: http://www.atela.net/

R Doll

Thursday 24 June 2010 8:15:39 am

How to add support for <thead></thead> ?
Have added a thead.tpl and [thead] to content.ini but still eZoe says <thead> is not supported.