vyciook Posted June 25, 2012 Share Posted June 25, 2012 how to add html code into cms page? or is there other way to create custom page where i can add html code? Link to comment Share on other sites More sharing options...
Bill Dalton Posted June 25, 2012 Share Posted June 25, 2012 In the CMS content editor, which uses a copy of tinyMSE http://www.tinymce.com/ Look for the button that has "HTML", and give that a click. Link to comment Share on other sites More sharing options...
davnem Posted August 16, 2012 Share Posted August 16, 2012 Hi guys, I was trying to find something similar easy solution but with tinyMSE. There in my cause (PS1.4.7.3) the editor don't want to work with some html codes (eg.DIVs). So I was looking around and found following: I found a solution (thanks Emmanuel Paris) that might help you or anyone who wants to put some html tag on particular CMS page. You just need to put this bit code {if $request_uri|strstr:"13"}YOUR HTML CODE{/if} on cms.tpl. The best place is of course just before or just next to {$cms->content} The number 13 is id of the CMS page you want to use the html code there. I tried to put a facebook plugin between <div></div> tags and it works! I hope it help David Nemec 1 Link to comment Share on other sites More sharing options...
UlyssesAlves Posted October 9, 2015 Share Posted October 9, 2015 Hi guys, I was trying to find something similar easy solution but with tinyMSE. There in my cause (PS1.4.7.3) the editor don't want to work with some html codes (eg.DIVs). So I was looking around and found following: I found a solution (thanks Emmanuel Paris) that might help you or anyone who wants to put some html tag on particular CMS page. You just need to put this bit code {if $request_uri|strstr:"13"}YOUR HTML CODE{/if} on cms.tpl. The best place is of course just before or just next to {$cms->content} The number 13 is id of the CMS page you want to use the html code there. I tried to put a facebook plugin between <div></div> tags and it works! I hope it help David Nemec Perfect solution! It worked for me very well. No need to buy any modules/plugin, and you get all the flexibility to build any layout/script/style you need to, because you will be coding pure HTML. Thanks very much, davnem. Link to comment Share on other sites More sharing options...
renegades Posted December 30, 2019 Share Posted December 30, 2019 I know it's an old post but the only one close I found. I work in 1.6 and noticed the HTML editor doesn't work at all (it even just looks like a plain text editor> CSS classes, hr, div, ...you name it, it' not being accepted and most the time even stripped out the moment you hit the save button. Anyone any idea why it's even there (use code edit)? Anyone any idea how to solve it, how to turn it into a real HTML editor? Thanks. 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