HTML Block

HTML Block

Front Office Features Prestashop: 1.5. 1.6
15.9

So, you want to add a couple of lines of css, or html, or even javascript to your shop. BUT! You don’t know how to create a module, or you think it’s not worth it for the amount of code you’re adding. This is exctly where my new Prestashop Module, HTML Block, comes in handy!

With one single module, you can add as many code blocks as you want, in every visible hook Prestashop comes with. Want to style the background of a page? Add the css code, stick it to the header and voila’!

Need to paste some tracking code for the orders? Add the javascript snippet to a block and hook it to the order confirmation page!

It’s as simple as it is, add your content (with full support of the visual editor TinyMCE if needed), select the hook and click add.

You can also rearrange the order of the blocks if needed, of course.

Last but not least, it has full support for multiple languages, so that you can add different content (like different facebook feed boxes!) specifically for each language.

How it makes your life easier

  • No need to add php at all
  • Add HTML, CSS, or even Javascript wherever you want in your store
  • Multilanguage Support
  • Boxes can be arranged when needed
  • You can toggle on/off the TinyMce visual editor
  • it supports all the 24 hooks available in Prestashop 1.5!

 

Changelog

1.1

  • FIX: fixed tinymce bug in 1.6
  • FEAT: added support for all new visual hooks of Prestashop 1.6
  • Compatibility: Prestashop 1.5. 1.6
  • Core Modifications: No
  • Overrides: No
  • Languages: English, supports multilanguage
  • Multistore support: No
  • Module Version: 1.1.2 (Last update September 26 2014)
Product Score
Grade 
Carlos L
10/4/2014

Works great!

Thanks for this module so handy.
Works without any problems.

PrestaShop™ 1.6.0.9

Grade 
Brian T
09/25/2013

Amazing agility and ease of use

Nemo always replies quickly to any question and this module is so simple to use and understand. We used it to add an external navigation menu. that necessitated adding three blocks, one for html markup, one for css, and one for js.

Perfect.

Write your review

HTML Block

HTML Block

WIth this extremely flexible prestashop module, you can add any kind of html, css or javascript content to every existent hook in prestashop, without writing a single line of php

Write your review

NO registration required!

9 Question(s) answered

If the question you have has not yet been answered here, use the form below to ask something about this addon.

(optional)
*(Required to be notified when an answer is available)
Send question!
  • Asked by Brian
    Hi -I am still new to Prestashop. So I'm not familiar with all 24 hook points. I have some js that I need to position at the very top of the page, above the currency links and language drop down links. Will this module be able to place the script there? ThanksBrian Answer:
    Hi Brian! Yes, you can use the 'top of pages' hook for this!
  • Asked by luigi
    - Is possible put different code html under different category? Es site www.gentemoda.itunder category www.gentemoda.it/Sposo put some (position under description put some link )Under category www.gentemoda.it/ taglie forti put some other link...thank youLuigi Answer:
    No, that would mean having to add template variables, and it's not possible at the moment!
  • Asked by luigi
    Hi could ask you to inform me when will be possible put in category this module please inform me...Can i ask you where i can find module Answer:
    This functionality cannot be added, as you can''t add such template variables within html
  • Asked by David
    Hi. I am needing to add a site seal and a picture to Prestashop. Is it possible to do with this module? I am new to Prestashop. Thanks, David Answer:
    Hi! Yes, you can simply add an >img> tag with the link to your picture, and place it wherever you want!
  • Asked by Larry
    on 02/3/2014
    Hello Nemo, I am new to Prestashop and I want to change the footer in my e-shop. It currently displays 4 blocks: An Information Block, an Account block, a Twitter widget block and a proprietary Facebook block. I want to replace all of the above with a couple of Html blocks: 1. Would display images that link to CMS Data 2. A Generic Facebook Like block (the one provided by Facebook) Would this module work? Answer:
    Hi! Yes, it would fit your needs! Only one thing: if yo use multiple languages, remember to add the correct cms link for each of them in the module!
  • Asked by Larry
    on 02/4/2014
    Hi Nemo, One more thing. I am considering using the multistore feature soon. Will that be a problem? Answer:
    Not a big problem, but the module will be the same in all stores! No multistore support at the moment
  • Asked by Christian
    on 03/25/2014
    Hello, work this Module (HTML Block) with Prestashop 1.6 ? THX, Christian Answer:
    Hi! Yes, it works on the latest release!
  • Asked by Catalin
    on 07/23/2014
    Hi Nemo, Is this module compatible with the multistore feature now? Answer:
    Not yet, I will have to re-think the database structure a bit for it, so it might take some time for the implementation
  • Asked by Katrine
    on 02/20/2016
    Is there a max limit on number of characters/lines you can put in each HTML block? As i tried to make a new block and paste my 2000 line code, it only saved about half the code in the new block. If there is a max limit, would it be possible to change it? It would be quite difficult to make this code work properly, if I have to upload it into 3 different HTML blocks. Answer:
    There is not. However, the module is using TEXT as column type in the database. You might want to change that to MEDIUMTEXT or LONGTEXT

You like the module, but think it is still missing something? Submit a feature request! The most requested ones will be added to it!

Before adding a new feature request, check if it's already in the list, and eventually pull for that, instead.


*(Required to be notified when the feature will be implemented. Make sure you tick the box above!)

Send question!