+33 3 83 56 65 26 +33 6 87 42 95 30 Cette adresse e-mail est protégée contre les robots spammeurs. Vous devez activer le JavaScript pour la visualiser. Lun-Ven : 9.00 à 17.00

Suivez ma création de template

More
15 years 11 months ago #22061 by fred1254
yes !!!!!!!! c'est ce que je pensais. Je retape tout le code du index.php avec le css contenant les tailles des blocs et je reposte le tout... !

9Design66

Please Connectez-vous or Create an account to join the conversation.

More
15 years 11 months ago - 15 years 11 months ago #22062 by fred1254
C'est ok comme ça...? pour le fichier index.php ?
Code:
<?php /** * @copyright Copyright (C) 2005-2010 Open Source Matters. All rights reserved. * @ license GNU/GPL * Joomla! is free software. This version may have been modified pursuant * to the GNU General Public License, and as distributed it includes or * is derivative of works licensed under the GNU General Public License or * other free or open source software licenses. */ //no direct access defined('_JEXEC') or die ('Restricted access'); JHTML::_('behavior.mootools'); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>"lang="<?php echo $this->language; ?>"> <head> <jdoc:include type="head" /> <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template?>/css/template.css" type="text/css" /> <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template?>/templates/system/css/system.css" type="text/css" /> <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template?>/templates/system/css/general.css" type="text/css" /> </head> <body> <div id="conteneur"> <!--en-tête--> <div id="head"> <div id="logo"> <jdoc:include type="module" name="logo" /> </div> <!--menu--> <div id="user2"> <jdoc:include type="module" name="user2" /> </div> <!--module langues--> <div id="user3"> <jdoc:include type="module" name="user3" /> </div> </div> <div id="breadcrumb"> <jdoc:include type="module" name="breadcrumb" /> </div> <!--Corps du site--> <div id="mainbody"> <div id="component"> <div id="component_h"> </div> <div id="component_trait"> <jdoc:include type="component" style="xhtml" /> </div> <div id="component_b"> </div> </div> <div id="right"> <div id="right_h"> </div> <div id="right_trait"> <jdoc:include type="modules" name="right" /> </div> <div id="right_b"> </div> </div> </div> <!--bas de page--> <div id="footer"> <!--réservation--> <div id="footer_g"> <jdoc:include type="modules" name="footerg" /> </div> <!--milieu--> <div id="footer_m"> </div> <!--copyright etc...--> <div id="footer_d"> <jdoc:include type="modules" name="footerd" /> </div> </div> </div> </body> </html>

9Design66
Last edit: 15 years 11 months ago by fred1254.

Please Connectez-vous or Create an account to join the conversation.

More
15 years 11 months ago #22064 by lotfi_universal
Pour le code d'intégration des modules par exemple: logo, user1 et user2 pense à le faire de la même manière
sinon, tu peut installer ton template et voir ce qui manque, avec les essai sur un site joomla tu commencera à éliminer tes erreurs un par un :sonic

Pas de support en MP sans y être invité.
Merci de vous conformer aux règles du forum

Please Connectez-vous or Create an account to join the conversation.

More
15 years 11 months ago #22067 by fred1254
c'est à dire de la même manière ?

9Design66

Please Connectez-vous or Create an account to join the conversation.

More
15 years 11 months ago #22069 by fred1254
je rajoute le fichier css en attendant pour tes remarques aussi :) merci !!!
Code:
.clr{ clear:both; } body { background:url("../images/fond.jpg"); background-position:top center; color:#616265; font-family: arial, helvetica, sans-serif; font-size: 0.8em; padding: 0px; margin:0px; } #conteneur { width:1024px; margin-left:auto; margin-right:auto; margin-top:50px; } /*en-tête*/ #head { width:1024px; height:99px; background:url("../images/BanniereHaut.jpg") no-repeat; float:left; } #logo { width:329px; height:99px; float:left; } #user2{ width:504px; height:99px; background:url("../images/user2.jpg") no-repeat; float:left; } #user3 { width:191px; height:99px; background:url("../images/user3.jpg") no-repeat; float:left; } /*pied de page*/ #footer { width:866px; height:38px; background:url("../images/footer.png") no-repeat; margin-top:20px; margin-left:auto; margin-right:auto; } #footer_g { width:171px; height:38px; float:left; } #footer_m{ width:274px; height:38px; float:left; } #footer_d { width:421px; height:38px; float:left; } /*corps principal*/ #mainbody { width:866px; margin-right:auto; margin-left:auto; } #component { width:636px; float:left; } #component_h { height:49px; background:url("../images/component_h.png") no-repeat; } #component_trait { background:url("../images/component_trait.png") repeat-y; padding-left:20px; padding-right:20px; } #component_b { height:49px; background:url("../images/component_b.png") no-repeat; } #right { width:218px; float:right; } #right_h { height:50px; background:url("../images/right_h.png") no-repeat; } #right_trait { background:url("../images/right_trait.png") repeat-y; } #right_b { height:50px; background:url("../images/right_b.png") no-repeat; } #breadcrumb{ width:866px; height:20px; }

9Design66

Please Connectez-vous or Create an account to join the conversation.

More
15 years 11 months ago - 15 years 11 months ago #22070 by lotfi_universal

lotfi_universal wrote: Pour le code d'intégration des modules par exemple: logo, user1 et user2 pense à le faire de la même manière
sinon, tu peut installer ton template et voir ce qui manque, avec les essai sur un site joomla tu commencera à éliminer tes erreurs un par un :sonic


désolé voilà la phrase complète,

Pour le code d'intégration des modules par exemple: logo, user1 et user2 pense à le faire de la même manière dont je t'ai montré plus haut avec la condition "if"
Code:
<?php if ($this->countModules('right') ) { ?> <div id="classe-css"> <jdoc:include type="modules" name="right" /> </div> <?php } ?>

Pas de support en MP sans y être invité.
Merci de vous conformer aux règles du forum
Last edit: 15 years 11 months ago by lotfi_universal.

Please Connectez-vous or Create an account to join the conversation.

Moderators: lavsteph, tramber91, Scottux, serge
Time to create page: 0.203 seconds

News Communautés

News sécurité