Jump to content

les images du footer ne s'affichent pas dans les pages cms


Recommended Posts

Bonjour,

 

j'ai un problème et je n'ai pas vu de problème similaire dans le forum

 

mon footer s'affiche normalement sur mes pages mais lorsque je viens sur mes pages cms le footer ne s'affiche plus comme il faut. Il ne trouve plus les images et j'ai des points d'interrogations à la place. Pourquoi et comment y remédier?

 

Merci

post-757513-0-22384200-1398455153_thumb.png

post-757513-0-08650200-1398455167_thumb.png

Edited by bibapeudouah (see edit history)
Link to comment
Share on other sites

Coucou

 

sur tes image ou tu as des ? click droit dessus et choisi inspecter élément  tu pourra voir  l'url des images et tu compares sur le pages ou elle s'affichent bien

 

si c'est un modules qui se greffe sur le footer( genre reinssurance)  il faut voir dans le fichier tpl  si tu as un condition pour les pages cms qui n'irai pas cherché les image au bon endroit

 

si tu trouve pas il faudra nous poster le module zipper

 

@++

 

Loulou66

Link to comment
Share on other sites

oui j'ai vu que le chemin n'est pas bon. Il va chercher les images dans les images cms. Mais quand je mets les images dans img/cms il y a toujours des "?" comme si il fallait que j'édite le chemin comme dans le BO des CMS.

 

Ce n'est pas un module ce sont juste des images que j'ai ajouter genre facebook... et "fait main".. et mon menu en image.

C'est pour ça que je ne sais pas où chercher

Edited by bibapeudouah (see edit history)
Link to comment
Share on other sites

Voici mon footer… Merci pour ton aide

 

 

 

<hr style="visibility:hidden; clear:both;">
    <div style="width:960px; margin:auto;">
      <div class="infiniteCarousel" style=" margin: 10px auto auto -5px;">
                <a href='e-shop.php'><img src="img/icone/e_shop.png" ></a>
                <div class="wrapper" style="overflow:hidden;">
                    <ul>
                        
                        <li><a href="http://localhost:8888/prestashop/index.php?id_category=6&controller=category"><img src="img/icone/spacer.png" id="test"></a></li>
                        <li><a href="http://localhost:8888/prestashop/index.php?id_category=7&controller=category"><img src="img/icone/spacer.png" id="collier"></a></li>
                        <li><a href="http://localhost:8888/prestashop/index.php?id_category=8&controller=category"><img src="img/icone/spacer.png" id="bracelet"></a></li>
                        <li><a href="http://localhost:8888/prestashop/index.php?id_category=9&controller=category"><img src="img/icone/spacer.png" id="boucle"></a></li>
                        <li><a href="http://localhost:8888/prestashop/index.php?id_category=10&controller=category"><img src="img/icone/spacer.png" id="bague"></a></li>
                        <li><a href="http://localhost:8888/prestashop/index.php?id_category=11&controller=category"><img src="img/icone/spacer.png" id="grigri"></a></li>
                        <li><a href="http://localhost:8888/prestashop/index.php?id_category=12&controller=category"><img src="img/icone/spacer.png" id="tete"></a></li>
                        <li><a href="http://localhost:8888/prestashop/index.php?id_category=13&controller=category"><img src="img/icone/spacer.png" id="chaussure"></a></li>
                        <li class="empty"></li>
            <li><a href="http://localhost:8888/prestashop/index.php?id_category=16&controller=category"><img src="img/icone/spacer.png" id="inclassable"></a></li>
                        <li><a href="http://localhost:8888/prestashop/index.php?id_category=14&controller=category"><img src="img/icone/spacer.png" id="promo"></a></li>
                        <li><a href="http://localhost:8888/prestashop/index.php?id_category=15&controller=category"><img src="img/icone/spacer.png" id="parure"></a></li>
                        <li class="empty"></li>
                        
                    </ul>
                 </div> <!--fin de wrapper------------------------------------->
                   <a class="arrow forward"><img src="img/icone/arrow.png"></a>
            </div> <!--fin de infinite  carousel------------------------------------->


<!-- Footer{if !$content_only} -->
 <hr></div>
            {if !$content_only}
                

<!-- Right -->
            <!--    <div id="right_column" class="column grid_2 omega">-->
                    {$HOOK_RIGHT_COLUMN}
                </div>
            
{/if}
            <footer>
                {$HOOK_FOOTER}
                <!-- {if $PS_ALLOW_MOBILE_DEVICE}
                    <p class="center clearBoth"><a href="{$link->getPageLink('index', true)}?mobile_theme_ok">{l s='Browse the mobile site'}</a></p>
                {/if}-->

        
    <p>{l s="SUPPLÉMENT D'ÂME"}</p>
        <figure id="ame">
            
            <img src="img/cms/icone/mdf.png" alt="logo 'Made in france'">
             <img src="img/cms/icone/fait_main.png" alt="logo 'Fait main'">
              <a href="http://www.paysdelaloire-metiersdart.com/" target="_blank"><img src="img/cms/icone/m_art.png" alt="logo 'les Métiers d'art'"> </a>
        </figure>
      
        <form id="news">
    <!--    <label for="mailing">{l s="N'EN PERDEZ PAS UNE MIETTE"}-->
        
    <!-- Block Newsletter module-->

    <label for="mailing">{l s="N'EN PERDEZ PAS UNE MIETTE" mod='blocknewsletter'}</p>
    <div id="bloc">
    {if isset($msg) && $msg}
        <p class="{if $nw_error}warning_inline{else}success_inline{/if}">{$msg}</p>
    {/if}
        <form action="{$link->getPageLink('index')|escape:'html'}" method="post">
            <p>
                <input id="mailing" class="inputNew" id="newsletter-input" type="text" name="email" size="18" value="{if isset($value) && $value}{$value}{else}{l s=' Votre e-mail' mod='blocknewsletter'}{/if}" />
                <input id="ok" type="submit" value="ok"  name="submitNewsletter" />
                <input type="hidden" name="action" value="0" />
            </p>
        </form>
    </div>

<!-- /Block Newsletter module-->

<script type="text/javascript">
    var placeholder = "{l s=' Votre e-mail' mod='blocknewsletter' js=1}";
        $(document).ready(function() {ldelim}
            $('#newsletter-input').on({ldelim}
                focus: function() {ldelim}
                    if ($(this).val() == placeholder) {ldelim}
                        $(this).val('');
                    {rdelim}
                {rdelim},
                blur: function() {ldelim}
                    if ($(this).val() == '') {ldelim}
                        $(this).val(placeholder);
                    {rdelim}
                {rdelim}
            {rdelim});

            {if isset($msg)}
                $('#columns').before('<div class="clearfix"></div><p class="{if $nw_error}warning{else}success{/if}">{l s="Newsletter:" js=1 mod="blocknewsletter"} {$msg}</p>');
            {/if}
        });
</script>

     
        </form>
        
        <p>SUIVEZ-MOI</p>
         <figure id="suivre">
            
                <a href="http://www.facebook.com/pages/Espeleta/164188376943109?fref=ts" target="_blank"><img src="img/logo/fb.png" alt="logo Facebook" style="margin-left:5px;"></a>
               <a href="http://twitter.com/ESPELETAbijoux" target="_blank"> <img src="img/logo/twitter.png" alt="logo Twitter"></a>
               <a href="http://www.pinterest.com/espeletabijoux/espeleta-cr%C3%A9ations-%C3%A9pic%C3%A9es/" target="_blank"> <img src="img/logo/pinterest.png" alt="logo Pinterest"></a>
           <a href="https://plus.google.com/u/0/117367839104665086590/photos" target="_blank"> <img src="img/logo/google.png" alt="logo Google+"></a>
        </figure>
         <ul>
                        
                        <li><a href="{$link->getCMSLink('8', 'agenda')}" title="{l s='Agenda'}">{l s='AGENDA'}</a></li>
                        <li><a href="{$link->getCMSLink('4', 'conseils')}" title="{l s='Conseils'}">{l s='CONSEILS'}</a></li>
                        <li><a href="{$link->getCMSLink('9', 'propriete-intellectuelle')}" title="{l s='Propriété intellectuelle'}">{l s='PROPRIÉTÉ INTELLECTUELLE'}</a></li>
                        <li><a href="{$link->getCMSLink('3', 'conditions-achat')}" title="{l s="Conditions d'achat"}">{l s="CONDITIONS D'ACHAT"}</a></li>
                        <li><a href="{$link->getCMSLink('5', 'moyens-paiement')}" title="{l s='Moyens de paiement'}">{l s='MOYENS DE PAIEMENT'}</a></li>
                        <li><a href="{$link->getCMSLink('1', 'livraison')}" title="{l s='LIVRAISONS'}">{l s='LIVRAISONS'}</a></li>
                        <li><a href="{$link->getCMSLink('2', 'mentions-legales')}" title="{l s='Mentions légales'}">{l s='MENTIONS LÉGALES'}</a></li>
                    </ul>
    <div><a href="{$link->getPageLink('sitemap')}"></a> 
            <a href="{$link->getPageLink('sitemap')}">{l s='Plan du site - ' mod='blockpermanentlinks'}</a>
            <a href="http://prestashop.com">{l s='Propulsé par PrestaShop™'}</a>
    </div>
    </footer>


    <!--{/if}-->
    </body>
</html>
 

Link to comment
Share on other sites

  • 6 months later...

Bonsoir,

 

mon pbm est résolu. Je n’appelai pas les image de la bonne façon.

je codais par exemple :

<img src="img/logo/fb.png">

alors que je aurais du coder en appelant les variables smarty :

<img src="{$img_dir}logo/fb.png">

 

je ne sais pas si je suis très claire…?

 

tu peux trouver toutes les variables sur ce lien http://www.sid-networks.com/liste-des-variables-globales-sous-prestashop/

Edited by bibapeudouah (see edit history)
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...