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:
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"> </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"> </td>
<td width="495" height="10" align="left" valign="top" bgcolor="#FFFFFF"> </td>
<?php if ( mosCountModules( 'right' ) ) { ?>
<td width="5" rowspan="2" bgcolor="#FFFFFF"> </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"> </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"> </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"> </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"> </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 ;)