CMS MADE SIMPLE FORGE

SEOTools2

 

[#7573] Cannot get this module to work.

avatar
Created By: Steven Gosling (stevegos)
Date Submitted: Tue Feb 07 15:05:03 -0500 2012

Assigned To:
Version: 1.0.5
CMSMS Version: None
Severity: Critical
Resolution: Invalid
State: Closed
Summary:
Cannot get this module to work.
Detailed Description:
Module installs fine, but when clicking on the module under the content tab it
just shows a blank screen. Visit any content page and it shows an error: An
error occurred parsing content blocks (perhaps duplicated block names)

I have followed the instructions in the module help.


History

Comments
avatar
Date: 2012-02-07 15:56
Posted By: Prue Rowland (psy)

This is not a problem with SEOTools2 as such.  The error is referring to a
problem with content blocks in your page template.

Things to check:

1. You only have one instance of the {content} tag.  When you require more than
one, eg when using {if} statements, assign the {content} tag to a variable
immediately below the <body> tag, eg {capture
assign=maintext}{content}{/capture} then use the {$maintext} var in the
template.

2.  Only the label attribute has spaces in any content block tag.   Spaces in
the name attribute will cause this error.  The content block you're using for
the meta description should look something like  name='metadescription'
label='META Description'

After making any changes it's also a good idea to clear the cache.

Let me know if this resolves the issue.



      
avatar
Date: 2012-03-19 06:19
Posted By: Peter Tindemans (realrock)

Use:
{capture assign=metadescription}{content block="metadescription" label="Page
Description" oneline="true"}{/capture}

Instead of:
{capture assign=metadescription}{content block=metadescription label="Page
Description" oneline="true"}{/capture}
      
Updates

Updated: 2013-07-27 19:24
cmsms_version_id: 29321 => -1
state: Open => Closed

Updated: 2012-02-10 17:51
resolution_id: 10 => 9

Updated: 2012-02-07 15:56
resolution_id: => 10