In my templates I've got several additional content blocks. They work fine exept in one template. In this template the text I put in the {content} wysiwyg area is printed for every additional content block. So when the content is "test test" the output is like:
test test
test test
test test
when there are 2 additional content blocks.
I do not see any difference to the templates that are working fine.
The smarty code in this template is:
Code: Select all
{content}
{content block="anotherblock1" assign="block1" oneline="true" label='first extra block'}
{content block="anotherblock2" assign="block2" label='second extra block'}
{$block1}
{$block2}
Code: Select all
{content}
{content block="anotherblock1" oneline="true" label='first extra block'}
{content block="anotherblock2" label='second extra block'}
The only big difference between the not-working and working template is that the not-working template is a protected content page.
Does anyone know what's going on here?