Re : changer le lien affecté à la description du site ( template protostar )
avec ta modif voici ce que j'obtiens dans le code
</head>
<body class="site com_content view-article no-layout no-task itemid-101">
<!-- Body -->
<div class="body">
<div class="container">
<header class="header" role="banner">
<div class="header-inner clearfix">
<a class="brand pull-left" href="/siteanne/index.php">
<img src="http://localhost/siteanne/images/logo.png" alt="Maman et Moi" /></a>
<div class="site-description"><a href="/siteanne/index.php/divers/11-association-comme-un-chat-au-soleil">Association "Comme un chat au soleil"</a></div>
<div class="header-search pull-right">
<div class="search mod_search93">
<form action="/siteanne/index.php" method="post" class="form-inline">
<label for="mod-search-searchword" class="element-invisible">Rechercher</label> <input name="searchword" id="mod-search-searchword" maxlength="200" class="inputbox search-query" type="search" size="20" placeholder="Recherche..." /> <input type="hidden" name="task" value="search" />
<input type="hidden" name="option" value="com_search" />
<input type="hidden" name="Itemid" value="101" />
</form>
</div>
</div>
</div>
</header>
copie de la modif dans index.php :
<header class="header" role="banner">
<div class="header-inner clearfix">
<a class="brand pull-left" href="index.php">
<?php echo $logo; ?></a>
<?php if ($this->params->get('sitedescription')) : ?>
<?php echo '<div class="site-description"><a href="index.php/divers/11-association-comme-un-chat-au-soleil">' . htmlspecialchars($this->params->get('sitedescription')) . '</a></div>'; ?>
<?php endif; ?>
<div class="header-search pull-right">
<jdoc:include type="modules" name="position-0" style="none" />
</div>
</div>
</header>
et ma description de site disparait de ma page d'accueil
avec ta modif voici ce que j'obtiens dans le code
</head>
<body class="site com_content view-article no-layout no-task itemid-101">
<!-- Body -->
<div class="body">
<div class="container">
<header class="header" role="banner">
<div class="header-inner clearfix">
<a class="brand pull-left" href="/siteanne/index.php">
<img src="http://localhost/siteanne/images/logo.png" alt="Maman et Moi" /></a>
<div class="site-description"><a href="/siteanne/index.php/divers/11-association-comme-un-chat-au-soleil">Association "Comme un chat au soleil"</a></div>
<div class="header-search pull-right">
<div class="search mod_search93">
<form action="/siteanne/index.php" method="post" class="form-inline">
<label for="mod-search-searchword" class="element-invisible">Rechercher</label> <input name="searchword" id="mod-search-searchword" maxlength="200" class="inputbox search-query" type="search" size="20" placeholder="Recherche..." /> <input type="hidden" name="task" value="search" />
<input type="hidden" name="option" value="com_search" />
<input type="hidden" name="Itemid" value="101" />
</form>
</div>
</div>
</div>
</header>
copie de la modif dans index.php :
<header class="header" role="banner">
<div class="header-inner clearfix">
<a class="brand pull-left" href="index.php">
<?php echo $logo; ?></a>
<?php if ($this->params->get('sitedescription')) : ?>
<?php echo '<div class="site-description"><a href="index.php/divers/11-association-comme-un-chat-au-soleil">' . htmlspecialchars($this->params->get('sitedescription')) . '</a></div>'; ?>
<?php endif; ?>
<div class="header-search pull-right">
<jdoc:include type="modules" name="position-0" style="none" />
</div>
</div>
</header>
et ma description de site disparait de ma page d'accueil
Commentaire