Jump to content

Modification Header.tpl Non Affichée


Recommended Posts

Bonjour,

J'ai modifié mon header.tpl en y ajoutant des balises comprenant des textes, des images, du fond.

Tout fonctionnait concernant le header, et puis j'ai fait une mauvaise manip : j'ai recharger les template d'origine qu'on trouve via : /module/themeconfigurator/. Et depuis, les lignes sur mon header.tpl ne sont plus prises en compte. 

J'ai déjà vidé les caches.

 

Je me rends fou dessus depuis ce midi, je craque, donc je vous consulte 

Merci par avance ! 

 

L'adresse du site : www.lebonhommetetard.fr

Et voici mon header.tpl :


{*

* 2007-2015 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-2015 PrestaShop SA

*  @license    http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)

*  International Registered Trademark & Property of PrestaShop SA

*}

<!DOCTYPE HTML>

<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"{if isset($language_code) && $language_code} lang="{$language_code|escape:'html':'UTF-8'}"{/if}><![endif]-->

<!--[if IE 7]><html class="no-js lt-ie9 lt-ie8 ie7"{if isset($language_code) && $language_code} lang="{$language_code|escape:'html':'UTF-8'}"{/if}><![endif]-->

<!--[if IE 8]><html class="no-js lt-ie9 ie8"{if isset($language_code) && $language_code} lang="{$language_code|escape:'html':'UTF-8'}"{/if}><![endif]-->

<!--[if gt IE 8]> <html class="no-js ie9"{if isset($language_code) && $language_code} lang="{$language_code|escape:'html':'UTF-8'}"{/if}><![endif]-->

<html{if isset($language_code) && $language_code} lang="{$language_code|escape:'html':'UTF-8'}"{/if}>

<head>

<meta charset="utf-8" />

<title>{$meta_title|escape:'html':'UTF-8'}</title>

{if isset($meta_description) AND $meta_description}

<meta name="description" content="{$meta_description|escape:'html':'UTF-8'}" />

{/if}

{if isset($meta_keywords) AND $meta_keywords}

<meta name="keywords" content="{$meta_keywords|escape:'html':'UTF-8'}" />

{/if}

<meta name="generator" content="PrestaShop" />

<meta name="robots" content="{if isset($nobots)}no{/if}index,{if isset($nofollow) && $nofollow}no{/if}follow" />

<meta name="viewport" content="width=device-width, minimum-scale=0.25, maximum-scale=1.6, initial-scale=1.0" />

<meta name="apple-mobile-web-app-capable" content="yes" />

<link rel="icon" type="image/vnd.microsoft.icon" href="{$favicon_url}?{$img_update_time}" />

<link rel="shortcut icon" type="image/x-icon" href="{$favicon_url}?{$img_update_time}" />

{if isset($css_files)}

{foreach from=$css_files key=css_uri item=media}

<link rel="stylesheet" href="{$css_uri|escape:'html':'UTF-8'}" type="text/css" media="{$media|escape:'html':'UTF-8'}" />

{/foreach}

{/if}

{if isset($js_defer) && !$js_defer && isset($js_files) && isset($js_def)}

{$js_def}

{foreach from=$js_files item=js_uri}

<script type="text/javascript" src="{$js_uri|escape:'html':'UTF-8'}"></script>

{/foreach}

{/if}

{$HOOK_HEADER}

<!--[if IE 8]>

<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>

<script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>

<![endif]-->

</head>

<body{if isset($page_name)} id="{$page_name|escape:'html':'UTF-8'}"{/if} class="{if isset($page_name)}{$page_name|escape:'html':'UTF-8'}{/if}{if isset($body_classes) && $body_classes|@count} {implode value=$body_classes separator=' '}{/if}{if $hide_left_column} hide-left-column{else} show-left-column{/if}{if $hide_right_column} hide-right-column{else} show-right-column{/if}{if isset($content_only) && $content_only} content_only{/if} lang_{$lang_iso}">

{if !isset($content_only) || !$content_only}

{if isset($restricted_country_mode) && $restricted_country_mode}

<div id="restricted-country">

<p>{l s='You cannot place a new order from your country.'}{if isset($geolocation_country) && $geolocation_country} <span class="bold">{$geolocation_country|escape:'html':'UTF-8'}</span>{/if}</p>

</div>

{/if}

 

{if $page_name !='index' && $page_name !='pagenotfound'}

{include file="$tpl_dir./breadcrumb.tpl"}

{/if}

 

 

<div class="header-container">

<header id="header">

 

{capture name='displayNav'}{hook h='displayNav'}{/capture}

{if $smarty.capture.displayNav}

<div class="nav">

 

<div class="row">

 

<nav>{$smarty.capture.displayNav}</nav>

{/if}

 

<div id= "logoentete">

                                         <a href="http://www.lebonhommetetard.fr/index.php?">   <img src="http://www.lebonhommetetard.fr/img/logoentete.png" style="width: 72%" alt= "le bonhomme t√çtard"></a>

                                                                                                       

            </div>

 

                        </div>

 

{if isset($HOOK_TOP)}{$HOOK_TOP}{/if}

 

                                </div>

 

 

</div>

{/if}

 

 

</header>

<div class="columns-container">

 

    <div id="page" style="padding-top:150px">

 

        <div class="banner">

        {capture name='displayBanner'}{hook h='displayBanner'}{/capture}

        {if $smarty.capture.displayBanner}

        {$smarty.capture.displayBanner}

        </div>

    </div>

 

<div class="container">

</div>

 

 

<div id="columns" class="container">

 

    <div id="slider_row" class="row">

    {capture name='displayTopColumn'}{hook h='displayTopColumn'}{/capture}

    {if $smarty.capture.displayTopColumn}

 

        <div id="top_column" class="center_column col-xs-12 col-sm-12">{$smarty.capture.displayTopColumn}</div>

 

            <div id= "page_accueil" style= "position: relative; height: 640px">

 

                <div class= "colonne_gauche">

       <article>

            <a class="colonne_boite" href="http://lebonhommetetard.fr/index.php?id_category=22&controller=category">

                <span class= "figure">

                <img alt="Collections GarÁon" src="http://lebonhommetetard.fr/img/photo-colonne-gauche.jpg" style="width: 100%">

<span class="over">

<p style="background: #689dbf none repeat scroll 0 0; bottom: 238px; height: 236px; left: 2px; opacity: 0.65; position: relative; width: 236px">

 

</p>

</span>

                </span>

                        <span class="fond_titre_colonne">

                            <span class="titrecolonne"> Gar&ccedilon</span>

                        </span>

 

            </a>

        </article>

 

       <article>

 

            <a class="colonne_boite" href="http://lebonhommetetard.fr/index.php?id_category=20&controller=category">

                <span class= "figure">

                <img alt="Collections Fille" src="http://lebonhommetetard.fr/img/photo-colonne-gauchefille.jpg" style="width: 100%">

<span class="over">

<p style="background: #689dbf none repeat scroll 0 0; bottom: 238px; height: 236px; left: 2px; opacity: 0.65; position: relative; width: 236px">

 

</p>

</span>

                </span>

                    <span class="fond_titre_colonne">

                        <span class="titrecolonne"> Fille</span>

                </span>

</a>

       </article>

 

       <article>

 

            <a class="colonne_boite" href="http://lebonhommetetard.fr/index.php?id_category=24&controller=category">

                <span class= "figure">

                    <img alt="Collections Accessoires" src="http://lebonhommetetard.fr/img/photo-colonne-gaucheaccessoires.jpg" style="width: 100%">

                    <span class="over">

<p style="background: #689dbf none repeat scroll 0 0; bottom: 238px; height: 236px; left: 2px; opacity: 0.65; position: relative; width: 236px">

 

                        </p>

                    </span>

                </span>

                    <span class="fond_titre_colonne">

                        <span class="titrecolonne"> Accessoires</span>

                </span>

</a>

       </article>

 

                </div>

 

                <div class= "colonne_centre">

 

<article>

 

    <a class="colonne_boite" href="http://lebonhommetetard.fr/index.php?">

<span class="grand_titrecolonne">

<img class="grand_titrecolonne" style="position:relative;margin: -13px; left:18.1%" alt="Le bonhomme t&ecirctard" src="http://lebonhommetetard.fr/img/logo_colonne_centre.gif">

</span>

    <span class="fond_titre_colonne" style="margin:-13px">

<span class="titrecolonne" style="position: relative; bottom: 12px"> <div><br> la marque pour et par les enfants!</br> </div> </span>

    </span>

    <span class= "figure">

    <img alt="La marque solidaire pour et par les enfants" src="http://lebonhommetetard.fr/img/photo-colonne-centre-grand.jpg" style="width: 100%">

    </span>

    </a>

</article>

 

<article>

 

<a class= "colonne_boite_centre" href="http://lebonhommetetard.fr/index.php?id_cms_category=3&controller=cms">

<span class="fond_titre_colonne_centre">

<span class="titre_colonne_centre_bas"> l'univers du bonhomme t&ecirctard </span>

</span>

<span class="figure">

<img alt="La marque" src="http://lebonhommetetard.fr/img/photo-colonne-centre-marque.jpg" style="width:146px; margin-left:49px">

</span>

</a>

</article>

 

<article>

 

<a class= "colonne_boite_centre" href="http://lebonhommetetard.fr/index.php?id_cms_category=3&controller=cms" style="bottom:2.6%;right:30px">

<span class="fond_titre_colonne_centre">

<span class="titre_colonne_centre_bas"> l'univers du bonhomme t&ecirctard </span>

</span>

<span class="figure">

<img alt="La marque" src="http://lebonhommetetard.fr/img/photo-colonne-centre-marque.jpg" style="width:146px; float: right;margin-right:43px">

</span>

</a>

</article>

                </div>

 

                <div class= "colonne_droite">

<article>

 

<a class="colonne_boite" href="http://lebonhommetetard.fr/index.php?id_category=20&controller=category">

<span class= "figure">

<img alt="Personnalisation" src="http://lebonhommetetard.fr/img/personnalisation.gif" style="width: 100%">

<span class="over">

<p style="background: #689dbf none repeat scroll 0 0; bottom: 238px; height: 236px; left: 2px; opacity: 0.65; position: relative; width: 236px">

 

</p>

</span>

</span>

<span class="fond_titre_colonne">

<span class="titrecolonne"> Personnaliser vos v&ecirctements!</span>

</span>

</a>

</article>

 

<article>

 

<a class="colonne_boite" href="http://lebonhommetetard.fr/index.php?id_category=20&controller=category">

<span class= "figure">

<img alt="engagements solidaires" src="http://lebonhommetetard.fr/img/photo-colonne-droiteengagements.jpg" style="width: 100%">

</span>

<span class="fond_titre_colonne">

<span class="titrecolonne"> Les Engagements du bonhomme t&ecirctard!</span>

</span>

</a>

</article>

 

 

 

                </div>

            </div>

    </div>

</div>

 

 

</div>

{/if}

                </div>

<div class="row">

{if isset($left_column_size) && !empty($left_column_size)}

 

 

<div id="center_column" class="center_column col-xs-12 col-sm-{$cols|intval}">  </div>

 

 

 

 

                <div id="left_column" class="column col-xs-12 col-sm-{$left_column_size|intval}">{$HOOK_LEFT_COLUMN}</div>

{/if}

<div id= "fin de page">

{if isset($left_column_size) && isset($right_column_size)}{assign var='cols' value=(12 - $left_column_size - $right_column_size)}{else}{assign var='cols' value=12}{/if}

{/if}

</div>

Edited by robin.nedjar (see edit history)
Link to comment
Share on other sites

  • 11 months later...

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...