Jump to content

[SOLVED] Get rid of code inserted with HTMLBox


CharlotteV

Recommended Posts

Hiya, I've tried a code to disable right button of the mouse in my web (I know is useless) using HTMLBox. The thing is that now the code appears in my homepage (2 in the screenshot) and I'm not able to delete it. Anyone can help?

 

Also I would like to change a little the appearance of the newsletter block (1 in the screenshot) so if someone can tell me in which file(s) are the attributes for this block I would be thankful.

 

post-828392-0-66618700-1409127048_thumb.jpg

 

Regards

Edited by CharlotteV (see edit history)
Link to comment
Share on other sites

Disabling right click is just a way to alienate your customers..let's say that they just want to save the image of one of your products and without any knowledge of developer tabs they can't...

Anyway, what is the problem again? How about deleting the content of HTMLbox all together?

 

IMHO it's better to insert javascript into .tpl files (header or footer)...

  • Like 1
Link to comment
Share on other sites

Disabling right click is just a way to alienate your customers..let's say that they just want to save the image of one of your products and without any knowledge of developer tabs they can't...

Anyway, what is the problem again? How about deleting the content of HTMLbox all together?

 

IMHO it's better to insert javascript into .tpl files (header or footer)...

 

I know that disabling right click is silly so I don't want to do it anymore. The problem is that I know how to insert things with HTMLBox but I don't know how to delete them. Do you think that uninstalling HTMLBox would do the trick?

Link to comment
Share on other sites

you can simply remove code from module textbox area on module configuration page

if you want to use scripts, you have to use </> feature available in tinymce editor to paste it

if you will just paste code right to editor - tinymce and prestashop will treat it as a simple text.

  • Like 1
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...