alfredopacino Posted March 23, 2014 Share Posted March 23, 2014 (edited) there is a manufacturer slider 1.6 compatible module? ps: im searching for a free custom html module too, i cant find it.. Edited March 23, 2014 by alfredopacino (see edit history) Link to comment Share on other sites More sharing options...
alfredopacino Posted March 26, 2014 Author Share Posted March 26, 2014 anyone? Link to comment Share on other sites More sharing options...
vekia Posted March 27, 2014 Share Posted March 27, 2014 ps: im searching for a free custom html module too, i cant find it.. latest version of free html box module works with prestashop 1.6 Link to comment Share on other sites More sharing options...
Fanto Posted May 5, 2014 Share Posted May 5, 2014 hallo. i'm testing one manufacturer slider for prestashop 1.6 i had to edit an old manufactures slide for compatibility with new PS. now i have only to fix IE 11 compatibility. with chrome, safari, and ie11 compatibility mode all is ok. if i'll solve IE11 compatibility issue, i'll put the code here. :/ it's a bit hard 1 Link to comment Share on other sites More sharing options...
dioniz Posted May 5, 2014 Share Posted May 5, 2014 (edited) Try this one. It's made for 1.6 Updated again 07 .jun. 2014! tommatobrands.zip Edited June 7, 2014 by dioniz (see edit history) 5 Link to comment Share on other sites More sharing options...
alfredopacino Posted May 5, 2014 Author Share Posted May 5, 2014 Try this one. It's made for 1.6 tommatobrands.zip - i tried to download and install but i can't find it in installed module... anyway i found tommato brands block in the PS module catalogue, installed and it works (i get broken image source but i will figure it out myself) but if i add this module in displayHome position i get the error: "Fatal error: Call to undefined method TommatoBrands::hookTopColumn()" Link to comment Share on other sites More sharing options...
vekia Posted May 5, 2014 Share Posted May 5, 2014 there is an issue change public function hookDisplayHome($params) { return $this->hookTopColumn($params); } public function hookDisplayHomeTabContent($params) { return $this->hookTopColumn($params); } to public function hookDisplayHome($params) { return $this->hookDisplayTopColumn($params); } public function hookDisplayHomeTabContent($params) { return $this->hookDisplayTopColumn($params); } 1 Link to comment Share on other sites More sharing options...
alfredopacino Posted May 5, 2014 Author Share Posted May 5, 2014 (edited) there is an issue change public function hookDisplayHome($params) { return $this->hookTopColumn($params); } public function hookDisplayHomeTabContent($params) { return $this->hookTopColumn($params); } to public function hookDisplayHome($params) { return $this->hookDisplayTopColumn($params); } public function hookDisplayHomeTabContent($params) { return $this->hookDisplayTopColumn($params); } i solved, thanks as you can see i get broken link, the module has that wrong format: 7-manufacturer_default.jpg the images has name [id]-[large,medium,small]_default.jpg (ex: 7-large_default.jpg) could you fix that? in 74th row i tried, but i cant solve Edited May 5, 2014 by alfredopacino (see edit history) Link to comment Share on other sites More sharing options...
dioniz Posted May 5, 2014 Share Posted May 5, 2014 Have you set up manufacturers? Link to comment Share on other sites More sharing options...
vekia Posted May 5, 2014 Share Posted May 5, 2014 so, instead of link like: http://XXXXitalia.it/zarrillo/img/m/3-manufacturer_default.jpg it should be like: http://XXXXitalia.it/zarrillo/img/m/3-medium_default.jpg try to change line: if (file_exists(_PS_MANU_IMG_DIR_.$manufacturer['id_manufacturer'].'-'.ImageType::getFormatedName('medium').'.jpg')) to if (file_exists(_PS_MANU_IMG_DIR_.$manufacturer['id_manufacturer'].'-'.ImageType::getFormatedName('medium_default').'.jpg')) Link to comment Share on other sites More sharing options...
dioniz Posted May 5, 2014 Share Posted May 5, 2014 Wonder why this works on my site? Link to comment Share on other sites More sharing options...
vekia Posted May 5, 2014 Share Posted May 5, 2014 Wonder why this works on my site? perhaps you use 1.5 with "medium" image type (name) instead of "medium_default ? Link to comment Share on other sites More sharing options...
dioniz Posted May 5, 2014 Share Posted May 5, 2014 Nah i forgot that i created new format for my images and named it manufacturer_default. Too much coffee again Link to comment Share on other sites More sharing options...
alfredopacino Posted May 5, 2014 Author Share Posted May 5, 2014 so, instead of link like: http://XXXXitalia.it/zarrillo/img/m/3-manufacturer_default.jpg it should be like: http://XXXXitalia.it/zarrillo/img/m/3-medium_default.jpg try to change line: if (file_exists(_PS_MANU_IMG_DIR_.$manufacturer['id_manufacturer'].'-'.ImageType::getFormatedName('medium').'.jpg')) to if (file_exists(_PS_MANU_IMG_DIR_.$manufacturer['id_manufacturer'].'-'.ImageType::getFormatedName('medium_default').'.jpg')) uhm i tried but i can't see any difference (i have smarty cache off and tried to reset the module) what should i do for "reload" the php code? Link to comment Share on other sites More sharing options...
dioniz Posted May 6, 2014 Share Posted May 6, 2014 I didn't want squared images for manufacturers so i made new type manufacturer_default in BO > preferences > images and select Manufacturers So, in .tpl file i set it to use : manufacturer_default.jpg <a href="{$link->getmanufacturerLink($manufacturer.id_manufacturer, $manufacturer.link_rewrite)|escape:'html'}" title="{l s='More about %s' sprintf=[$manufacturer.name] mod='blocktommatobrands'}"><img class="img-responsive" src="{$img_manu_dir}{$manufacturer.id_manufacturer}-manufacturer_default.jpg" alt="{$manufacturer.name}" /></a> Change manufacturer_default.jpg to whatever type of pic you want or make new type of image called manufacturer_default Link to comment Share on other sites More sharing options...
vekia Posted May 6, 2014 Share Posted May 6, 2014 hmm but why medium_default doesnt work? this kind of image exists for manufacturers ...... (?) Link to comment Share on other sites More sharing options...
dioniz Posted May 6, 2014 Share Posted May 6, 2014 Probably because i made code in tpl to load manufacturer_default.jpg Link to comment Share on other sites More sharing options...
alfredopacino Posted May 12, 2014 Author Share Posted May 12, 2014 im still stuck with that broken image src and i noticed the slider doesnt even work as a slider (i see just a list without prev/next buttons) when i move it on displayHome position you can see in home page Link to comment Share on other sites More sharing options...
dioniz Posted May 13, 2014 Share Posted May 13, 2014 Where is your site? Link to comment Share on other sites More sharing options...
Ron morales Posted May 23, 2014 Share Posted May 23, 2014 (edited) work for me 1.6 as well , tommatobrands.php $manufacturer['image'] = $this->context->language->iso_code.'-default'; if (file_exists(_PS_MANU_IMG_DIR_.$manufacturer['id_manufacturer'].'-'.ImageType::getFormatedName('medium_default').'.jpg')) tommatobrands.tpl <a href="{$link->getmanufacturerLink($manufacturer.id_manufacturer, $manufacturer.link_rewrite)|escape:'html'}" title="{l s='More about %s' sprintf=[$manufacturer.name] mod='blocktommatobrands'}"><img class="img-responsive" src="{$img_manu_dir}{$manufacturer.id_manufacturer}-medium_default.jpg" alt="{$manufacturer.name}" /></a> Very thanks for this module! Edited May 23, 2014 by Ron morales (see edit history) Link to comment Share on other sites More sharing options...
dioniz Posted May 24, 2014 Share Posted May 24, 2014 You are welcome Link to comment Share on other sites More sharing options...
ericleonardocunha Posted June 1, 2014 Share Posted June 1, 2014 Hello, this is a Free Manufacturer Slider (Carousel) from Sport Shoes Template by Leo Themes. Responsible and Compatible with both PS 1.5 and 1.6. Just unzip and put the folder lofmanufacturerscroll2 in Prestashop Modules folder (not in themes). After this, go to Backoffice and click Install. Customize it as you want. See it in my store: www.invictus-suplementos.com.br Oh, that beautiful One Page Checkout in my site is the module by Presteam: http://www.presteamshop.com/en/modules-prestashop/one-page-checkout-prestashop.html lofmanufacturerscroll2.zip Link to comment Share on other sites More sharing options...
capi666 Posted June 2, 2014 Share Posted June 2, 2014 Hi, Is it possible the same but for a products? Regards, Link to comment Share on other sites More sharing options...
alfredopacino Posted June 2, 2014 Author Share Posted June 2, 2014 Hello, this is a Free Manufacturer Slider (Carousel) from Sport Shoes Template by Leo Themes. Responsible and Compatible with both PS 1.5 and 1.6. Just unzip and put the folder lofmanufacturerscroll2 in Prestashop Modules folder (not in themes). After this, go to Backoffice and click Install. Customize it as you want. See it in my store: www.invictus-suplementos.com.br Oh, that beautiful One Page Checkout in my site is the module by Presteam: http://www.presteamshop.com/en/modules-prestashop/one-page-checkout-prestashop.html you can see in homepage tommato module and lofmanufacturerscroll2.. both generates a broke src image.. Link to comment Share on other sites More sharing options...
dioniz Posted June 2, 2014 Share Posted June 2, 2014 work for me 1.6 as well , tommatobrands.php $manufacturer['image'] = $this->context->language->iso_code.'-default'; if (file_exists(_PS_MANU_IMG_DIR_.$manufacturer['id_manufacturer'].'-'.ImageType::getFormatedName('medium_default').'.jpg')) tommatobrands.tpl <a href="{$link->getmanufacturerLink($manufacturer.id_manufacturer, $manufacturer.link_rewrite)|escape:'html'}" title="{l s='More about %s' sprintf=[$manufacturer.name] mod='blocktommatobrands'}"><img class="img-responsive" src="{$img_manu_dir}{$manufacturer.id_manufacturer}-medium_default.jpg" alt="{$manufacturer.name}" /></a> Very thanks for this module! Have you changed this? 1 Link to comment Share on other sites More sharing options...
Ron morales Posted June 2, 2014 Share Posted June 2, 2014 Yes how to write up and work fine Link to comment Share on other sites More sharing options...
Guest Posted June 4, 2014 Share Posted June 4, 2014 could you share a new zip file with the corrected code? thanks! Link to comment Share on other sites More sharing options...
dioniz Posted June 4, 2014 Share Posted June 4, 2014 I uploaded updated zip in my first post 1 Link to comment Share on other sites More sharing options...
Guest Posted June 4, 2014 Share Posted June 4, 2014 Thanks Dioniz! If you check my site, do you know why pictures aren't being displayed? (there is a question mark instead) http://www.conso-shop.com/ Thanks Link to comment Share on other sites More sharing options...
dioniz Posted June 4, 2014 Share Posted June 4, 2014 I can see your images. Try to clear cache. Link to comment Share on other sites More sharing options...
Guest Posted June 4, 2014 Share Posted June 4, 2014 You made it! Thanks a lot for your support. very appreciated Link to comment Share on other sites More sharing options...
dioniz Posted June 4, 2014 Share Posted June 4, 2014 You are welcome Link to comment Share on other sites More sharing options...
alfredopacino Posted June 4, 2014 Author Share Posted June 4, 2014 (edited) You are welcome works for me too (finally i can see the images) but as you can see the slider doesnt work the block is in displayhome position Edited June 4, 2014 by alfredopacino (see edit history) Link to comment Share on other sites More sharing options...
dioniz Posted June 4, 2014 Share Posted June 4, 2014 Your site is not loading javascript and css file. Check if you have js and css folder Link to comment Share on other sites More sharing options...
leobardo Posted June 5, 2014 Share Posted June 5, 2014 Hi, module installed on 1.5.3.1, images show OK, but they appear vertically , not in an horizontal slider, any ideas ? there is no "configure" tab on the Back office , thanks Link to comment Share on other sites More sharing options...
dioniz Posted June 5, 2014 Share Posted June 5, 2014 It's made for 1.6 so probably that is a problem. Link to comment Share on other sites More sharing options...
dioniz Posted June 5, 2014 Share Posted June 5, 2014 Sorry guys but i found out that with last update some files didn't copy as they should so i uploaded it again. This module was made for my custom theme so maybe some explanation: As default module will install into displayTopColumn hook which can make some problems with defaut 1.6 theme. You can transplant it to displayHome hook and it should work with some minor css tweaks. Link to comment Share on other sites More sharing options...
dioniz Posted June 7, 2014 Share Posted June 7, 2014 Updated again so now it should work with default 1.6.0.6 theme without problem. Link to comment Share on other sites More sharing options...
rtvt Posted August 4, 2014 Share Posted August 4, 2014 (edited) Try this one. It's made for 1.6 Updated again 07 .jun. 2014! tommatobrands.zip First of all, thanks fo sharing this nice module. Do you the author of this module? Can I use some parts of code of this module and make my own, include it in my theme and then sell it on themeforest with my copyright? Edited August 4, 2014 by RoyVelvet (see edit history) Link to comment Share on other sites More sharing options...
rtvt Posted August 4, 2014 Share Posted August 4, 2014 First of all, thanks fo sharing this nice module. Do you the author of this module? Can I use some parts of code of this module and make my own, include it in my theme and then sell it on themeforest with my copyright? Not actual. I make my own module by myself. Link to comment Share on other sites More sharing options...
sbt Posted August 9, 2014 Share Posted August 9, 2014 Updated again so now it should work with default 1.6.0.6 theme without problem. Thanks for sharing the module! It works fine on PS1.6.0.9, with slight problem. I try to explain what's the problem. 1. BO, When changing values in the BO, it says Notice on line 105 in file ***\tommatobrands.php [8]undefined variable:text_list I just ignored it. 2. FO The first slide moves all right, but the second moves fast and change to the third immediately. Even if I try to manually click on previous or next, the slide does not stay. On the whole, I shall consider it's working. Thanks! Kent Link to comment Share on other sites More sharing options...
dioniz Posted August 9, 2014 Share Posted August 9, 2014 That's probably because you have different size of slides. You can set that in tommatobrands.js Link to comment Share on other sites More sharing options...
sbt Posted August 18, 2014 Share Posted August 18, 2014 Hi, I am experiencing a little bit weird thing about this module. It works perfect on local server, but when I uploaded to online server, the arrow for previous and next is gone, instead, there is text previous and next showing under the image. Tried to disable and enable the module, no change. Dont know why. Link to comment Share on other sites More sharing options...
dioniz Posted August 18, 2014 Share Posted August 18, 2014 Is it possible to see your site? Link to comment Share on other sites More sharing options...
sbt Posted August 18, 2014 Share Posted August 18, 2014 Is it possible to see your site? smarterbuytonga.com I just uninstall and install, then I got the image all in wrong position. Link to comment Share on other sites More sharing options...
dioniz Posted August 18, 2014 Share Posted August 18, 2014 Try to turn off and on CCC Link to comment Share on other sites More sharing options...
sbt Posted August 18, 2014 Share Posted August 18, 2014 Try to turn off and on CCC Solved the problem of direction of the pictures by uninstall, install and live edit. But the problem with text "previous, next" still persists. Would you be able to take a look at it again? The address is smarterbuytonga.com. Thanks a lot! Kent Link to comment Share on other sites More sharing options...
dioniz Posted August 18, 2014 Share Posted August 18, 2014 Images aren't there because every theme may have it's own images and positions of them. To make simple left - right arrows you can do something like this: Open tommatobrands.css and add this code: .bx-controls a.bx-prev:before, .bx-controls a.bx-next:before{ content:"\f0d9"; font-family: "Fontawesome"; font-size: 25px; height: 30px; width: 30px; } .bx-controls a.bx-next:before{ content:"\f0da"; } .bx-controls a.bx-prev span, .bx-controls a.bx-next span{ display:none; } Maybe you'll need a bit of tweaking but make this first and we will see what to do next Link to comment Share on other sites More sharing options...
sbt Posted August 18, 2014 Share Posted August 18, 2014 Images aren't there because every theme may have it's own images and positions of them. To make simple left - right arrows you can do something like this: Open tommatobrands.css and add this code: .bx-controls a.bx-prev:before, .bx-controls a.bx-next:before{ content:"\f0d9"; font-family: "Fontawesome"; font-size: 25px; height: 30px; width: 30px; } .bx-controls a.bx-next:before{ content:"\f0da"; } .bx-controls a.bx-prev span, .bx-controls a.bx-next span{ display:none; } Maybe you'll need a bit of tweaking but make this first and we will see what to do next Thanks for your help! The weird thing is that I migrated my local testing site to online server, which means should be the same. It works perfect on local wamp server, anyway. Tried the above code, seems not working. Maybe I just remove previous and next, which is much easier for me. Thanks Kent Link to comment Share on other sites More sharing options...
dioniz Posted August 18, 2014 Share Posted August 18, 2014 Ah now i see, your site doesn't load tommatobrands.css. Check if you have it in module folder on server Link to comment Share on other sites More sharing options...
sbt Posted August 18, 2014 Share Posted August 18, 2014 Ah now i see, your site doesn't load tommatobrands.css. Check if you have it in module folder on server Yes, I am sure it is on the server. Anything to do with permissions? I am attaching two screenshots for your reference. Thanks Link to comment Share on other sites More sharing options...
dioniz Posted August 18, 2014 Share Posted August 18, 2014 No, permissions are ok. Check if you have it in displayHeader position Link to comment Share on other sites More sharing options...
sbt Posted August 18, 2014 Share Posted August 18, 2014 No, permissions are ok. Check if you have it in displayHeader position Checked and yes it is also in displayheader. Need to unhook it from there? Link to comment Share on other sites More sharing options...
dioniz Posted August 18, 2014 Share Posted August 18, 2014 No, it needs to be there Link to comment Share on other sites More sharing options...
sbt Posted August 18, 2014 Share Posted August 18, 2014 No, it needs to be there This module is at displayheader and displayhome. No problem with this as well? So it is easier for me just to remove the text from the file cause the images are going to slide anyway. Link to comment Share on other sites More sharing options...
dioniz Posted August 18, 2014 Share Posted August 18, 2014 Can you clear cache in BO > Advanced parameters > performance Link to comment Share on other sites More sharing options...
sbt Posted August 18, 2014 Share Posted August 18, 2014 Can you clear cache in BO > Advanced parameters > performance No luck. Let me try redo from the start and let you know what happened. Link to comment Share on other sites More sharing options...
dioniz Posted August 18, 2014 Share Posted August 18, 2014 That's weird. I just downloaded module from PS forum and installed on my 1.6.0.9 test site and it works without problem Link to comment Share on other sites More sharing options...
san_ozcar Posted August 21, 2014 Share Posted August 21, 2014 That's weird. I just downloaded module from PS forum and installed on my 1.6.0.9 test site and it works without problem Hello, Thanks for the module, i install it and it works ok, its just behaving a bit weird because the rotation of the images is quite random it would show 7 logos then roll 2 places and then speed up and jump to a different logo, i have 21 logos showing in total. Is there anything i can do to make the rotation regular? Thanks Link to comment Share on other sites More sharing options...
dioniz Posted August 21, 2014 Share Posted August 21, 2014 Is it possible to see it? Link to comment Share on other sites More sharing options...
san_ozcar Posted August 21, 2014 Share Posted August 21, 2014 Is it possible to see it? Hello, yes : http://www.mcneilsjewellers.co.uk/ Link to comment Share on other sites More sharing options...
san_ozcar Posted August 22, 2014 Share Posted August 22, 2014 Also, how can i make it to show only on the homepage?at the moment it shows on every page. thanks Link to comment Share on other sites More sharing options...
vekia Posted August 23, 2014 Share Posted August 23, 2014 modules > positions search module on modules lists there (associated with hooks) and then click edit icon you willl see there exceptions section, select all instead of "index" it means that module will appear only on "index" page (index = homepage) Link to comment Share on other sites More sharing options...
DARKF3D3 Posted August 31, 2014 Share Posted August 31, 2014 I'm looking for a module similar to this manufacturer slider, but I would like to put custom link on it (for example to a specific tag page) instead of link to manufacturer page. There's something that allow this? Link to comment Share on other sites More sharing options...
ijoin Posted October 28, 2014 Share Posted October 28, 2014 I tried this module, but the only some of the manufacturer clickable Link to comment Share on other sites More sharing options...
IgorOsnitsky Posted November 6, 2014 Share Posted November 6, 2014 Thanks a lot, dioniz! Great and useful contribution! Link to comment Share on other sites More sharing options...
dpfdtn Posted November 7, 2014 Share Posted November 7, 2014 HI! Please help manufacurer slider does not work right ...Please see my page www.showmarket.sk and try to help... I have 56 producers and can not be correctly browse gradually TX Link to comment Share on other sites More sharing options...
dpfdtn Posted November 10, 2014 Share Posted November 10, 2014 it's OK HI! Please help manufacurer slider does not work right ... Please see my page www.showmarket.sk and try to help... I have 56 producers and can not be correctly browse gradually TX Link to comment Share on other sites More sharing options...
gr8est_chic Posted December 16, 2014 Share Posted December 16, 2014 Try this one. It's made for 1.6 Updated again 07 .jun. 2014! tommatobrands.zip Hi Dioniz, Any idea how I can customise this to only show manufacturers that have products associated to them? Kind regards Link to comment Share on other sites More sharing options...
Houssam-web Posted January 20, 2015 Share Posted January 20, 2015 (edited) Hello, i'd like to ask how would i add new brand pictures...cuz i drog and drop them into the img File inside the modul but it does'nt work. thanks Edited January 20, 2015 by Houssam-web (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts