Jump to content

Recommended Posts

Yes it works on 1.6, perfectly.


I have made a simple mod to css to adjusto to Mobile Screens, when banner is on TOP


Just add in the block you want to apply


/* 1 - Top */

@media only screen and (max-device-width: 480px) {
p.advmulti1 img {
    margin:0 auto;




Yo can test it in



Share this post

Link to post
Share on other sites
  • Replies 212
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

Hi all, Now available for download the new module for Prestashop "blockadvertmulti v0.10" that incorporates improvements over my previous module "bannermanager v0.9.1". Blockadvertmulti development

Regarding the problem with 1.5.4 :   [PrestaShop] Fatal error in module blockadvertmulti: Call to undefined function checkImage()   I solved it by editing php file blockadvertmulti.php   Find a

Hi.   I made a v0.10.2 Here is the changelog. I used google translate for the other languages. Added Features: [+] BO: Option to update image [+] Core/FO: Banner sections are now in their own f

Posted Images

  • 3 weeks later...

hi there


I already installed the module but now I got a issue...


Seems the advertise DIV are bigger then it should.... I remove the module but advertise keeps showing..


Check on botton



Share this post

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

Works great in 1.6 so far only had to modify it few times but easy stuff. Also not sure if I have wrong version or something but I think id are wrongly writen in tpl files for positions. Right now it's



<p id="advmulti{$banner.id_blockadvertmulti}" class="advmulti{$banner.id_blockadvertmulti}">


<p id="advmulti{$banner.id_blockadvertmulti}" class="advmulti{$hook}">

respectively for top and for left (didn't look at others) so had problems with css because banners in left and second banner on top had the same id. Changed it to:

<p id="advmulti1" class="advmulti1">


for top


<p id="advmulti2" class="advmulti{$hook}">


for left

and now it's working as intendet. Just helping if anybody has the same problem.

Edited by Mothuizyk (see edit history)

Share this post

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

Great module, Thanks.


I would like to add the image dimensions of the banners to make google happy :-)  e.g.:

width="51" height="51" 

Where do I put that code?





Share this post

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


module looks good. But I have one problem. It makes URL of banner link in this form:    webDomain.com/categoryName/banner_link


For example. If user opens homepage, than banner URL is www.domain.com/banner_link. If user opens some page in category, than banner URL is www.domain.com/categoryName/banner_link.


Pleas what and where in files of module I have to change, if I want to use as hyperlink of banner only text(UR)L, which I write in administration of module to filed "Link"?


you can see it here on the left       www.zapokladem.cz  


Thanks a lot, for your help. 

Share this post

Link to post
Share on other sites
  • 2 years later...
  • 10 months later...

hola he desargado y me sale esto

Fatal error: Uncaught Error: Call to undefined method Tools::addCSS() in /home/factorym/factorymarcas.com/modules/blockadvertmulti/blockadvertmulti.php:260 Stack trace: #0 /home/factorym/factorymarcas.com/classes/Hook.php(990): blockadvertmulti->hookHeader(Array) #1 /home/factorym/factorymarcas.com/classes/Hook.php(414): HookCore::coreCallHook(Object(blockadvertmulti), 'hookHeader', Array) #2 /home/factorym/factorymarcas.com/classes/Hook.php(927): HookCore::callHookOn(Object(blockadvertmulti), 'header', Array) #3 /home/factorym/factorymarcas.com/classes/controller/FrontController.php(575): HookCore::exec('displayHeader') #4 /home/factorym/factorymarcas.com/controllers/front/IndexController.php(37): FrontControllerCore->initContent() #5 /home/factorym/factorymarcas.com/classes/controller/Controller.php(306): IndexControllerCore->initContent() #6 /home/factorym/factorymarcas.com/classes/Dispatcher.php(518): ControllerCore->run() #7 /home/factorym/factorymarcas.com/index.php(28): DispatcherCore->dispatch() #8 {main} thrown in /home/factorym/factorymarcas.com/modules/blockadvertmulti/blockadvertmulti.php on line 260


que puedo hacer para solcuionarlo



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