Template issues

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
Darren

Template issues

Post 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.
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Re: Template issues

Post by Ted »

I must not have case insensitivity on.  Try {content} instead.  If that works, then I have a nice bug to fix.  :)
Darren

Re: Template issues

Post by Darren »

the case sensitivty was the issue.

Thanks for your help.
Locked

Return to “[locked] Installation, Setup and Upgrade”