lordbdp Posted July 1, 2015 Share Posted July 1, 2015 Bonjour, Qui pourrait mettre à jour ce module car il s'installe sans soucis mais les miniatures ne sont pas générées et la mise en page du bloc est à refaire. Le hic est qu'il est impossible de laisser un message sur le site de l'auteur (sachant que le module date de 2010...). Merci d'avance. Link to comment Share on other sites More sharing options...
lordbdp Posted July 1, 2015 Author Share Posted July 1, 2015 (edited) J'ai tenté de modifier le blockspecialscarousel.tpl en partant du blockspecials.tpl (fourni avec PS) mais cela ne fonctionne pas, il m'affiche qu'il n'y a pas actuellement de promos, hors il y en a... Si joint le fichier modifié : {* * 2007-2013 PrestaShop * * NOTICE OF LICENSE * * This source file is subject to the Academic Free License (AFL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/afl-3.0.php * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to [email protected] so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to http://www.prestashop.com for more information. * * @author PrestaShop SA <[email protected]> * @copyright 2007-2013 PrestaShop SA * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) * International Registered Trademark & Property of PrestaShop SA *} <!-- MODULE Block specials --> {literal} <script src="{/literal}{$content_dir}{literal}modules/blockspecialscarousel/js/olcSlider.js" type="text/javascript"></script> {/literal} <div id="special_block_right" class="block products_block exclusive blockspecials"> <h4 class="title_block"><a href="{$link->getPageLink('prices-drop')|escape:'html'}" title="{l s='Specials' mod='blockspecialscarousel'}">{l s='Specials' mod='blockspecialscarousel'}</a></h4> <div class="block_content"> {if $special} <div id="special_slider"> <ul class="products clearfix"> <li class="product_image"> <a href="{$special.link}"><img src="{$link->getImageLink($special.link_rewrite, $special.id_image, 'medium_default')|escape:'html'}" alt="{$special.legend|escape:html:'UTF-8'}" height="{$mediumSize.height}" width="{$mediumSize.width}" title="{$special.name|escape:html:'UTF-8'}" /></a> </li> <li> {if !$PS_CATALOG_MODE} {if $special.specific_prices} {assign var='specific_prices' value=$special.specific_prices} {if $specific_prices.reduction_type == 'percentage' && ($specific_prices.from == $specific_prices.to OR ($smarty.now|date_format:'%Y-%m-%d %H:%M:%S' <= $specific_prices.to && $smarty.now|date_format:'%Y-%m-%d %H:%M:%S' >= $specific_prices.from))} <span class="reduction"><span>-{$specific_prices.reduction*100|floatval}%</span></span> {/if} {/if} {/if} <h5 class="s_title_block"><a href="{$special.link}" title="{$special.name|escape:html:'UTF-8'}">{$special.name|escape:html:'UTF-8'}</a></h5> {if !$PS_CATALOG_MODE} <span class="price-discount">{if !$priceDisplay}{displayWtPrice p=$special.price_without_reduction}{else}{displayWtPrice p=$priceWithoutReduction_tax_excl}{/if}</span> <span class="price">{if !$priceDisplay}{displayWtPrice p=$special.price}{else}{displayWtPrice p=$special.price_tax_exc}{/if}</span> {/if} </li> </ul> </div> <p> <a href="{$link->getPageLink('prices-drop')|escape:'html'}" title="{l s='All specials' mod='blockspecialscarousel'}" class="button">» {l s='All specials' mod='blockspecialscarousel'}</a> </p> {else} <p>{l s='No product specials are available at this time.' mod='blockspecialscarousel'}</p> {/if} </div> </div> {literal} <script type="text/javascript"> $(document).ready(function(){ var special_slider = new olcSlider({ speed: {/literal}{$timeEffet}{literal}, duration: {/literal}{$timeTrans}{literal[spam-filter]); special_slider.init("special_slider"); }); </script> {/literal} <!-- /MODULE Block specials --> Edited July 1, 2015 by lordbdp (see edit history) Link to comment Share on other sites More sharing options...
lordbdp Posted July 12, 2015 Author Share Posted July 12, 2015 up ! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now