|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
thm Smarty Rookie
Joined: 09 Nov 2009 Posts: 8
|
Posted: Tue Jul 19, 2011 5:41 pm Post subject: block appending and prepending in 3.1rc1 |
|
|
Hi,
I used to have code like this:
{block name='foo' prepend=true}
...
{/block}
with the foo block being defined elsewhere and inherited via {extends..}. This works in 3.08. In 3.1rc1 however, it is a syntax error. Changing to
{block name='foo' prepend='true'}
compiles, but now it doesn't work anymore: The foo block retains the inherited contents, and the contents that should be prepended are lost.
What is the correct syntax? |
|
Back to top |
|
U.Tews Administrator
Joined: 22 Nov 2006 Posts: 5068 Location: Hamburg / Germany
|
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|