[Typo3] autotemplate nested subparts

tapio tapio.markula at dnainternet.net
Wed Aug 31 14:07:26 CEST 2005


boxster wrote:
> Hi list
> 
> i've made a template with 'nested' subparts which has to be replaced by the autotemplate plugin.
> 
> it looks like this simple one:
> ...
> <td id="subpartA">
>   some content to be replaced
>   <table>
>     <tr>
>       <td id="subpartB">
>       </td>
>     </tr>
>   </table>
> </td>
> ....
> 
> consequently the plugin replaces my subpartA and will NOT replace subpartB - just because it's gone/replaced by the content for subpartA.
> 
> is there any possibiltiy to work this out?!

AFAIK not - just because of reasons you have self found.
Autotemplate plugin replaces the first matching value.
Note that if you have defined  td.all=1
also class attributes cause replacements, in this case
<td class="subpartA">



More information about the TYPO3-english mailing list