CMS MADE SIMPLE FORGE

CMS Made Simple Core

 

[#6063] "No default content block..." error when {content} tag is in "Global Content Blocks" attached to template

avatar
Created By: Ralph (ralph)
Date Submitted: Wed Feb 02 07:05:09 -0500 2011

Assigned To:
Version: 1.9.2
CMSMS Version: None
Severity: Minor
Resolution: Invalid
State: Closed
Summary:
"No default content block..." error when {content} tag is in "Global Content Blocks" attached to template
Detailed Description:
Error shown: No default content block was detected in this template. Please
ensure that you have a {content} tag in the page template.

Content > Page editor checks for {content} tag in template without any attached
"Global Content Blocks".


History

Comments
avatar
Date: 2011-02-02 08:00
Posted By: Robert Campbell (calguy1000)

Content blocks Must be in the page template, not in GCB's.
      
avatar
Date: 2011-02-02 09:06
Posted By: Ralph (ralph)

Thank you for fast response.
May I ask if any other tags must be in the template record?

My case: 5 identical templates with different css attached. It would be nice to
have all the template code in one common GCB.
Templates code now:
{global_content name='Template part 1'}
{content}
{global_content name='Template part 2'}
      
Updates

Updated: 2011-02-04 03:07
state: Open => Closed

Updated: 2011-02-02 08:00
resolution_id: => 9