Richieh Posted March 22, 2014 Share Posted March 22, 2014 (edited) I have embedded codes on some of my CMS pages and for some reason it is embedding itself below the footer not on the body. I recently upgraded from 1.5 to 1.6. On 1.5 it showed fine. I tried deleting and reposting, re-embedding and nothing seems to work. example : http://www.totowaairsoft.com/content/16-customer-survey Edited March 22, 2014 by Richieh (see edit history) Link to comment Share on other sites More sharing options...
prestamax Posted March 22, 2014 Share Posted March 22, 2014 Did you put the iframe code directly in the theme file or did you use a module? Link to comment Share on other sites More sharing options...
Richieh Posted March 22, 2014 Author Share Posted March 22, 2014 I figured out the CMS portion of the iframe. Now I can't figure out embedding an iframe into an tpl file. I am trying to edit the contact-form.tpl Link to comment Share on other sites More sharing options...
prestamax Posted March 22, 2014 Share Posted March 22, 2014 Why don't you put the code in the "custom cms information" module? Link to comment Share on other sites More sharing options...
Richieh Posted March 22, 2014 Author Share Posted March 22, 2014 (edited) Hm. Its' not exactly what I'm looking for. I may just create a new CMS page rather than pull it from a tpl page. The contact us page is edited through contact-form.tpl and not created as a CMS page. I was hoping the Iframe embed would fix the problem I had in the CMS pages, but no such luck. Edited March 22, 2014 by Richieh (see edit history) Link to comment Share on other sites More sharing options...
Richieh Posted March 22, 2014 Author Share Posted March 22, 2014 Ah I have solved the issue. I didn't know that tpl files would not read javascripts unless i wrote the {literal}{/literal} file. This seems to fixed the issue. Thank you for the suggestions. Link to comment Share on other sites More sharing options...
vekia Posted March 22, 2014 Share Posted March 22, 2014 btw. it doesn't "read" scripts only if you use in your script brackets if you don't use brackets - you don't have to use {literal} tags Link to comment Share on other sites More sharing options...
Recommended Posts