Jump to content

Using HTML Contact Forms in CMS Pages (extending TinyMCE)


Recommended Posts

Hi

 

I am using Prestashop 1.5.6.2 and need to add different forms into different CMS Pages. I have found a good free HTML form builder but when I try to add the code I get the following error message when trying to save the page:

 

[PrestaShopException]

Property CMS->content is not valid
at line 878 in file classes/ObjectModel.php

872.
873.                 $message = $this->validateField($field, $value, $id_lang);
874.                 if ($message !== true)
875.                 {
876.                     if ($die)
877.                         throw new PrestaShopException($message);
878.                     return $error_return ? $message : false;
879.                 }
880.             }
881.         }
882.

 

Now I know that I need to extend the HTML on TinyMCE using the form.tpl and validate.tpl files using the method shown here: http://mypresta.eu/en/art/know-how/tinymce-editor-full-options-all-html-tags.html

I have done all this but still I get the error message. 

I am not a coder and I am not great with php or HTML so easy to follow instructions are a must I'm afraid.

If you need my amended code please let me know what and from which files so I can get it quickly.

All help is much appreciated.

Regards

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...