When I go to edit pages I get the following error on the top:
"An error occurred parsing content blocks (perhaps duplicated block names)"
I understand somewhat from looking at previous posts that I'm not using the word "content" properly or too often in the template. You can see my template below.
Please suggest how I can eliminate this error. I am not a programmer, so the simpler the explanation, the more helpful it would be.
Thanks!
Code: Select all
{process_pagedata}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<__html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" >
<head>
<link rel="shortcut icon" href="uploads/images/favicon.ico">
<title>{sitename} - {title}</title>
{metadata}
{stylesheet}
{literal}<__script__ type="text/javascript" src="uploads/dynamic-font-resize.js"></__script>{/literal}
<!--[if IE]>
{literal}<__script__ type="text/javascript" src="modules/MenuManager/CSSMenu.js"></__script>{/literal}
<![endif]-->
{* The above JavaScript is required for CSSMenu to work in IE *}
</head>
</__body>
<div id="container">
<!-- start header -->
{global_content name='header'}
<!-- end header -->
<!-- start content -->
<div id="contentyellow"><div id="contentint">
<h4>{content block="title"}</h4>
<div id="your-body">{content}</div>
</div>
</div>
<div id="leftpanel">
{content block="leftpanel"}
<div id="sidenav">
<!-- If not logged in, don't show the board-only navigation (exclude from visibility); otherwise show it (if logged in)-->
{if $ccuser->loggedin()}
{menu template='leftnavigation' start_level='2' collapse='1' excludeprefix="2009-campaign-for-kids-supporters"}
{else}
{menu template='leftnavigation' start_level='2' collapse='1' excludeprefix='2009-campaign-for-kids-supporters,board-only'}
{/if}
<!--{menu template='leftnavigation' start_level='2' collapse='1' excludeprefix="2009-campaign-for-kids-supporters"}--></div></div>
<div id="sidebar">
<div id="your-body">{content block="sidebar"}</div>
</div>
<!-- end content -->
<!-- start footer/bottom -->
<div id="bottom">{global_content name='bottom'}
</div>
<!-- end footer/bottom -->
{global_content name='ddnav'}</div>
{global_content name='google_analytics'}
<__body>
</__html>