Page 1 of 1

Template issues

Posted: Wed Jul 13, 2005 2:37 pm
by Darren
Hello,

I am in the process of modifying a website so that a lesser web savy person can edit and modify the content.

The installation of CMS went fine.

The server is running MySQL3.something
PHP 4.2.2 on linux.

My problem is whenever I try to preview or view a page I receive an error.

Fatal error: Smarty error: [in preview:cmsprevieweaRKlR line 92]: syntax error: unrecognized tag 'CONTENT' (Smarty_Compiler.class.php, line 576) in /home/httpd/vhosts/quateams.com/httpdocs/ferrari/darren/CMS/lib/smarty/Smarty.class.php on line 1088

In my template I have changed everything from " to ' as I read in here that there was a problem with the " not always working but ' did.  That took care of the first error.

But now I am receiving the above error.

The file I am pasting into the template window of CMS to add as template is located

http://www.quateams.com/ferrari/darren/CMS/template.htm

I have placed {literal}  {/literal} tags around the java on the page.

And one {CONTENT} tag where I want the content to go.

Can someone please help me out.  All help is greatly appreacited.

Re: Template issues

Posted: Wed Jul 13, 2005 3:06 pm
by Ted
I must not have case insensitivity on.  Try {content} instead.  If that works, then I have a nice bug to fix.  :)

Re: Template issues

Posted: Wed Jul 13, 2005 3:28 pm
by Darren
the case sensitivty was the issue.

Thanks for your help.