Jump to content
vekia

[module] HTML box for free

Recommended Posts

module has been improved to version 1.2

 

This update improved the interpretation of the characters you have used in your code, such as the ENTER (newline) were changed <br/> marker which caused problems in the operation of such scripts js

 

I invite you to the page of the module and to download the current version:

Prestashop HTML Box module

  • Like 4
  • Thanks 2

Share this post


Link to post
Share on other sites

can i do make image banner with height : 600px with this module ?

 

yes you can, today I will write tutorial how to add a free image slider with this module :)

  • Like 6

Share this post


Link to post
Share on other sites

HTML box Free supports one html/js/css/etc code, which you can input into 6 most important hooks in shop

  • Like 1

Share this post


Link to post
Share on other sites

oh... i See.!! so if i want more than 1, i need purchase first. right? IC!

Share this post


Link to post
Share on other sites

Module described in this topic is for free.

You are talking about HTML Box professional module, which supports all hooks in prestaShop front office, and you can add different html code in each hooks

Share this post


Link to post
Share on other sites

400 Bad Request It is not a valid request! Powered By LiteSpeed Web Server LiteSpeed Technologies is not responsible for administration and contents of this web site! prestashop

 

I'vd got this error while trying to put a html code.. can't use this module. while trying to save it gives me this error. what should i do? :(

Edited by Ulhvan (see edit history)

Share this post


Link to post
Share on other sites

400 Bad Request It is not a valid request! Powered By LiteSpeed Web Server LiteSpeed Technologies is not responsible for administration and contents of this web site! prestashop

 

I'vd got this error while trying to put a html code.. can't use this module. while trying to save it gives me this error. what should i do? :(

 

hmmm something wrong. Can you turn on error log and show me what's wrong?

Share this post


Link to post
Share on other sites

How do i turn on error log? sorry for asking...

 

no problem, i want to fix this issue :)

 

 

 

First of all you need to enable errors display on your server open config\config.inc.php file and locate line

 

@ini_set(‘display_errors’, ‘off’);

 

replace with

 

@ini_set(‘display_errors’, ‘on’);

 

 

if you dont know how to do that, read tutorial how to turn error reporting on in prestashop

Edited by vekia (see edit history)

Share this post


Link to post
Share on other sites

Hello there again. Ok, I did it, know what should I do next?

 

put the code into textbox and try to save it. With error_reporting turned to on, you can probably catch the error code / place

Share this post


Link to post
Share on other sites

Okay, hope I understood, I need to put all my confing.inc.php code in a textbox, right?

 

Sorry because I'm asking so many questions, I'm new in coding, let's say... very new :))

 

PS: Yeah, the error reporting is turned on

Share this post


Link to post
Share on other sites

Okay, hope I understood, I need to put all my confing.inc.php code in a textbox, right?

 

nope, just put into html box module any code you want, and check information about error (if occur while saving)

Share this post


Link to post
Share on other sites

OK. I did this allready, it's the same error, after I click save i got this:

400 Bad Request

 

It is not a valid request!

Powered By LiteSpeed Web Server

LiteSpeed Technologies is not responsible for administration and contents of this web site!

 

 

Atfter this error pops out, nothing other gets in my face. If I had to look for something I don't know where to do that...

Edited by Ulhvan (see edit history)

Share this post


Link to post
Share on other sites

OK. I did this allready, it's the same error, after I click save i got this:

400 Bad Request

 

It is not a valid request!

Powered By LiteSpeed Web Server

LiteSpeed Technologies is not responsible for administration and contents of this web site!

 

 

Atfter this error pops out, nothing other gets in my face. If I had to look for something I don't know where to do that...

 

after clickin "save" what exactly you've got in address bar in your browser?

Share this post


Link to post
Share on other sites

Yea i use mysql and litespeed! Yea it's really wired.. i simply can't use that html box module and I need one so much... can't find nothing good, and when i find it doesn't work!

Share this post


Link to post
Share on other sites

Yea i use mysql and litespeed! Yea it's really wired.. i simply can't use that html box module and I need one so much... can't find nothing good, and when i find it doesn't work!

 

 

 

you've got access to litespeed error log?

Share this post


Link to post
Share on other sites

Problem solved! I'll post it here so everybody will know how to deal with it in the future. First of all, thanks for your great module and by the way, thanks for making a free version also.

 

The "400 Bad Request It is not a valid request! " error it's because of cookies overload in your browser. Clear cookies or just switch for another browser to edit your module configuration.

 

Enjoy!

Share this post


Link to post
Share on other sites

Problem solved! I'll post it here so everybody will know how to deal with it in the future. First of all, thanks for your great module and by the way, thanks for making a free version also.

 

The "400 Bad Request It is not a valid request! " error it's because of cookies overload in your browser. Clear cookies or just switch for another browser to edit your module configuration.

 

Enjoy!

 

so as we see the simplest solutions are always the most effective :))

Im happy that now everything is fine :)

Share this post


Link to post
Share on other sites

so as we see the simplest solutions are always the most effective :))

Im happy that now everything is fine :)

 

can I use this module in many shops? what's the licence for it?

Share this post


Link to post
Share on other sites

can I use this module in many shops? what's the licence for it?

 

I'd like to know that too since I have a single shop but installed on 3 different language domains and hostings for SEO and market reasons.

DOes it work in Extraleft product action hook ?

Edited by Caprice (see edit history)

Share this post


Link to post
Share on other sites

I'd like to know that too since I have a single shop but installed on 3 different language domains and hostings for SEO and market reasons.

DOes it work in Extraleft product action hook ?

 

hi I've sent you an email about that

Share this post


Link to post
Share on other sites

Hi,

I am trying to add a CSS pop up following the instructions given here:

http://www.pat-burt.com/web-development/how-to-do-a-css-popup-without-opening-a-new-window/

If I add the HTML code:

<div id=”blanket” style=”display:none;”></div>
<div id=”popUpDiv” style=”display:none;”>
<a href=”#” onclick=”popup(‘popUpDiv’)”>Click Me To Close</a>
</div>
<a href=”#” onclick=”popup(‘popUpDiv’)”>Click Here To Open The Pop Up</a>

the links are placed correctly, but if I want to add the CSS code:

#blanket {
background-color:#111;
opacity: 0.65;
filter:alpha(opacity=65);
position:absolute;
z-index: 9001;
top:0px;
left:0px;
width:100%;
}
#popUpDiv {
position:absolute;
background-color:#eeeeee;
width:300px;
height:300px;
z-index: 9002;

this code is just copied and directly visible on my website:

How would you add CSS code to be read as CSS code

Share this post


Link to post
Share on other sites

Hello Vekia,

 

I am using your HTML Box for a customer. It just shows the realisation of a website and a link to a manufacturer, nothing more.

No problems so far, until the customer asked: can I add more than 2 links?

 

The problem appears after adding the 3rd hyperlink: it jumps out of the box.

Can you give some advice maybe?

 

Thanks in advance.

templz.jpg

Share this post


Link to post
Share on other sites

Hello Vekia,

 

I am using your HTML Box for a customer. It just shows the realisation of a website and a link to a manufacturer, nothing more.

No problems so far, until the customer asked: can I add more than 2 links?

 

The problem appears after adding the 3rd hyperlink: it jumps out of the box.

Can you give some advice maybe?

 

Thanks in advance.

templz.jpg

 

its probably simple css issue, you should check css for all elements near the links you added

Share this post


Link to post
Share on other sites

Hi Vekia!!

I'm really interested in knowing how to do a free image slider with this module.

Did you write the tutorial?

Thanks!!

Share this post


Link to post
Share on other sites

sure i can write tutorial about that :) what kind of imageslider you want? :)

Share this post


Link to post
Share on other sites

Hi!

I'm trying to put a simple jquery carousel in HTML box, but I didn't... not work properly.

First, I have installed the nivo-slider at header, if I put the minic-slider on the right column gives me problems at all.

I'm looking for a simple image slider in HTML box!!!

Thanks!!!

Share this post


Link to post
Share on other sites

great free module!!

 

sorry if this question is answered elsewhere: is it possible to toggle the editor on as preset?

 

id like to hide the html to my cusomer. he would be able to edit the simple line in html box if the editor is autmaticaly on.

 

thankx

Share this post


Link to post
Share on other sites

Module is working great but how can I create a second block? I want to use this module for another html code in a different block.

Share this post


Link to post
Share on other sites

in free version it isn't possible to use more than one block.

 

 

great free module!!

 

sorry if this question is answered elsewhere: is it possible to toggle the editor on as preset?

 

id like to hide the html to my cusomer. he would be able to edit the simple line in html box if the editor is autmaticaly on.

 

thankx

 

you mean wysiwyg editor? You cant turn it on / off ?

Share this post


Link to post
Share on other sites

hi, how can i put 2 diferent information on 2 box? i mean, one in right column and one in the left column

Share this post


Link to post
Share on other sites

I try to put in facebook like and follow but the module rewrites the code.

Do you have a solution?

Share this post


Link to post
Share on other sites

what you mean that module rewrites the code?

 

try to paste the code without WYSIWYG editor - this is probably the main problem (bacause tinymce adds own html tags and deletes unsupported markups)

Share this post


Link to post
Share on other sites

Hello

what you mean by that?

you want to add own <style></style> tags ?

Share this post


Link to post
Share on other sites

Hello

what you mean by that?

you want to add own <style></style> tags ?

Yes, but I solved that by using <div class="block"> , so that's ok now, thank you, but I have another problem, every time I save the editor it inserts a lot of slashes ///////////, see the screenshot below.

 

I am using 1.5.4

post-269997-0-33412200-1366889230_thumb.jpg

Share this post


Link to post
Share on other sites

Yes, but I solved that by using <div class="block"> , so that's ok now, thank you, but I have another problem, every time I save the editor it inserts a lot of slashes ///////////, see the screenshot below.

 

I am using 1.5.4

 

thanks for the info, i will update this module today

follow this thread, please

 

regards

Share this post


Link to post
Share on other sites

Thank You, I also noticed when I changed from wysiwyg editor from on and then to off it also adds in " in place of the "

post-269997-0-99032200-1366889860_thumb.jpg

Share this post


Link to post
Share on other sites

it is common issue, i don't know the reason but i've got fix for it, so im going to update this module

 

 

many thanks for your notification

Share this post


Link to post
Share on other sites

Hello Vekia.

 

I understand that it is not possible to put your module on custom hooks.

 

Would you consider this option?

 

Thanks

Share this post


Link to post
Share on other sites

it isn't possible. HTML box supports only default hooks.

Share this post


Link to post
Share on other sites

new version released! module is now in version 1.4.1

 

 

List of new features / fixes:

unwanted characters characters fix

< br > tag instead < p > in new line

new features in wysiwyg editor

save issue fix

maxthon browser fix

ie browser fix

 

more information about update in this article: html block free updated

 

you can download module from my first post here. http://www.prestashop.com/forums/index.php?/topic/189039-module-html-box-for-free/

  • Like 1

Share this post


Link to post
Share on other sites

Hi, the upgrade is still adding charachters

 

Initial Code:

post-269997-0-82123700-1367239978_thumb.jpg

 

After first save

post-269997-0-10833000-1367239979_thumb.jpg

 

After second save

post-269997-0-35475300-1367239979_thumb.jpg

 

After third save

post-269997-0-64632900-1367239979_thumb.jpg

  • Like 1

Share this post


Link to post
Share on other sites

Hello Vekia

thanks alot for your continues efforf to make our presperience grow.

 

Can you please tell me when I want to update if it is ok to just reinstall the new version without deinstalling the older one?

 

What is the adequate module upgrade procedure?

 

thank you again

Share this post


Link to post
Share on other sites

unpack archive on your hard disc, then log in into FTP, go to the modules / htmlbox

and upload all unpacked files there

 

with this method your html box content will be untouched

 

Hi, the upgrade is still adding charachters

 

Initial Code:

post-269997-0-82123700-1367239978_thumb.jpg

 

After first save

post-269997-0-10833000-1367239979_thumb.jpg

 

After second save

post-269997-0-35475300-1367239979_thumb.jpg

 

After third save

post-269997-0-64632900-1367239979_thumb.jpg

 

many thanks for this information

 

i must know what ps version you use, which languages and where you've got webhosting service

 

thanks

  • Like 1

Share this post


Link to post
Share on other sites

 

many thanks for this information

 

i must know what ps version you use, which languages and where you've got webhosting service

 

thanks

Hi

 

Using 1.5.4.0, English, siteground shared hosting.

Share this post


Link to post
Share on other sites

 

--- for free ---

 

 

This module is great tool for adding to your shop widgets created by other websites like twitter, facebook, pinterest, allegro, etc. Main feature in this module is an ability to add the "client side" code such like HTML, javascript, css for any place you want.

 

 

htmlbox-free-big.png

 

 

 

 

wait for tutorials about usage this module for adding facebook like box etc.

 

updates:

 

1.4.1 | 29.04.2013

1.3 | 07.11.2012

 

download file:

 

 

Hi, can I add this on my contact page?

 

Above so I can insert more info and maybe a nice image?

 

//Patrik

Share this post


Link to post
Share on other sites

Hello, this module supports only 6 default hooks related to the homepage (columns, footer, home, header, top)

which mean that it isn't possible to add own content to the contact page.

 

moreover, you haven't go there any hook by default, so you can do this only by editing tpl files of your theme

Share this post


Link to post
Share on other sites

Hello, this module supports only 6 default hooks related to the homepage (columns, footer, home, header, top)

which mean that it isn't possible to add own content to the contact page.

 

moreover, you haven't go there any hook by default, so you can do this only by editing tpl files of your theme

 

 

alright, that is so cool, are you able to provide me with changes to make this work?

 

I buy your module then.

 

//Patrik

Share this post


Link to post
Share on other sites

 

 

alright, that is so cool, are you able to provide me with changes to make this work?

 

I buy your module then.

 

//Patrik

 

hey, but this is free module, you don't have to pay to download it

Share this post


Link to post
Share on other sites

hey, but this is free module, you don't have to pay to download it

hey, but this is free module, you don't have to pay to download it

 

 

hahahaha even more cool, but I really like to know what it needs to change to make it work as on contact page?

Share this post


Link to post
Share on other sites

you need to create own hook and use it in contact.tpl page

then it is necessary to modify the module code, you have to add new hook support

it's not as easy as it seems

Share this post


Link to post
Share on other sites

hello, good module, should have only a mistake, you can verify?

when activated and deactivated the editor some html code disappears, you can verify?

 

I have this code

 

<marquee ALIGN="Top" LOOP="infinite" BGCOLOR="#FFFFFF" DIRECTION="left" HEIGHT=30 WIDTH=594>

<font size=3><font color="#87CEEB">*Produtos, Acessórios e Componentes Originais e de Alta Qualidade*</font>

</marquee>

 

when active editor and disable the editor is well

 

<span style="font-size: medium;"><span style="color: #87ceeb;">*Produtos, Acessórios e Componentes Originais e de Alta Qualidade*</span> </span>

Edited by Speed2010 (see edit history)

Share this post


Link to post
Share on other sites

hello, here I leave the translation of the module to Portuguese.

Was translated most of the module, translated in prestashop 1.4.10, hope you enjoy

greetings

pt.php

Edited by Speed2010 (see edit history)

Share this post


Link to post
Share on other sites

hello, to duplicate the same Hook 2 times, you can use this module together.

https://dl.dropboxusercontent.com/u/62677780/Prestashop/Modulos%20PrestaShop/Prestahop%20v1.4xx%20-%20v1.5xx/Gr%C3%A1tis/blockhtml%20v2.1_PS%201.4.10.rar

 

It is what I have, I use the 2 modules.

Vekia, you can see the error I told you on the previous post?

greetings

Edited by Speed2010 (see edit history)

Share this post


Link to post
Share on other sites

how?

 

read the module license:

 

 

It is strictly forbidden to:

1) Use our products in many shops / domains / production websites with one (1) license bought. It mean: one license = one shop - a separate license should be purchased for each PrestaShop installation.

2) Reselling and redistributing our products.

3) Remove "MyPresta.eu" trademarks like "proudly developed by MyPresta.eu" from any place in the code is strictly forbidden, in free modules also.

4) Copying code and changing module name to duplicate addon

 

hello, to duplicate the same Hook 2 times, you can use this module together.

https://dl.dropboxus...PS%201.4.10.rar

 

It is what I have, I use the 2 modules.

Vekia, you can see the error I told you on the previous post?

greetings

 

i will check it, thanks :-)

Share this post


Link to post
Share on other sites

when activated and deactivated the editor some html code disappears, you can verify?

 

I have this code

 

<marquee ALIGN="Top" LOOP="infinite" BGCOLOR="#FFFFFF" DIRECTION="left" HEIGHT=30 WIDTH=594>

<font size=3><font color="#87CEEB">*Produtos, Acessórios e Componentes Originais e de Alta Qualidade*</font>

</marquee>

 

when active editor and disable the editor is well

 

<span style="font-size: medium;"><span style="color: #87ceeb;">*Produtos, Acessórios e Componentes Originais e de Alta Qualidade*</span> </span>

 

Portuguese translation for your module

http://www.prestashop.com/forums/index.php?/topic/189039-module-html-box-for-free/page__view__findpost__p__1214800

Edited by Speed2010 (see edit history)

Share this post


Link to post
Share on other sites

you use latest version of this module?

Share this post


Link to post
Share on other sites

you use latest version of this module?

 

How can I add a hook on the contact page so I can have image, info text etc above the contact form info?

 

I bought the bigger HTML module ;-)

Share this post


Link to post
Share on other sites

you use latest version of this module?

 

hello, I think so.

use version 1.4.1, only when active and disable the editor, html code is different.

greetings

Share this post


Link to post
Share on other sites

hello, I think so.

use version 1.4.1, only when active and disable the editor, html code is different.

greetings

 

okay Im checking this. I will update module (fix for this issue and I will add your translation pack - thanks!)

Share this post


Link to post
Share on other sites

hello, friend anything, I'm here to help too.

ok, so I'm waiting.

greetings

Share this post


Link to post
Share on other sites

Did you see my last message?

 

Best// Patrik

 

In your case it is necessary to create own hook in contact page, moreover - then you have to modify module sources.

Module uses only default hooks in prestashop

Share this post


Link to post
Share on other sites

In your case it is necessary to create own hook in contact page, moreover - then you have to modify module sources.

Module uses only default hooks in prestashop

 

okey, so HOW can I do this? ;-)

 

//Patrik

Share this post


Link to post
Share on other sites

hello vekia always going to update your module? but I have uninstalled and then later when you do install the update

greetings

Share this post


Link to post
Share on other sites

1.4.2 released!

(fix with ' \\\ and now module supports all html tags + PT translation - special thanks for )

Share this post


Link to post
Share on other sites

hello, okay? the problem is still there.

 

you put the html code, activate and then deactivate the editor, the code is not the same, it takes some code.

 

you can do with this code

 

<marquee ALIGN="Top" LOOP="infinite" BGCOLOR="#FFFFFF" DIRECTION="left" HEIGHT=30 WIDTH=594>

<font size=3><font color="#87CEEB">*Produtos, Acessórios e Componentes Originais e de Alta Qualidade*</font>

</marquee>

 

activate and then deactivate the editor, is well

 

<span style="font-size: medium;"><span style="color: #87ceeb;">*Produtos, Acessórios e Componentes Originais e de Alta Qualidade*</span> </span>

Edited by Speed2010 (see edit history)

Share this post


Link to post
Share on other sites

i pasted the code, I turned on editor:

zaQ5eDa.png

 

then turned it off:

JMsErGv.png

Share this post


Link to post
Share on other sites

Vekia, is it possible for you to tell me how to insert your module at the top or bottom at the contact page?

Share this post


Link to post
Share on other sites

hello

 

I remember that i said somewhere what is necessary to do in this case, it is necessary to add the new hook to the contact page, then modify the source of module to support that hook

Share this post


Link to post
Share on other sites

hello

 

I remember that i said somewhere what is necessary to do in this case, it is necessary to add the new hook to the contact page, then modify the source of module to support that hook

 

okey, sad to say but Im not THAT good on just that part :-(

 

//Patrik

Share this post


Link to post
Share on other sites

okey, sad to say but Im not THAT good on just that part :-(

 

//Patrik

 

Okay, so I will write step by step tutorial about creating new hook in contact form, what prestashop version you use?

Share this post


Link to post
Share on other sites

Okay, so I will write step by step tutorial about creating new hook in contact form, what prestashop version you use?

 

wow, thank you so much, I have two stores in 1.4.7.3 and one in 1.5.4.0

Share this post


Link to post
Share on other sites

hello, have uninstalled and installed again, but still does not work.

html code to activate and deactivate the editor is different

My version is 1.4.10.

Share this post


Link to post
Share on other sites