Jump to content

[Free Module] ContentBox 1.1.2


Recommended Posts

[ IMPORTANT ] we are doing a server migration The site will be off line. I will update this post once it is done

Hello every one,
after 9 months contentBox gets a new version compatible with prestashop 1.7
I have attached the zip file and you can always build your custom module at our site
https://contentbox.org

cheers

 

 

contentbox.zip

Edited by migcostapt (see edit history)
  • Like 1
  • Thanks 7

Share this post


Link to post
Share on other sites
23 hours ago, xsuchyx said:

Hello, I cant get it to work, it display plain text - not html. Even if I use wrapper it only print "<div>test</div>". Html block dont work in presta 1.7? only text?

 

I'm experiencing the same thing unfortunately. It just displays text, no html. Even when text editor mode is disabled. Any news on a fix? Really like the idea, would love to be able to use this!

Share this post


Link to post
Share on other sites

Hi

i was trying to install the module , but when i do upload it gives me this error atached.

 

can you kindly see and help?

my prestashop version is 1.7.3

 

Thanks

errorwhenuploadmodule.JPG

Share this post


Link to post
Share on other sites

Hello

I am using your module ContentBox v1.1.2 for my prestashop v1.6.1.18.

It's working great on Iphones, allows me to add easily customed content on my front page.

Though on Android phones, the text is exceeding the screen ...

Would it be a mean to adapt it to android too ?

Thank you

 

 

Here are examples of both versions :

30849354_995886320560460_405009640_o.thumb.jpg.8d85b8efa4f09e5e91f2f7cc8fa06855.jpg31016663_995886100560482_1805382042_o.thumb.jpg.91bc307157b8d2c7837bc874b361694d.jpg

 

Share this post


Link to post
Share on other sites
  • 2 weeks later...

@migcostapt, your addon is AWESOME!

I didn't get any notification for your reply, but thank you for the HTML fix! This will be very useful in future projects.

Share this post


Link to post
Share on other sites
  • 3 weeks later...
1 hora atrás, Guillaume disse:

I have a small question, can we make a different content for 2 block? If yes I didn't find how :s

Not really sure of what you asking ( sorry about that  :\ )  can you please elaborate more?

Share this post


Link to post
Share on other sites
2 minutes ago, migcostapt said:

Not really sure of what you asking ( sorry about that  :\ )  can you please elaborate more?

I want to create a block in my header and one in my footer. I did that. But the content of the 2 different blocks is the same. In my header i want for exemple "hello" and in my footer "goodbye". But If I modify the content for one block it changes for the other one. Can i make a separate content for the 2 blocks?

Share this post


Link to post
Share on other sites
2 horas atrás, Guillaume disse:

I want to create a block in my header and one in my footer. I did that. But the content of the 2 different blocks is the same. In my header i want for exemple "hello" and in my footer "goodbye". But If I modify the content for one block it changes for the other one. Can i make a separate content for the 2 blocks?

Guillaume, now I get you :).
Currently you have 1 module that is hooked on the header and the footer. This means that the content is the same on both places (header and footer) because it is the same module.
You need to have 1 module for the footer and 1 module for the header.
You can do that by using our module builder (available  on our site: https://www.contentbox.org) to create a custom new module.
Just click on the "Generate you module" button (next to the download button) and give it a name (i.e:footer) and download +install the new module
Next hook the new module to the footer and that is it.
I hope it makes sense.
cheers

  • Thanks 1

Share this post


Link to post
Share on other sites
  • 2 weeks later...

Hello. is there any help on how to work with the module? it is not clear how to use attached css and js files. Maybe someone from the users will speak briefly? I have PS 1.7.2.5 and contentBox 1.1.3

Share this post


Link to post
Share on other sites

Hello and Thank you for this very useful module.

i checked my source code and found double slashes in the uploaded files with contentbox.

is this a normal condition?

Best regards

css.PNG

js.PNG

Share this post


Link to post
Share on other sites
  • 2 weeks later...
  • 1 month later...
  • 1 month later...

Hi Firstly thanks for a great module - have used it to add custom content to a few site pages now and it's great to be able to add blocks  so easily.

However I do have one question, similar to what the hurricane asked regarding products.

I'd like to put ContentBox1 on productfooter of product1, ContentBox2 on Productfooter of product 2 etc, using separate content boxes for each.

Is there a way of using an if statement to call the relevant box? I've managed to do this with hooking modules into various CMs page before by creating new hook and then adding a call function

Kind of:

public function hookcustomContentBox($params)
{
 
    if (Tools::getValue('id_product') != 1)
        return;
    return $this->hookDisplayProductfooter($params);
}
 
Many thanks
Baz

Share this post


Link to post
Share on other sites
  • 2 weeks later...

This module add content block in global positions or can this be use per products?

Right now, PS only allows 2 text areas, Short Description and Long Description but I need something that can extend products information, say I need 1 or 2 more text areas, either for a video, text, html or just plain text, is there such module?

Share this post


Link to post
Share on other sites
On 6/29/2018 at 8:02 PM, Mr Noise said:

Hi,

Try to use your module to add a javascript code onto the footer from statcounter. How to handle?

 

Regards,

Hi

 

I have also the same issue...

i have 5 languages in my site, and i need to have a .js code to run on each 5 different languages.. 

because it's different from lang to lang 

is there any way?

when i to it dows not appear nothing.. it's a chat box.. 

it does not appear not even in one or in the main site.. :(

what can be wrong? 

please help

Share this post


Link to post
Share on other sites
On 4/19/2018 at 1:04 PM, migcostapt said:

@nbexiga can you please re download the module and try again?
thank you

Hi

not i sucessefully installed 

but i have one issue / doubt 

 

i have 5 languages in my site, and i need to have a .js code to run on each 5 different languages.. 

because it's different from lang to lang 

is there any way?

when i to it does not appear nothing.. it's a chat box.. 

it does not appear not even in one or in the main site.. :(

what can be wrong? 

please help

many thanks

Share this post


Link to post
Share on other sites
  • 2 months later...
  • 1 month later...
  • 3 weeks later...
  • 1 month later...
  • 4 weeks later...

Dear MigCostApt
WoW! This is exactly what I wo0ul need.
But, when I load the HTML-code into the module everysthin looks fine (here Before Saving)
but as soon as I Save the module it appears like here blow (After Saving).
Could you please tell me If I am doing something wrong?

 

image.thumb.png.71bc4abe2a326746bb95355a27ca743f.png

Share this post


Link to post
Share on other sites

Hello,

Something seems to be wrong when downloading the module from its contentbox.org location.

It constantly gives me a network error and process is aborted before the  download finishes.

What could be wrong?

 

 

Share this post


Link to post
Share on other sites
  • 3 weeks later...
  • 2 months later...
  • 4 weeks later...

Hello.

This sounds so good, but I have absolutely no idea what I am doing.

My site is very basic.

I want to insert html code for a timer-countdown,  just below or above the horizontal menu.

I install the module then configure, I add my html text in the big empty block. Then I don't know what to do.

I would really appreciate any help.

Thank you.

Renier

 

Share this post


Link to post
Share on other sites
  • 2 weeks later...

Hola:

qué configuración tendría que hacer para que el módulo solo se mostrase en un hook de una sola categoría? Es decir no quiero que se muestre en el resto de categorías, solo en una.

 

english

Hello:

 What configuration would you have to do so that the module would only be shown in a single category hook?  In other words, I don't want it to be shown in the other categories, only in one.

 

thanks!!

Share this post


Link to post
Share on other sites
  • 1 month later...

Hi. The module seems promising but I can't find where to select hook? And in positions contentBox can only be displayed in displayFooter... 

What am i missing? 

Prestashop 1.7.6.2 ,classic theme, no other modules installed.  

 

Please advise

 

Share this post


Link to post
Share on other sites
  • 2 weeks later...

Hello tarzane,

You have to click on the button "Generate your module" and fill in the fields to generate custom contentBox module, this allows you to have several contentBox modules at the same time on your Prestashop site ;)

Regards

Share this post


Link to post
Share on other sites
  • 2 weeks later...
il y a 10 minutes, Coches-teledirigidos a dit :

Good Morning,
I have this module in my store. I have a question, I am thinking of updating PHP from my server from 5.4.45 to PHP7.x, will I have any problem with the operation of your module if I make the change? or are you ready for this version of PHP?
thanks
David

Hello,

The module is Ready for PHP 7.x

Regards

Share this post


Link to post
Share on other sites
  • 1 month later...

Hi

Hoping you can help - I've installed the module and it appears in the back end for configuration, but I can't get it to appear on the front end!

Its Prestashop 1.7.6.3 on PHP 7.2

I've got it hooked to left column, footer and homepage but its not showing.

Thanks for your help...

Share this post


Link to post
Share on other sites
  • 2 months later...
  • 2 weeks later...
  • 1 month later...

Hi there!

I'm trying to include in the ContentBox this piece of code (v. 1.6.0.14):

<img srcset="elva-fairy-320w.jpg 320w,
             elva-fairy-480w.jpg 480w,
             elva-fairy-800w.jpg 800w"
     sizes="(max-width: 320px) 280px,
            (max-width: 480px) 440px,
            800px"
     src="elva-fairy-800w.jpg" alt="Elva dressed as a fairy">

but when saving it disappear.

Is not possible include propperties like "srcset" and "sizes"? Is it aproblem of PrestaShop config.?

Share this post


Link to post
Share on other sites
  • 2 weeks later...

Hola para todos estoy utilizando este módulo para insertar un scripts en el  Hook displayOrderConfirmation.  La versión que estoy utilizando de PrestaShop es la 1.7.6 .5. El scripts se dispara bien el problema es obtener las variables como firstname,lastname,email,id_order,total. Mi pregunta es si mediante este módulo puede tener acceso a esas variables y como las obtendria. Muchas por su ayuda 

Edited by Yaicy (see edit history)

Share this post


Link to post
Share on other sites
  • 2 weeks later...
  • 1 month later...

 

On 4/11/2019 at 6:36 AM, Emir Chou said:

How can i choose where to display the content  ? I can't see the list of hooks 

contentBox.png

I'm having the same problem as you, I can't find a hook to put the ContentBox in. Any help?

Share this post


Link to post
Share on other sites
  • 1 month later...

Hi,

       I get 500 internal server error on 1.7.6.8 upgrade when clicking edit or transplant after installation.

It was working on previous versions of 1.7

 

Thank  you

Share this post


Link to post
Share on other sites
  • 1 month later...

Hi ! 

It seems that there is a limitation of character in the module. As when I save it shorten my code (a very long code that I need to optimize) but in the meantime is there any way to force it to accept my long code?

 

Thanks in advance,

Share this post


Link to post
Share on other sites
  • 2 months later...
  • 2 weeks later...
23 horas atrás, Ze Pedro disse:

Hello Miguel, Im using version 1.7.7.1 , everything seems good, the module is installed and hooked on displayTop, but the content I added in the module is not appearing anywhere in my page. Do you have any ideia why?

 

Hi Ze Pedro, 
check if you template has the hook in place.
You can search on your template's folder for something like this: {hook h='displayTop'} 

cheers

Share this post


Link to post
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...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More