willump Posted April 11 Share Posted April 11 Hi everyone, I have a form from an external platform (Zoho Forms) that I’ve already integrated as an iframe into a CMS page. However, this doesn’t work well for Google’s Enhanced Conversions, since the form is hosted on a Zoho domain. I therefore need to integrate the form directly into my website’s CMS page using HTML, CSS, and JS, and I’d like to know how to do that. Thanks a lot! ps: Of course, I already have the HTML, CSS, and JS code, but I don’t know how to proceed. Link to comment Share on other sites More sharing options...
Knowband Plugins Posted April 11 Share Posted April 11 The simplest method is to put the HTML/CSS/JS int he themes/classic/templates/contact.tpl (OR Check the same according to your theme) to display on the contact us page. Place the content on the highlight places. If using the inline CSS/JS tag then put them inside the {literal} {/literal} tags Link to comment Share on other sites More sharing options...
willump Posted April 11 Author Share Posted April 11 49 minutes ago, Knowband Plugins said: The simplest method is to put the HTML/CSS/JS int he themes/classic/templates/contact.tpl (OR Check the same according to your theme) to display on the contact us page. Place the content on the highlight places. If using the inline CSS/JS tag then put them inside the {literal} {/literal} tags Sorry, but in this way the form will appear on all CMS pages? Link to comment Share on other sites More sharing options...
Knowband Plugins Posted April 11 Share Posted April 11 (edited) This will display on the contact us page, not the CMS page. You add the same on the CMS, you need to do either from the module OR changes in the themes\classic\templates\cms/page.tpl Change {block name='cms_content'} {$cms.content nofilter} {/block} to {block name='cms_content'} {if $cms.id == "1"} //Your Form Content {else} {$cms.content nofilter} {/if} {/block} Update $cms.id == "1" to your CMS page ID. Edited April 11 by Knowband Plugins (see edit history) 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