Différences
Ci-dessous, les différences entre deux révisions de la page.
| Prochaine révision | Révision précédente | ||
| info:joomla:varioustipsjoomla [2014/02/19 15:19] – modification externe 127.0.0.1 | info:joomla:varioustipsjoomla [2025/10/22 06:55] (Version actuelle) – supprimée radeff | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| - | ====== Tips and ticks Joomla 1.5! ====== | ||
| - | ====== PHP4 ====== | ||
| - | < | ||
| - | Les sites sous PHP 4 retournent cette erreur quand on édite un | ||
| - | > | ||
| - | > " | ||
| - | > in / | ||
| - | > Les articles sont cependant correctement publiés. | ||
| - | > | ||
| - | > De plus l' | ||
| - | > | ||
| - | > | ||
| - | > | ||
| - | > * Ajouter ceci à la fin | ||
| - | > de / | ||
| - | > if(!function_exists(' | ||
| - | > | ||
| - | > | ||
| - | > } | ||
| - | > } | ||
| - | > | ||
| - | > * Mettre à jour PHP4 en PHP5. pour rappel PHP4 n' | ||
| - | > | ||
| - | > à jour de PHP4. | ||
| - | > ou ignorer ce message jusqu' | ||
| - | > | ||
| - | </ | ||
| - | |||
| - | **La suite est à oublier dans la mesure du possible, vieilleries pas très propres... Vaut mieux faire un wrapper si le site est non-joomla, ou développer des vrais modules/ | ||
| - | |||
| - | ===== Intégrer du php dans joomla ===== | ||
| - | |||
| - | * [[http:// | ||
| - | |||
| - | http:// | ||
| - | |||
| - | http:// | ||
| - | |||
| - | < | ||
| - | includePHP v1.1hot! | ||
| - | 19.11.2007 | ||
| - | IncludePHP allows for code inclusion into content items for Joomla 1.5. What sets IncludePHP appart, is that it only allows administrators and super admins to add code (hence closing a MAJOR security hole in most other content mambots/ | ||
| - | |||
| - | 1.1 adds a few new features. | ||
| - | Basic usage is as follows: | ||
| - | |||
| - | to include php code | ||
| - | {php}echo 'this is code'; | ||
| - | |||
| - | to include a php file | ||
| - | {phpfile}/ | ||
| - | |||
| - | to include javascript | ||
| - | {js}alert(" | ||
| - | |||
| - | to include a javascript file | ||
| - | {jsfile}http:// | ||
| - | |||
| - | to include a html file | ||
| - | {htmlfile}/ | ||
| - | </ | ||
| - | |||
| - | |||
| - | ===== Intégrer php, css, js (javascript) etc. ===== | ||
| - | Le lien ci-dessus http:// | ||
| - | |||
| - | Autres solutions à tester: | ||
| - | |||
| - | * JIncludes http:// | ||
| - | * Raw Content for Joomla 1.5 http:// | ||
| - | * Add PHP (que pour PHP) http:// | ||
| - | * DirectPHP (que pour PHP) http:// | ||
| - | * Custom Code for Joomla 1.5 http:// | ||
| - | |||
| - | et si y'a toujours pas, fouiller encore plus avant http:// | ||
| - | |||
| - | Pff... la galère! Jusqu' | ||
| - | |||
| - | |||
| - | |||