You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello guys, I have a question. Maybe someone can help me.
I am currently using Smarty with PHP 8.0, have a default template, a custom template and several addon templates which are also made up of template files and should be inherited/extended in that order.
If I now extend a block from the default template with a block from the custom template, I can no longer access the same block with an addon template. Apparently the first loaded block is always used, which extends the block from the default. Anything after that that extends the same block is ignored. Even if I use {parent}|{child} .
What am I doing wrong?
The text was updated successfully, but these errors were encountered:
Hello guys, I have a question. Maybe someone can help me.
I am currently using Smarty with PHP 8.0, have a default template, a custom template and several addon templates which are also made up of template files and should be inherited/extended in that order.
If I now extend a block from the default template with a block from the custom template, I can no longer access the same block with an addon template. Apparently the first loaded block is always used, which extends the block from the default. Anything after that that extends the same block is ignored. Even if I use {parent}|{child} .
What am I doing wrong?
The text was updated successfully, but these errors were encountered: