Simona.Gr Posted June 22, 2020 Share Posted June 22, 2020 Hello, community! I'm trying to dublicate "contact us" form and display it in another cms page. It seems that parameters don't pass after copying the code from contactform.tpl to any other page. I know that php and contact form controller files must be duplicated and renamed accordingly. It seems that I miss something. Maybe there is someone here who already achieved that and willing to share and spread the knowledge with new developers? Or the most famous Veika? Link to comment Share on other sites More sharing options...
Razi Posted June 23, 2020 Share Posted June 23, 2020 Hello. yes its possible , for this you need make some changes and add new template and class first of all need to make duplicate controller /controllers/front/ContactController.php and change the name of class and file. In ContactController file also change the variable php_self to new template public $php_self = 'contact'; After this duplicate the contact.tpl in theme directory and change the name and add the new page from backoffce SEO & URL section. Link to comment Share on other sites More sharing options...
Dev-S21 Posted May 27 Share Posted May 27 Hello, After creating the page in Traffic & SEO (SEO & URL), the page is still 404 not found. Can you help me please? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now