Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

AFPoster

macrumors 68000
Original poster
Jul 14, 2008
1,565
152
Charlotte, NC
I am using a "client management system" called: CMS Made Simple (www.cmsmadesimple.org) and I keep getting this error message any time I want to edit the text to my home page. "No default content block was detected in this template. Please ensure that you have a {content} tag in the page template."

So I pulled up my home template and I am wondering where do I put the {content} tage in this code to add/edit text.

<!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">
<head>
<title>text goes here/>
<meta name="keywords" content="text, text, text" />
<META NAME="ROBOTS" CONTENT="INDEX, FOLLOW, ARCHIVE" />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>{sitename} - {title}</title>
{metadata}
<link rel="stylesheet" href="css.css" type="text/css" />
<link rel="stylesheet" href="dropdown.css" type="text/css" />
</head>

</body>
Ton of code here didn't know if you needed the rest. Let me know if you do.

Thanks team, I appreciate all the help!
 
I am using a "client management system" called: CMS Made Simple (www.cmsmadesimple.org) and I keep getting this error message any time I want to edit the text to my home page. "No default content block was detected in this template. Please ensure that you have a {content} tag in the page template."

So I pulled up my home template and I am wondering where do I put the {content} tage in this code to add/edit text.

<!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">
<head>
<title>text goes here/>
<meta name="keywords" content="text, text, text" />
<META NAME="ROBOTS" CONTENT="INDEX, FOLLOW, ARCHIVE" />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>{sitename} - {title}</title>
{metadata}
<link rel="stylesheet" href="css.css" type="text/css" />
<link rel="stylesheet" href="dropdown.css" type="text/css" />
</head>

</body>
Ton of code here didn't know if you needed the rest. Let me know if you do.

Thanks team, I appreciate all the help!

Just a guess but try
Code:
<body>
{content}
</body>
 
Didn't work. It keeps showing a "Nothing Goes HERE" on the homepage when I add the {content}, should I be using <content> instead?

Never mind the <content> </content> didn't work either. I have 2 tables on the homepage, trying to edit text in both tables. Any other suggestions?
 
Last edited by a moderator:
So I figured it out, in case any future people read this. I downgraded to v1.6.6 in CMSMS from 1.9.4.1. The old configuration of 1.6.6 doesn't request a {content} command in the html line between <body> </body>. I guess I'll have to do this every time I want to edit the Homepage. Very strange and hopefully it will be fixed in the future releases.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.