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.
Problem installing "FeedbackForm module"
Re: Problem installing "FeedbackForm module"
what was your method of installation...
is this self hosted... your own server?
is this self hosted... your own server?
-
Goody
Re: Problem installing "FeedbackForm module"
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.
I tried embedding PHP codes on pages but with little success.
-
FinnK
Re: Problem installing "FeedbackForm module"
You may put PHPcode directly into User Defined Tags without at the end. Or you could enable php-tags in the config.php file:
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...
Code: Select all
#Allow smarty {php} tags? These could be dangerous if you don't trust your users.
$config['use_smarty_php_tags'] = true;That is what I have picked up by reading this forum...

