If you're considering this addition, I'd like to propose making it a
bit more flexible.
Personally, I've never needed a block "override" as described. I
could always use {capture} to achieve the same effect. You have to
flip your logic around a bit, but it's doable.
For my projects, I found it more necessary to have blocks be able to
append to other blocks. Very common scenario is an included template
that adds UI components to a form or body that ALSO need <script>
elements added to the head. This is something you can't do with
{capture} - at least very easily.
So, in the above example, I would prefer that the {block
name="cssInclude"} in the extended template work by ADDING its output
to the {block} in the base tpl not replacing it. Or, alternatively, a
separate parm (
i.e.at="top|bottom|replace") or entirely different
block tag would implement each ability (i.e. {extend block="xx"},
{replace block="xx"}, etc).
I have only come across one case where I wanted to add to the
beginning of the block (e.g. to add JavaScript to the top of a
<body>). So I'm less concerned about that scenario.
-C
> > {/block}- Hide quoted text -
>
> - Show quoted text -