IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

EDI, CMS, Outils, Scripts et API PHP Discussion :

Problème de modification d'un template Joomla [Joomla!]


Sujet :

EDI, CMS, Outils, Scripts et API PHP

  1. #1
    Membre du Club
    Inscrit en
    Avril 2006
    Messages
    104
    Détails du profil
    Informations forums :
    Inscription : Avril 2006
    Messages : 104
    Points : 46
    Points
    46
    Par défaut Problème de modification d'un template Joomla
    Bonjour,

    je ne sais pas très bien si c'est ici que je dois poser ça mais bon comme cela concerne quand même du php :-°
    J'ai "hérité" d'un site en Joomla, et je suis donc actuellement le super admin (super super bof) ce qui me permet (en théorie de tout pouvoir modifier à ma guise). Le template actuellement utilisé est malheureusement pour moi non modifiable (unwritable y a marqué o_O ), j'aimerais repartir de ce template pour faire évoluer le site mais bon vu que je n'arrive pas à modifier l'html sans les autorisations nécessaires... J'ai modifié les CHMOD de tous les fichiers en 0777 ce qui si j'ai bien compris devrait me permettre de faire ce que je veux, mais non ça reste toujours "unwritable" grrrrrr

    Voici mon code :

    Code : PHP

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    <?php
    defined( "_VALID_MOS" ) or die( "Direct Access to this location is not allowed." );
    $iso = split( '=', _ISO );
    echo '<?xml version="1.0" encoding="'. $iso[1] .'"?' .'>';
    ?>
    <!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">
    <head>
    <?php mosShowHead(); ?>
    <meta http-equiv="Content-Type" content="text/html;<?php echo _ISO; ?>" />
    <?php if ( $my->id ) { initEditor(); } ?>
     
    <link href="<?php echo $mosConfig_live_site;?>/templates/home/css/template_css.css" rel="stylesheet" type="text/css" />
    <link href="<?php echo $mosConfig_live_site;?>/templates/home/css/editor_css.css" rel="stylesheet" type="text/css" />
    <script language='JavaScript'>
    function bluring(){
    if(event.srcElement.tagName=="A"||event.srcElement.tagName=="IMG") document.body.focus();
    }
    document.onfocusin=bluring;
    </script>
    </head>
     
    <body class="bg_main">
      <div id="midarea">
        <table border="0" align="center" cellpadding="0" cellspacing="0">
          <tbody>
            <tr>
              <td width="765" align="left" height="10"></td>
            </tr>
          </tbody>
        </table>
        <table border="0" align="center" cellpadding="0" cellspacing="0">
          <tbody>
            <tr>
              <td width="765" align="left" bgcolor="#FFFFFF">
    <div id="clr"></div>
    <div id="header"><div id="headerpic"></div></div>
    <div id="clr"></div></td>
            </tr>
          </tbody>
        </table>
        <table border="0" align="center" cellpadding="0" cellspacing="0">
          <tbody>
            <tr>
              <td width="5" bgcolor="#FFFFFF"></td>
              <td width="755" height="62" align="left" bgcolor="#464646"><?php mosLoadModules ( "menu" ); ?></td>
              <td width="5" bgcolor="#FFFFFF"></td>
            </tr>
          </tbody>
        </table>
        <table border="0" align="center" cellpadding="0" cellspacing="0">
          <tbody>
            <tr>
              <td width="765" align="left" height="1" bgcolor="#FFFFFF"></td>
            </tr>
          </tbody>
        </table>
        <table border="0" align="center" cellpadding="0" cellspacing="0">
          <tbody>
            <tr>
              <td width="5" rowspan="2" bgcolor="#FFFFFF">&nbsp;</td>
              <td width="125" rowspan="2" align="center" valign="top" bgcolor="#B8110B"> <div id="leftmain">
                <?php mosLoadModules ( "left" ); ?>
              </div></td>
              <td width="5" rowspan="2" bgcolor="#FFFFFF">&nbsp;</td>
              <td width="495" height="10" align="left" valign="top" bgcolor="#FFFFFF">&nbsp;</td>
      <?php if ( mosCountModules( 'right' ) ) { ?>
             <td width="5" rowspan="2" bgcolor="#FFFFFF">&nbsp;</td>
              <td width="125" rowspan="2" align="left" valign="top" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="5">
                <tr>
                  <td><div id="leftmain">
                    <?php mosLoadModules ( "right" ); ?>
                  </div></td>
                </tr>
              </table>
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td height="125">&nbsp;</td>
                  </tr>
                </table>
                <table width="100%" border="0" cellspacing="0" cellpadding="5">
                  <tr>
                    <td><div id="newsflash">
                        <?php mosLoadModules ( "right_bot" ); ?>
                    </div></td>
                  </tr>
                </table></td>
    <?php
                                    }
                                    ?>
              <td width="5" rowspan="2" bgcolor="#FFFFFF">&nbsp;</td>
            </tr>
            <tr>
              <td width="495" align="left" valign="top" bgcolor="#FFFFFF"><?php     if ( mosCountModules( 'top' ) ) { ?>
                  <div id="newsflash">
                    <?php mosLoadModules ( 'top' ); ?>
                  </div>
                <?php
                                    }
                                    ?>
                  <?php     if ( mosCountModules( 'user1' ) ) { ?>
                  <div id="blocks">
                    <?php mosLoadModules ( "user1" ); ?>
                  </div>
                <div id="clr"></div>
                <?php
                                    }
                                    ?>
                  <?php     if ( mosCountModules( 'user2' ) ) { ?>
                  <div id="blocks">
                    <?php mosLoadModules ( "user2" ); ?>
                  </div>
                <div id="clr"></div>
                <?php
                                    }
                                    ?>
                  <div id="main_area">
                    <?php mosMainBody(); ?>
                </div></td>
            </tr>
          </tbody>
        </table>
    </div>
      <table border="0" align="center" cellpadding="0" cellspacing="0">
        <tbody>
          <tr>
            <td width="5" bgcolor="#FFFFFF">&nbsp;</td>
            <td width="755" align="right" bgcolor="#FFFFFF"><div id="botnavi"><?php mosLoadModules ( "user3" ); ?>
            <a href="http://www.gdotreppe.be.tf/" target="_blank" class="lien_dmoon">Web design and CMS by GDO </a></div></td>
            <td width="5" bgcolor="#FFFFFF">&nbsp;</td>
          </tr>
          <tr>
            <td height="5" bgcolor="#FFFFFF"> </td>
            <td align="right" bgcolor="#FFFFFF"></td>
            <td bgcolor="#FFFFFF"></td>
          </tr>
        </tbody>
      </table>
    </div>
    </body>
    </html>

    Merci de votre aide précieuse

  2. #2
    Membre averti
    Avatar de opware2000
    Homme Profil pro
    Enseignant
    Inscrit en
    Octobre 2006
    Messages
    243
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 44
    Localisation : France, Loire (Rhône Alpes)

    Informations professionnelles :
    Activité : Enseignant

    Informations forums :
    Inscription : Octobre 2006
    Messages : 243
    Points : 382
    Points
    382
    Par défaut
    tu as accès au ftp ? si oui récupère le répertoire home dans /templates/ et modifies ce que tu veux dans le fichier index.php

  3. #3
    Membre du Club
    Inscrit en
    Avril 2006
    Messages
    104
    Détails du profil
    Informations forums :
    Inscription : Avril 2006
    Messages : 104
    Points : 46
    Points
    46
    Par défaut
    c'est ça, j'essayais tout bonnement de modifier l'html via l'interface de gestion de Joomla !

    Merci beaucoup je vais pouvoir enfin modifier le template

+ Répondre à la discussion
Cette discussion est résolue.

Discussions similaires

  1. [Joomla!] Modification d'un script php sur template Joomla
    Par soisim dans le forum EDI, CMS, Outils, Scripts et API
    Réponses: 8
    Dernier message: 08/09/2011, 09h07
  2. Modifications template joomla pour le rendre en template normal
    Par cuisto44000 dans le forum Général JavaScript
    Réponses: 13
    Dernier message: 24/09/2008, 08h14
  3. [IShellLink] Problème de modification de raccourci
    Par Alcatîz dans le forum Windows
    Réponses: 2
    Dernier message: 17/11/2005, 09h39
  4. Réponses: 19
    Dernier message: 28/10/2005, 17h29
  5. [débutant] Problème JSplitPane (modif :InternalFrame)
    Par pingoui dans le forum Agents de placement/Fenêtres
    Réponses: 61
    Dernier message: 03/09/2004, 17h01

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo