So, I have a global page template that defines the default content in a block, like so:
Code: Select all
{block name="top"}
…
{content assign="main_content" label='Some text' scope="global"}
…
{/block}
Then I have a child template that extends the default, replacing the default block content:
Code: Select all
{extends file='cms_template:Global'}
{block name="top"}
{content assign="main_content" label='Some different text' scope="global"}
{/block}
I would assume it would just replace the default content block but it complains about duplicate blocks. What’s the deal? And how do I change the content label in different templates?