Fork me on GitHub






Olédrion 1.65
Régulier
Inscrit: 04/11/2005 13:45
Messages: 177
Bonjour,

Je suis passé de Olédrion 1.64 à 1.65.

J'ai un soucis sur le l'affichage d'une catégorie : son contenu (des sous-catégories) apparait 2 fois.

C'est visible ici : http://www.lacrohnique.com/modules/ol ... ategory-1-tee-shirts.html

Une idée ?

Posté le : 18/11/2008 09:08
Partager Twitter Partagez cette article sur GG+
Re: Olédrion 1.65
Guest_
b'jour,

Le template oledrion_category a été modifié pour corriger un bug (voir le changelog). Personnellement je n'avais remarqué aucun bug à ce niveau sur la version 1.64

Peut être devrais-tu remettre cet ancien template ?
<!-- Created by Instant Zero (http://www.instant-zero.com) -->
<{* *********************************************** HEADER ************************************************ *}>
<
div id="oledrion-logo">
    <{if 
$category.cat_imgurl != ''}>
        <
img src="<{$category.cat_full_imgurl}>" alt="<{$category.cat_title}>" />
    <{else}>
        <
img src="<{$smarty.const.OLEDRION_IMAGES_URL}>oledrion.png" alt="" width="235"  height="45" />
    <{/if}>
</
div>
<
div>
    <{* 
Display category's advertisement and if it does not exists, the module's advertisement *}>
    <{if 
$category.cat_advertisement != ''}>
        <
div id="oledrion_publicite-category"><{$category.cat_advertisement}></div>
    <{elseif 
$mod_pref.advertisement != ''}>
    <
div id="oledrion_publicite"><{$mod_pref.advertisement}></div>
    <{/if}>

    <{if 
$category.cat_title != ''}>
        <
table width="100%" cellspacing="0">
          <
tr>
            <
td class="box_blue-clip_01"></td>
            <
td class="box_blue-clip_02"></td>
            <
td class="box_blue-clip_03"></td>
          </
tr>
          <
tr>
            <
td class="box_blue-clip_04"></td>
            <
td class="oledrion_catdescription">
                <{if isset(
$category) }>
                    <
h2><{$category.cat_title}></h2>
                    <{if 
$category.cat_description != ''}><{$category.cat_description}><{/if}>
                <{/if}>
    
            </
td>
            <
td class="box_blue-clip_05"></td>
          </
tr>
          <
tr>
            <
td class="box_blue-clip_06"></td>
            <
td class="box_blue-clip_07"></td>
            <
td class="box_blue-clip_08"></td>
          </
tr>
        </
table>
    <{/if}>
</
div>
<{* *********************************************** /
HEADER ************************************************ *}>

<!-- 
Breadcrumb -->
<
table cellspacing="0" class="breadcrumbT">
<
tr>
    <
td class="breadcrumb_01"></td>
    <
td class="breadcrumb_02"><div id="oledrion_breadcrumb"><{$breadcrumb}></div></td>
    <
td class="breadcrumb_03"></td>
</
tr>
<
tr>
    <
td colspan="3" class="red-line"></td>
</
tr>
</
table>
<!-- /
Breadcrumb -->

<{if 
$case == 1}> <{* We are on a main category (without parents) or we are on the main category pageso we are going to display chunks *}>
    <{if 
count($chunk1) > || count($chunk2) > || count($chunk3) > || count($chunk4) > 0}>
        <{if 
count($subCategories) > 0}>
            <
br />
            <{include 
file="db:oledrion_categories_list.html" categories=$subCategories}>
            <
br />
        <{/if}>
    
        <{if 
count($chunk1) > 0}>
            <{include 
file="db:oledrion_chunk.html" products=$chunk1 title=$chunk1Title}>
        <{/if}>
        <{if 
count($chunk2) > 0}>
            <{include 
file="db:oledrion_chunk.html" products=$chunk2 title=$chunk2Title}>
        <{/if}>
        <{if 
count($chunk3) > 0}>
            <{include 
file="db:oledrion_chunk.html" products=$chunk3 title=$chunk3Title}>
        <{/if}>
        <{if 
count($chunk4) > 0}>
            <{include 
file="db:oledrion_chunk.html" products=$chunk4 title=$chunk4Title}>
        <{/if}>
    <{else}>
        <{if 
count($motherCategories) > 0}>
            <
br />
            <{include 
file="db:oledrion_categories_list.html" categories=$motherCategories}>
        <{/if}>
        <
br />        
        <
h2><{$smarty.const._OLEDRION_SORRY_NO_PRODUCT}></h2>
    <{/if}>
<{else}>    <{* 
We are on a child category so we display its products *}>
    <{if 
count($subCategories) > 0}>
        <
br />
        <{include 
file="db:oledrion_categories_list.html" categories=$subCategories}>
        <
br />
    <{/if}>

    <{if 
count($products) > 0}>
        <{if isset(
$pagenav) }><div style="text-align: right; margin: 10px;"><{$pagenav}></div><{/if}>
        <
table border="0" class="oledrion_productindex">
        <{foreach 
item=product from=$products}>
        <
tr>
            <
td class="oledrion_productthumb"><{if $product.product_thumb_url}><a href="<{$product.product_url_rewrited}>" title="<{$product.product_href_title}>"><img src="<{$product.product_thumb_full_url}>" alt="<{$product.product_href_title}>" border="0" /></a><{/if}></td>
            <
td class="oledrion_productssummary">
                <
table width="100%" cellspacing="0">
                  <
tr>
                    <
td class="page-curl_01">
                        <
div class="oledrion_producttitle"><{$product.product_recommended_picture}><a href="<{$product.product_url_rewrited}>" title="<{$product.product_href_title}>"><{$product.product_title}></a></div><div class="oledrion_productauthor"><{if $product.product_joined_manufacturers != ''}><img src="<{$smarty.const.OLEDRION_IMAGES_URL}>author.png" alt="" border="0" /><{$smarty.const._OLEDRION_BY}> <{$product.product_joined_manufacturers}><{/if}></div>
                        <{if 
$mod_pref.use_price}><div class="oledrion_productprice"><{if $product.product_stock }><{$smarty.const._OLEDRION_PRICE}> <a href="<{$smarty.const.OLEDRION_URL}>caddy.php?op=addproduct&product_id=<{$product.product_id}>" title="<{$smarty.const._OLEDRION_ADD_TO_CART}>"><{if $product.product_discount_price_ttc != ''}><s><{$product.product_price_ttc}></s> <{$product.product_discount_price_ttc}><{else}><{$product.product_price_ttc}><{/if}> <img src="<{$smarty.const.OLEDRION_IMAGES_URL}>cartadd.png" alt="<{$smarty.const._OLEDRION_ADD_TO_CART}>" border="0" /></a><{else}><{$mod_pref.nostock_msg}><{/if}></div><{/if}>
                        <
div class="oledrion_description"><{$product.product_summary}></div>
                        <
div class="oledrion_read-more"><a href="<{$product.product_url_rewrited}>" title="<{$smarty.const._OLEDRION_READ_MORE}> <{$product.product_href_title}>"><{$smarty.const._OLEDRION_READ_MORE}></a></div>
                    </
td>
                  </
tr>
                </
table>
            </
td>
        </
tr>
        <{/foreach}>
        </
table>
        <{if isset(
$pagenav) }><div style="text-align: left; margin: 10px;"><{$pagenav}></div><{/if}>
    <{else}>
        <
h2><{$smarty.const._OLEDRION_SORRY_NO_PRODUCT}></h2>
    <{/if}>
<{/if}>

<{* **************************************** 
CADDY RSS ****************************************** *}>
<
div id="oledrion_caddy" align="right">
    <
a href="<{$smarty.const.OLEDRION_URL}>caddy.php" title="<{$smarty.const._OLEDRION_CART}>"><img src="<{$smarty.const.OLEDRION_IMAGES_URL}>cart.png" alt="<{$smarty.const._OLEDRION_CART}>" border="0" /></a>&nbsp;
    <{if 
$mod_pref.rss}>
        <
a href="<{$smarty.const.OLEDRION_URL}>rss.php<{if $category.cat_cid > 0}>?cat_cid=<{$category.cat_cid}><{/if}>" title="<{$smarty.const._OLEDRION_RSS_FEED}>"><img src="<{$smarty.const.OLEDRION_IMAGES_URL}>rss.gif" alt="<{$smarty.const._OLEDRION_RSS_FEED}>" border="0" /></a>
    <{/if}>
</
div>
<{* **************************************** /
CADDY RSS ****************************************** *}>

<{* ************************************** 
CATEGORY'S FOOTER **************************************** *}>
<{if $category.cat_footer != ''}>
    <div class="oledrion_publicite">
        <{$category.cat_footer}>
    </div>
<{/if}>
<{* ************************************* /CATEGORY'
S FOOTER **************************************** *}>

<{* ********************************************* 
NOTIFICATION ******************************************* *}>
<{include 
file='db:system_notification_select.html'}>
<{* ******************************************** /
NOTIFICATION ******************************************* *}>


@+

Posté le : 18/11/2008 09:59
Partager Twitter Partagez cette article sur GG+
Re: Olédrion 1.65
Régulier
Inscrit: 04/11/2005 13:45
Messages: 177
OK, je vais tenter ça.

Je vais essayer d'envoyer un message à instant-zero pour les prévenir

Posté le : 18/11/2008 10:41
Partager Twitter Partagez cette article sur GG+
Re: Olédrion 1.65
Newbie
Inscrit: 02/12/2008 12:31
Messages: 1
salut,

je suis en train de créer une "sous catégorie" que je classe dans une "catégorie mère".
Mais à l'affichage mes sous catégories sont dupliquées.

Help me please.

PS: j'ai essayé de remettre l'ancien template comme le conseiller le forum...

Posté le : 09/12/2008 18:55
Partager Twitter Partagez cette article sur GG+
Re: Olédrion 1.65
Xoops accro
Inscrit: 15/07/2004 11:16
Messages: 4763

Posté le : 15/12/2008 14:15
Partager Twitter Partagez cette article sur GG+

 Haut   Précédent   Suivant



Vous pouvez voir les sujets.
Vous ne pouvez pas débuter de nouveaux sujets.
Vous ne pouvez pas répondre aux contributions.
Vous ne pouvez pas éditer vos contributions.
Vous ne pouvez pas effacez vos contributions.
Vous ne pouvez pas ajouter de nouveaux sondages.
Vous ne pouvez pas voter en sondage.
Vous ne pouvez pas attacher des fichiers à vos contributions.
Vous ne pouvez pas poster sans approbation.

Propulsé avec XOOPS | Graphisme adapté par Tatane, Grosdunord, Montuy337513

68 Personne(s) en ligne (47 Personne(s) connectée(s) sur Forum) | Utilisateur(s): 0 | Invité(s): 68 | Plus ...