hello,
voila mon site
www.sergioreis.com/galerie
je voudrais simplifier le menu (enlever le menu déroulant)
je suppose qu'il faut que j'édite "category.tpl"
En gros je ne garde que catégories / + vues / mieux notées / recherche et identification
je prends ça (par exemple)
<li class="submenu"><a href="./category.php"><b>{L_CATEGORIES}</b></a>
{MENU_CATEGORIES_CONTENT}
</li>
et je remplace par
<li class="submenu"><a href="./category.php?cat=most_visited"><b>{L_CATEGORIES}</b></a>
{MENU_CATEGORIES_CONTENT}
</li>
par contre je ne sais pas comment renommer cette deuxième catégorie en "+vues" au lieu de catégories ??
et supprimer tt ce qui apparait dans le menu déroulant ...
à moins que la méthode soit plus simple ?
merci d'avance !
Hors ligne
<li class="submenu"><a href="./category.php?cat=most_visited"><b>+vues</b></a>
</li>
T'as essayé?
Hors ligne
Voila j'ai trouvé, mais je ne sais pas ce qu'il faut supprimer !
<div id="menu">
<table class="sidetable" cellpadding="0" cellspacing="0"><tr><td>
<ul id="menuList" class="adxm adxmV">
<!-- BEGIN links -->
<li class="submenu"><a href="#"><b>{lang:Links}</b></a>
<ul id="subList">
<!-- BEGIN link -->
<li><a href="{links.link.URL}">{links.link.LABEL}</a></li>
<!-- END link -->
</ul>
</li>
<!-- END links -->
<li class="submenu"><a href="./category.php"><b>Accueil</b></a>
</li>
<li class="submenu"><a href="./category.php?cat=most_visited"><b>Plus vues</b></a>
</li>
<li class="submenu"><a href="./category.php?cat=best_rated"><b>Mieux Notées</b></a>
</li>
<li class="submenu"><a href="./search.php"><b>Rechercher</b></a>
</li>
<li class="submenu"><a href="./identification.php"><b>Connexion</b></a>
</li>
<li class="submenu"><a href="./register.php"><b>Céer un compte</b></a>
</li>
<li class="submenu"><a href="#"><b>{L_SPECIAL_CATEGORIES}</b></a>
<ul id="subList">
<!-- BEGIN special_cat -->
<li><a href="{special_cat.URL}" title="{special_cat.TITLE}">{special_cat.NAME}</a></li>
<!-- END special_cat -->
</ul>
</li>
<li class="submenu"><a href="#"><b>{L_SUMMARY}</b></a>
<ul id="subList">
<!-- BEGIN summary -->
<li><a href="{summary.U_SUMMARY}" title="{summary.TITLE}">{summary.NAME}</a></li>
<!-- END summary -->
<!-- BEGIN upload -->
<li><a href="{upload.U_UPLOAD}">{L_UPLOAD}</a></li>
<!-- END upload -->
</ul>
</li>
<li class="submenu"><a href="#"><b>{L_IDENTIFY}</b></a>
<ul id="subList">
<!-- BEGIN hello -->
<div id="ConnectStatus"><center>{L_HELLO} {USERNAME} !</center></div>
<!-- END hello -->
<!-- BEGIN register -->
<li><a href="{U_REGISTER}">{L_REGISTER}</a></li>
<!-- END register -->
<!-- BEGIN login -->
<li><a href="{F_IDENTIFY}">{lang:Connection}</a></li>
<!-- END login -->
<!-- BEGIN logout -->
<li><a href="{U_LOGOUT}">{L_LOGOUT}</a></li>
<!-- END logout -->
<!-- BEGIN profile -->
<li><a href="{U_PROFILE}" title="{L_PROFILE_HINT}">{L_PROFILE}</a></li>
<!-- END profile -->
<!-- BEGIN admin -->
<li><a href="{U_ADMIN}" title="{L_ADMIN_HINT}">{L_ADMIN}</a></li>
<!-- END admin -->
</ul>
</li>
<li>
<ul>
<li>
</li>
</ul>
</li>
</ul>
</td></tr></table>
</div>
<div id="content">
<div class="titrePage">
<ul class="categoryActions">
<li> </li>
<!-- BEGIN caddie -->
<li><a href="{caddie.URL}" title="{lang:add to caddie}"><img src="./template/jillij/theme/caddie_add.png" class="button" alt="{lang:caddie}"/></a></li>
<!-- END caddie -->
<!-- BEGIN edit -->
<li><a href="{edit.URL}" title="{lang:edit category informations}"><img src="./template/jillij/theme/category_edit.png" class="button" alt="{lang:edit}"/></a></li>
<!-- END edit -->
</ul>
<h2>{TITLE}</h2>
</div>
<!-- BEGIN calendar -->
<div class="navigationBar">{calendar.YEARS_NAV_BAR}</div>
<div class="navigationBar">{calendar.MONTHS_NAV_BAR}</div>
<!-- END calendar -->
<div id="content">
<table style="width:720px; border:0px" cellpadding="0" cellspacing="0">
<tr><td valign="top">
<!-- BEGIN thumbnails -->
<table valign="top" align="center" class="thumbnail" cellpadding="15" cellspacing="0">
<!-- BEGIN line -->
<tr>
<!-- BEGIN thumbnail -->
<td><table valign="top" align="center" cellpadding="0" cellspacing="0"><tr><td><div id="thumbnailback">
<a href="{thumbnails.line.thumbnail.U_IMG_LINK}">
<img src="{thumbnails.line.thumbnail.IMAGE}" alt="{thumbnails.line.thumbnail.IMAGE_ALT}" title="{thumbnails.line.thumbnail.IMAGE_TITLE}" class="thumbLink" /><br />
<!-- BEGIN element_name -->
{thumbnails.line.thumbnail.element_name.NAME}
<!-- END element_name -->
<!-- BEGIN category_name -->
[{thumbnails.line.thumbnail.category_name.NAME}]
<!-- END category_name -->
{thumbnails.line.thumbnail.IMAGE_TS}
<!-- BEGIN nb_comments -->
<br />{thumbnails.line.thumbnail.nb_comments.NB_COMMENTS} {L_COMMENT}
<!-- END nb_comments -->
</a></div>
</td></tr></table>
</td>
<!-- END thumbnail -->
</tr>
<!-- END line -->
</table>
<!-- END thumbnails -->
<br />
</td>
</tr>
</table>
</div>
<!-- BEGIN cat_infos -->
<!-- BEGIN navigation -->
<div class="navigationBar">
{cat_infos.navigation.NAV_BAR}
</div>
<!-- END navigation -->
<!-- BEGIN comment -->
<div class="additional_info">{cat_infos.comment.COMMENTS}</div>
<!-- END comment -->
<!-- END cat_infos -->
</div> <!-- content -->
Hors ligne
Pour enlever juste le menu avec +vues, mieux notées... tu enlèves ce code
<li class="submenu"><a href="#"><b>{L_SPECIAL_CATEGORIES}</b></a> <ul id="subList"> <!-- BEGIN special_cat --> <li><a href="{special_cat.URL}" title="{special_cat.TITLE}">{special_cat.NAME}</a></li> <!-- END special_cat --> </ul> </li>
Sinon pour enlever Menu et Spéciales, tu enlèves ce code
<li class="submenu"><a href="#"><b>{L_SPECIAL_CATEGORIES}</b></a> <ul id="subList"> <!-- BEGIN special_cat --> <li><a href="{special_cat.URL}" title="{special_cat.TITLE}">{special_cat.NAME}</a></li> <!-- END special_cat --> </ul> </li> <li class="submenu"><a href="#"><b>{L_SUMMARY}</b></a> <ul id="subList"> <!-- BEGIN summary --> <li><a href="{summary.U_SUMMARY}" title="{summary.TITLE}">{summary.NAME}</a></li> <!-- END summary --> <!-- BEGIN upload --> <li><a href="{upload.U_UPLOAD}">{L_UPLOAD}</a></li> <!-- END upload --> </ul> </li>
Hors ligne