Polskie wsparcie PrestaShop
PrestaShop => Wygląd => Wątek zaczęty przez: radexon w Styczeń 25, 2010, 10:30:18 am
-
Ściągnałem moduł LIGHTBOX ale nie rozumiem ja kgo zainstalować w pliku INSTALL jest napisane takie coś:
Uploader le dossier lightbox dans le dossier JS de votre boutique en ligne.
Ouvrir header.tpl du theme utilisé
Rechercher :
<link rel="shortcut icon" type="image/x-icon" href="{$img_ps_dir}favicon.ico" />
Ajouter juste en dessous :
<!-- LightBox -->
<link rel="stylesheet" href="{$base_dir}js/lightbox/lightbox.css" type="text/css" media="screen" />
<!-- LightBox -->
Rechercher :
<script type="text/javascript" src="{$base_dir}js/jquery/jquery.easing.1.3.js"></script>
Et Ajouter en dessous :
<!-- LightBox -->
<script type="text/javascript" src="{$base_dir}js/lightbox/lightbox.js"></script>
<!-- LightBox -->
Ouvrir product.tpl et
Rechercher :
<a href="{$img_prod_dir}{$product->id}-{$image.id_image}-thickbox.jpg" rel="other-views" class="thickbox {if $smarty.foreach.thumbnails.first}shown{/if}">
Remplacez par :
<a href="{$img_prod_dir}{$product->id}-{$image.id_image}-thickbox.jpg" rel="lightbox" class="{if $smarty.foreach.thumbnails.first}shown{/if}">
Wytłumaczy ktoś?
-
do hedera musisz wstawić to co tam trzeba
<link rel="stylesheet" href="{$base_dir}js/lightbox/lightbox.css" type="text/css" media="screen" />
<script type="text/javascript" src="{$base_dir}js/lightbox/lightbox.js"></script>
a reszta to przykłady tego jak to ma wygladac w pliku product.tpl czyli tam trzeba to dodać
<a href="{$img_prod_dir}{$product->id}-{$image.id_image}-thickbox.jpg" rel="other-views" class="thickbox {if $smarty.foreach.thumbnails.first}shown{/if}">
-
mozesz podrzucic ten moduł????sprawdze jaki efejy daje