|
mimetic 44
| Posté : 16-11-2012 12:17
NPDS Forum Extender -: Problèmes :- | | Sujet | Chemin du header.html non pris en compte dans thèm | Votre Système d'Exploitation | -: Windows Vista / 7 | Votre Package Web | -: Apache + Php + MySql | Votre version de PHP | -: Php 5.x.x | Version NPDS (voir statistiques du site) | -: REvolution
| Type de problème | -: Autre(s) Erreur(s) | Votre hébergeur | -: OVH | Votre Priorité | Urgent | Description du problème | Bonjour, suite à un upgrade vers Workspace sans problème, je personnalise un thème. Problème rencontré : Le fichier header.html installé dans un dossier thème "A" (par exemple) est toujours lu dans ce même thème A après un changement vers un thème "B" (administration/préférence/général). Normalement, tous les fichiers et dossiers devraient automatiquement pointés vers la nouvelle destination du thème (B) afin d'avoir 2 thèmes distincts... Christophe | Inclure la signature | true | notification par Email | true | ..::.. |
|
|  Profil
|
|
colonelwog 1949
| Posté : 16-11-2012 13:32
as tu modifié le nom a en b aussi dans themes.php ? |  Profil E-mail www
|
|
mimetic 44
| Posté : 16-11-2012 14:09
Oui ! Dans le dossier themes : 2 dossiers : brown (et ses dossiers html, images, styles) et white (et ses dossiers html, images, styles)
themes/
-brown
-white
|  Profil
|
|
bartok 399
| Posté : 16-11-2012 18:09
Bonsoir,
dans chaque dossier "thème" (brown, white, etc...) il y a un fichier theme.php (un fichier, pas un dossier).
dans ce fichier, (généralement en ligne 14) on trouve une instruction $theme = "nom_du_theme";. donc:
- dans le theme.php du dossier theme brown, on a, ligne 14: $theme = "brown";
- dans le theme.php du dossier theme white, on doit avoir, ligne 14: $theme = "white";
bonne continuation! |  Profil
|
|
colonelwog 1949
| Posté : 16-11-2012 19:00
merci Bartok ^^ je n'étais pas assez explicite ... |  Profil E-mail www
|
|
bartok 399
| |
mimetic 44
| Posté : 16-11-2012 19:38
Génial ! Merci ! J'aurais du fouiner un peu plus ! lol
Un grand hello à toute l'équipe !
Chris |  Profil
|
|