Problem installing "FeedbackForm module"

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
Goody

Problem installing "FeedbackForm module"

Post by Goody »

Hello there

I have cut and pasted the code from "FeedbackForm.module.php" to create a page on my site. But when I opened that page I get the following error:

Fatal error: Smarty error: [in content:content_en line 1]: syntax error: unrecognized tag 'var' (Smarty_Compiler.class.php, line 580) in C:\Inetpub\wwwroot\cmsmadesimple\lib\smarty\Smarty.class.php on line 1095

I am sure I am doing something wrong but I do not see any documentation for installing the module. Please, could someone help me.

Many thanks

PS: In addition to the normal fields, I also like to have the facility to attach a file with the message.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Problem installing "FeedbackForm module"

Post by Dr.CSS »

what was your method of installation...
is this self hosted... your own server?
Goody

Re: Problem installing "FeedbackForm module"

Post by Goody »

I have installed CMS on my machine which is PHP and mySQL enabled. Eeverything works fine but I need to know how to install "FeedbackForm module"

I tried embedding PHP codes on pages but with little success.
FinnK

Re: Problem installing "FeedbackForm module"

Post by FinnK »

You may put PHPcode directly into User Defined Tags without at the end. Or you could enable php-tags in the config.php file:

Code: Select all

#Allow smarty {php} tags?  These could be dangerous if you don't trust your users.
$config['use_smarty_php_tags'] = true;
When this is done you can use smarty tags {php} in the front of phpcode entered into content blocks and { /php} to close phpcode.

That is what I have picked up by reading this forum...
Locked

Return to “CMSMS Core”