Hello CMSMSers,
I have been building a website with CMSMS lately and finally got my main template to function/look how it needs to look! However, I then went and tried to create a new page and just put one word as the text (also tried a whole paragraph) and upon hitting submit, it says "No Content Given!" . I haven't made ANY changes to my hosting service or upgraded CMSMS so I'm not sure what could've caused this problem out of no where. Any ideas? I've ran in debug mode, but I'm a designer, so a lot of that error report doesn't make sense to me. I just see a lot of Error(0). Everything else, in my noob eyes, looks fine.
please help!! I'm clueless!
EDIT: I went through and tested, and I can edit text on pages that are already created, but if I try to create a new page (no matter what template I use) then I receive a "No Content Given!" error.
No Content Given! error
-
- Power Poster
- Posts: 280
- Joined: Thu Apr 15, 2010 12:27 am
No Content Given! error
Last edited by michaywood on Wed Apr 28, 2010 1:23 pm, edited 1 time in total.
Re: No Content Given! error
Make sure somewhere in your template you have this code
Then when you create a new page with that template -- you will be given a where you should write at least one character.
Code: Select all
{content}
-
- Power Poster
- Posts: 280
- Joined: Thu Apr 15, 2010 12:27 am
Re: No Content Given! error
I don't have a {content} on my pages, but i have a {content block="Homepage"} and a {content block="About"} . I assumed these were all I needed. Do I actually need a simple {content} without a block in order for CMSMS to work properly?
Re: No Content Given! error
I think you need to have {content}
-
- Power Poster
- Posts: 280
- Joined: Thu Apr 15, 2010 12:27 am
Re: No Content Given! error
That did the trick! Thanks Augustas. Something so simple but something I never took a second to think about!