Reputation: 4773
i know it is possible to write a custom function in smarty like {myunction x="1" y="2"}
. but i wonder if theres any way to make a function that has an end {myfunc}...{/myfunc}
and use the text in between as a parameter ?
is there any way to do so ?
Upvotes: 1
Views: 432