[free] contentBox - html modules - Page 11 - Free Modules & Themes - PrestaShop

Jump to content


[free] contentBox - html modules

html free js file image upload


Posted 10 January 2017 - 07:01 PM

Endless hair

    PrestaShop Newbie

  • Members
  • Pip
  • 9 Active Posts

HI, I think Contentbox is great and very useful. But I'm trying to use it for adding embedding script/code to have Nosto on my site. But even thought I have put the code in the box and saved-the box does appear in the head but is empty..???


Can you give me any ideas why this is happening???


Thank you in advance!




Posted 17 January 2017 - 01:55 PM


    PrestaShop Newbie

  • Members
  • Pip
  • 5 Active Posts

I´ve installed it on 1.7 and it´s working so far after changing the contentbox.php to work up to 1.7.

BUT it only posts the code. So HTML isn´t working it´s just displaying what I type in.

Like <div id="test">Test</div> and not only the "Test".


I´m sure it´s something to configure in the shop itself, the module is doing what it should.


And because I´ve red it earlier, to make the content responsive, just use: @media (max-width: 767px) {.test {color: black;} }



Hi Shad86,


could you please tell me what you changed in contentbox.php in order to make it work in PS 1.7?

I'm really interested on it. Will the module be upgraded officially soon?


Thank you very much.


Posted 17 January 2017 - 02:01 PM


    PrestaShop Addict

  • Members
  • PipPipPip
  • 890 Active Posts

Yes, it will be completely rebuild.


So far the solution (not a very clean one) is to open the contentbox.php and change line 32 and line 179 to the following:

$this->ps_versions_compliancy = array('min' => '1.5', 'max' => '1.7');
return $pre_content.$content_query['content_text'].$pos_content;

It´s working for me very well but Miguel Costa is looking for a cleaner way and will upgrade the modul hopefully soon.

Unser Shop: http://display-and-pack.de

Prestashop · Theme by Theme Maker · Kein EU-Legal

Zu Testzwecken: 1.7.0.* · Classic Theme mit bearbeitetem CSS

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Cookies help us deliver our services. By using our services, you agree to use our cookies.     Learn more