I've got
Code:
and then I extend that in
Code:
which works fine.
But actually I only want to replace things conditionally. This will replace it only if the condition is met, but otherwise it'll be blank.
Code:
Read more
Читать далее...
template_a
with an extension in itCode:
Код:
<xf:extension name='extension_name'>
original stuff
</xf:extension>
and then I extend that in
template_b
Code:
Код:
<xf:extends template='template_a'>
<xf:extension name='extension_name'>
replacement stuff
</xf:extension>
which works fine.
But actually I only want to replace things conditionally. This will replace it only if the condition is met, but otherwise it'll be blank.
Code:
<xf:extends template='template_a'>...
Read more
Читать далее...