i found that sometimes, I need some extra information added at the end of a block, but then i would have to add that extra tag just to get it there......
the solution is this:
it has worked for me, and it gave me that extra flexibility I needed...
It also allows you to nest the blocks without having to extend it
so, bye bye to that extend thing :P
ex:
say you are blocking the table tag, but you want a white space between each table, but dont want to add an extra table row to do so, it would be excess code slowing down your page little by little.......
do this:
<mainblock>
<table>
<tr><td>
[main.name;block=mainblock]
</td></tr>
<tr><td>
[main.email]
</td></tr>
<tr><td>
[main.url]
</td></tr>
</table>
<br>
<br>
</mainblock>
|
Skrol, you should think about adding this to the documentation, adds a whole new lvl of flexibility to the coding, jsut for that extra stuff you might need or want, or just to help designers with understanding how the code works.....
I hope this helps anyone who needs that extra little thing to make your template perfect. :)