Page 1 of 1

Problem installing "FeedbackForm module"

Posted: Sat Jun 03, 2006 8:00 pm
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.

Re: Problem installing "FeedbackForm module"

Posted: Sun Jun 04, 2006 4:17 am
by Dr.CSS
what was your method of installation...
is this self hosted... your own server?

Re: Problem installing "FeedbackForm module"

Posted: Sun Jun 04, 2006 8:19 am
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.

Re: Problem installing "FeedbackForm module"

Posted: Sun Jun 04, 2006 11:48 pm
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...