Jump to content

Use contact-form in CMS page


The50

Recommended Posts

Hello, I have a problem. How can I call a contact-form function and have it on any custom CMS page I created? The page is created via backend and it uses cms.tpl template. Now I need to have contact-form.tpl inside it. I did an override of both CmsController.php and ContactFormController.php, but I don't know how can I call contact form from my CmsController.php.


 


If you need more info - feel free to ask.


 


I tried https://www.prestash...e-contact-page/ this tutorial, but the function from ContactFormController.php doesn't get called at all if I use only CMS custom page. Any ideas?


Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...