I'm trying to use the {content} tag in my template to assign the page content to a variable per the documentation in the form of:
{content assign=pagecontent}
Now when I try to edit any page that have that template assigned I get the following error:
An error occurred parsing content blocks (perhaps duplicated block names)
I can't edit the page content when this error shows up.
Here's how I'm using the tag in the template
Code: Select all
{content assign=pagecontent}
... a bunch of template code ...
{content}
... the rest of the template code ...
PHP version: 5.3.5