Salut, je voudrait savoir comment faire pour enlever les article sur la page d'accueil du site ?
J'ai chercher sur Internet et j'ai vue qu'il fallait modifier le fichier index.php du template, hors je n'ai pas reussi.
A savoir que je cré mon template avec Template Creator CK. J'aimerazi fair eun plugin dans ce style qui n'a pas d'artocle sur la page d'accueil: http://www.astemplates.com/itempreview/286
Voici le code de mon index.php
J'ai chercher sur Internet et j'ai vue qu'il fallait modifier le fichier index.php du template, hors je n'ai pas reussi.
A savoir que je cré mon template avec Template Creator CK. J'aimerazi fair eun plugin dans ce style qui n'a pas d'artocle sur la page d'accueil: http://www.astemplates.com/itempreview/286
Voici le code de mon index.php
Code:
<?php /** * @copyright * * Template made with the joomla component Template Creator CK - http://www.joomlack.fr * d3s * @license * @version * */ // No direct access to this file defined('_JEXEC') or die('Restricted access'); ?> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>" > <head> <jdoc:include type="head" /> <?php if ($this->direction == 'rtl') { ?> <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/default_rtl.css" type="text/css" /> <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/template_rtl.css" type="text/css" /> <?php } else { ?> <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/default.css" type="text/css" /> <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/template.css" type="text/css" /> <?php } ?> <?php if ($this->params->get('useresponsive','1')) { ?> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/mobile.css" type="text/css" /> <?php } ?> <?php $mainclass = ""; $mainclass .= " noleft"; $mainclass .= " noright"; $mainclass = trim($mainclass); ?> <!--[if lte IE 7]> <style type="text/css"> #nav1 > div.inner ul.menu > li { display: inline !important; zoom: 1; } </style> <![endif]--> <?php if ($this->params->get('googleanalyticscode','')) { ?> <script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', '<?php echo $this->params->get('googleanalyticscode','UA-xxxxxxxx-x') ?>']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script> <?php } ?> </head> <body> <div id="wrapperheader"> <div class="container-fluid inner ui-sortable"> <div id="header"> <div class="inner clearfix"> <div id="logo" class="logobloc"> <div class="inner clearfix"> <?php if ($this->params->get('logo_logolink')) { ?> <a href="<?php echo htmlspecialchars($this->params->get('logo_logolink')); ?>"> <?php } ?> <img src="<?php echo $this->params->get('logo_logoimgsrc', $this->baseurl . '/templates/' . $this->template . '/images/logo_fake.png') ?>" width="<?php echo $this->params->get('logo_logowidth', '216px') ?>" height="<?php echo $this->params->get('logo_logoheight', '53px') ?>" alt="<?php echo htmlspecialchars($this->params->get('logo_logotitle',''));?>" /> <?php if ($this->params->get('logo_logolink')) { ?> </a> <?php } ?> <?php if ($this->params->get('logo_logodescription')) { ?> <div class="bannerlogodesc"> <div class="inner clearfix"><?php echo htmlspecialchars($this->params->get('logo_logodescription'));?></div> </div> <?php } ?> </div> </div> <?php if ($this->countModules('social')) : ?> <div id="module-social" class="logobloc"> <div class="inner clearfix"> <jdoc:include type="modules" name="social" style="xhtml" /> </div> </div> <?php endif; ?> <div class="clr"></div> </div> </div> </div> </div> <div id="wrappermenu"> <div class="inner ui-sortable container-fluid"> <?php if ($this->countModules('nav1')) : ?> <div id="nav1"> <div class="inner clearfix"> <label for="nav1-mobileck" class="mobileckhambuger_togglerlabel" style="display:none;">≡</label><input id="nav1-mobileck" class="mobileckhambuger_toggler" type="checkbox" style="display:none;"/> <jdoc:include type="modules" name="nav1" /> </div> </div> <?php endif; ?> </div> </div> <div id="wrapperslideshow"> <div class="inner ui-sortable"> <?php if ($this->countModules('slideshow')) : ?> <div id="slideshow"> <div class="inner clearfix"> <jdoc:include type="modules" name="slideshow" style="xhtml" /> </div> </div> <?php endif; ?> </div> </div> <div id="wrapper"> <div class="inner ui-sortable container-fluid"> <div id="maincontent" class="maincontent <?php echo $mainclass ?>"> <div class="inner clearfix"> <jdoc:include type="message" /> <jdoc:include type="component" /> <div class="clr"></div> </div> </div> </div> </div> <jdoc:include type="modules" name="debug" /> </body> </html>
Commentaire