On rajoute encore quelques modules
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
<h5>{l s='Product Manufacturer:' mod='ppbrandslider'}</h5>
|
||||
<img src="{$urls.img_ps_url}/m/{$product.id_manufacturer}.jpg" width="100px" >
|
||||
21
modules/ppbrandslider/views/templates/hook/displayHome.tpl
Normal file
21
modules/ppbrandslider/views/templates/hook/displayHome.tpl
Normal file
@@ -0,0 +1,21 @@
|
||||
{if $show_arrows == 0}
|
||||
<style type="text/css">
|
||||
.nbs-flexisel-nav-left, .nbs-flexisel-nav-right {
|
||||
display: none ;
|
||||
}
|
||||
</style>
|
||||
{/if}
|
||||
|
||||
{if $enable_brand_slider}
|
||||
<h1>Brands</h1>
|
||||
<ul id="logo-slider">
|
||||
{foreach from=$manufacturers item=manufacturer name=manufacturer_list}
|
||||
<li>
|
||||
<a href="{$link->getmanufacturerLink($manufacturer.id_manufacturer, $manufacturer.link_rewrite)}">
|
||||
<img src="img/m/{$manufacturer.id_manufacturer}.jpg"></a>
|
||||
</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
{/if}
|
||||
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
<img src="{$urls.img_ps_url}/m/{$product.id_manufacturer}.jpg" width="100px" >
|
||||
@@ -0,0 +1,4 @@
|
||||
<div class="brand-image">
|
||||
<img src="{$urls.img_ps_url}/m/{$id_manufacturer}.jpg" width="100px" height="50px">
|
||||
</div>
|
||||
|
||||
33
modules/ppbrandslider/views/templates/hook/index.php
Normal file
33
modules/ppbrandslider/views/templates/hook/index.php
Normal file
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2017 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Open Software License (OSL 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/osl-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 license@prestashop.com 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 <contact@prestashop.com>
|
||||
* @copyright 2007-2016 PrestaShop SA
|
||||
* @version Release: $Revision$
|
||||
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
|
||||
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
|
||||
header("Cache-Control: no-store, no-cache, must-revalidate");
|
||||
header("Cache-Control: post-check=0, pre-check=0", false);
|
||||
header("Pragma: no-cache");
|
||||
header("Location: ../");
|
||||
exit;
|
||||
13
modules/ppbrandslider/views/templates/hook/leftColumn.tpl
Normal file
13
modules/ppbrandslider/views/templates/hook/leftColumn.tpl
Normal file
@@ -0,0 +1,13 @@
|
||||
{if $enable_brand_slider && $}
|
||||
<div class="left-brands">
|
||||
<h1>Our Brands</h1>
|
||||
<ul id="brand-slider">
|
||||
{foreach from=$manufacturers item=manufacturer name=manufacturer_list}
|
||||
<li>
|
||||
<a href="{$link->getmanufacturerLink($manufacturer.id_manufacturer, $manufacturer.link_rewrite)}">
|
||||
<img src="img/m/{$manufacturer.id_manufacturer}.jpg"></a>
|
||||
</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
</div>
|
||||
{/if}
|
||||
33
modules/ppbrandslider/views/templates/index.php
Normal file
33
modules/ppbrandslider/views/templates/index.php
Normal file
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2017 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Open Software License (OSL 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/osl-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 license@prestashop.com 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 <contact@prestashop.com>
|
||||
* @copyright 2007-2016 PrestaShop SA
|
||||
* @version Release: $Revision$
|
||||
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
|
||||
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
|
||||
header("Cache-Control: no-store, no-cache, must-revalidate");
|
||||
header("Cache-Control: post-check=0, pre-check=0", false);
|
||||
header("Pragma: no-cache");
|
||||
header("Location: ../");
|
||||
exit;
|
||||
Reference in New Issue
Block a user