Mandeologul Posted January 24, 2014 Share Posted January 24, 2014 (edited) Hello, I am having this issue with the prestashop home text editor or editorial. I just want to add 5 banners with mouseover gestures and hiperlinks to different pages. I am using the cms tinymc to create everything from pictures upload to links. Here is a screenshot explaining everything... I have tried png/jpg formats Al ii did to the code was to delete the homepage_logo, so that i do not see it at all. Edited January 24, 2014 by Mandeologul (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted January 24, 2014 Share Posted January 24, 2014 can you show code that you're trying to insert there? and is there any chance to get your website url ? Link to comment Share on other sites More sharing options...
Mandeologul Posted January 24, 2014 Author Share Posted January 24, 2014 (edited) Thanks for posting. The website is www.bigstep.ro and the code is: <table align="center" width="100%" height="200" "> <tbody> <tr> <td align="center"><a title="Grile marimi bigstep" href="http://www.bigstep.ro/content/15-grila-marimi"><img style="vertical-align: text-bottom;" onmouseover="this.src='http://www.bigstep.ro/img/cms/a_selected.png';" onmouseout="this.src='http://www.bigstep.ro/img/cms/a_normal.png';" src="http://www.bigstep.ro/img/cms/a_normal.png" alt="Incaltaminte copii grila marimi" width="180" height="186" /></a></td> <td align="center"><a title="Grile marimi bigstep" href="http://www.bigstep.ro/43-incaltaminte-pentru-scoala"><img style="vertical-align: text-bottom;" onmouseover="this.src='http://www.bigstep.ro/img/cms/b_selected.png';" onmouseout="this.src='http://www.bigstep.ro/img/cms/b_normal.png';" src="http://www.bigstep.ro/img/cms/b_normal.png" alt="Incaltaminte gradinita" width="180" height="186" /></a></td> <td align="center"><a title="Clubul bigstep" href="http://www.bigstep.ro/content/10-club-bigstep"><img style="vertical-align: text-bottom;" onmouseover="this.src='http://www.bigstep.ro/img/cms/c_selected.png';" onmouseout="this.src='http://www.bigstep.ro/img/cms/c_normal.png';" src="http://www.bigstep.ro/img/cms/c_normal.png" alt="Clubul bigstep" width="180" height="186" /></a></td> <td align="center"><a title="Tehnologiile pediped" href="tehnologiile-pediped"><img style="vertical-align: text-bottom;" onmouseover="this.src='http://www.bigstep.ro/img/cms/d_selected.png';" onmouseout="this.src='http://www.bigstep.ro/img/cms/d_normal.png';" src="http://www.bigstep.ro/img/cms/d_normal.png" alt="Tehnologiile pediped" width="180" height="186" /></a></td> <td align="center"><a title="Papuci pentru dezvoltarea mersului la copii" href="speciali-pentru-dezvoltarea-mersului"><img style="vertical-align: text-bottom;" onmouseover="this.src='http://www.bigstep.ro/img/cms/e_selected.png';" onmouseout="this.src='http://www.bigstep.ro/img/cms/e_normal.png';" src="http://www.bigstep.ro/img/cms/e_normal.png" alt="Papuci dezvoltarea mersului" width="180" height="186" /></a></td> </tr> </tbody> </table> Bannere.html Edited January 24, 2014 by Mandeologul (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted January 24, 2014 Share Posted January 24, 2014 it's because you use scripts there onmouseout and onmouseover these features arent available to use in cms editor because it's validated with Validate isCleanHtml function. it doesnt allow to use these tags. so you can: modify the validate function or use different module to insert this code. for example: free module like html box 1 Link to comment Share on other sites More sharing options...
Mandeologul Posted January 29, 2014 Author Share Posted January 29, 2014 Thank you! It worked fine, with the links and all that. I used the second suggestion, the htmlbox module. A little problem I have encountered, is that the module does not seem to understand the <h1>, <h2> etc styles from the main theme, and I have to edit the text to resemple these styles. Is a little hard to get it right, but is a great tool. Link to comment Share on other sites More sharing options...
vekia Posted January 29, 2014 Share Posted January 29, 2014 hello what you mean by "module does not seem to understand the <h1>, <h2> etc styles from the main theme" ? you can't use <h1> <h2> tags etc. ? or what? Link to comment Share on other sites More sharing options...
Mandeologul Posted January 29, 2014 Author Share Posted January 29, 2014 Thank you for reply. Yes you are right, I can't use them. Link to comment Share on other sites More sharing options...
vekia Posted January 30, 2014 Share Posted January 30, 2014 ok so if you enter these tags manually, after save, they disappear? or what? 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