Sujet fermé
Note de ce sujet :
  • Moyenne : 0 (0 vote(s))
  • 1
  • 2
  • 3
  • 4
  • 5

[Résolu] separateur de breadcrumbs ou fil d'ariane &raquo indésirable
#8

Bonjour,
Je la corrige où la "doctype" ?...
Dans le gabarit ?...
Je ne vois pas bien comment !
J'ai l'impression que ce doit être ailleurs... !?!
Voici mon gabarit principal :
Code :
[== Indéfini ==]
{process_pagedata}{strip}
{cms_lang_info assign='nls'}
{content assign='maincontent' label='Normal Content'}
{content block='mobileonly' assign='mobileonly' label='Mobile only Content'}
{mobile}{capture assign='mobiletemp'}{$mobile_detect}{/capture}
{/strip}<!DOCTYPE html lang="{if isset($nls)}{$nls->htmlarea()}{/if}" >
<!--[if IE 9]><html class="lt-ie10" lang="{if isset($nls)}{$nls->htmlarea()}{/if}" > <![endif]-->
<html class="no-js" lang="{if isset($nls)}{$nls->htmlarea()}{/if}">
    <head>
        <title>{if $page_name !='home'}{title} - {/if}{sitename}</title>
        <meta charset="utf-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
        <meta name='HandheldFriendly' content='true' />
        {metadata}
        {if isset($canonical)}
        <link rel="canonical" href="{$canonical}" />
        {elseif isset($content_obj)}
        <link rel="canonical" href="{$content_obj->GetURL()}" />
        {/if}
{* Link to foundation static stylesheets*}
<link rel="stylesheet" href="{root_url}/foundation-5.0.2/css/normalize.css">
        <link rel="stylesheet" href="{root_url}/foundation-5.0.2/css/foundation.min.css" />
{* Link to stylesheets on the database*}
{cms_stylesheet}
        <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,300,700' rel='stylesheet' type='text/css'>
        <script src="{root_url}/foundation-5.0.2/js/modernizr.js"></script>
{* Relational links for interconnections between pages, good for accessibility and Search Engine Optmization *}
{cms_selflink dir='start' rellink='1'}
{cms_selflink dir='prev' rellink='1'}
{cms_selflink dir='next' rellink='1'}
    </head>
    <body>
        <nav class="top-bar" data-topbar>
          <ul class="title-area">
            <!-- Emplacement du Titre -->
            <li class="name">
              <h1 id="logo"><a href="http://cluster015.ovh.net/~hgraffit/cmsmadesimple/">{sitename} {global_content name='tete_lezard_left'}</a></h1>
            </li>
            <li class="toggle-topbar menu-icon"><a href="#"><span>Menu</span></a></li>
          </ul>
          {menu template="theme // responsive-main-menu" excludeprefix="sitemap"}
        </nav>
        {* Page name and Breadcrumbs hidden if it's the home page*}
        <header id="{$page_name}">
            <div class="row">
                {if $page_name =='home'}

              

                <div id="carousel">{news summarytemplate="responsive-news-carousel" number="4"}</div>
                

                {else}
                <div class="large-7 columns">
                <h3>{title}</h3>
                </div>
                <div class="large-5 columns">
                {menu template="theme // responsive-sub-nav" start_level="2"}
                </div>
                {/if}
            </div>
        </header>
        <div class="row">
            <div class="large-8 columns">
                {if $page_name !='home'}
                <div class="hide-for-small" id="breadcrumbs">
                    {menu root="home" action="breadcrumbs" template="theme // responsive-breadcrumbs"}
                </div>
                {/if}

                {*If the Mobile content is empty we show the normal content*}
                {if $mobiletemp && $mobileonly != ''}
                {$mobileonly}
                {else}
                {$maincontent}
                {/if}
            </div>
            <div class="large-4 columns">
                <div id="search">{search search_method="post"}</div>
                <h4>{global_content name='logonews'} Actualités</h4>
                <div class="panel news" id="news">
                    <p>Derniers articles en date...</p>
                    {news summarytemplate='responsive-summary' detailtemplate="responsive-news-detail" detailpage="responsive-news-template" number="2"}
                <div class="small-8 small-offset-4 row"><a class="noMarginBottom right tiny button secondary right" href="/index.php?page=responsive-news-template" title="More news">More news ?</a></div>
                </div>
            </div>
        </div>

        {*REMARQUE: vous pouvez utiliser un bloc de contenu global spécifique pour afficher un pied de page différent sur la version mobile*}
        <footer class="hide-for-small">
            <div class="row">
                <div class="large-12 columns">
                <p>Partie en attente...</p>

                </div>
            </div>
        </footer>
        <div id="copyright">
            <div class="row full-width">
                <div class="small-12 columns">
                {global_content name='footer'}
                </div>
            </div>
        </div>

        <script src="{root_url}/foundation-5.0.2/js/jquery.js"></script>
        <script src="{root_url}/foundation-5.0.2/js/foundation.min.js"></script>

        {literal}
        <script>
          $(document).foundation();
        </script>
        {/literal}
    </body>
</html>

--------------------------------------

merci

Rolleyes
Sujet fermé


Messages dans ce sujet

Atteindre :


Utilisateur(s) parcourant ce sujet : 2 visiteur(s)