probleme galerie avec nouvelle template

Un forum de support CMSimple pour des utilisateurs et développeurs francophones

Moderator: Bob

Post Reply
laurent39
Posts: 3
Joined: Tue Feb 17, 2009 9:20 am

probleme galerie avec nouvelle template

Post by laurent39 » Tue Feb 17, 2009 2:22 pm

Bonjour à tous,
J'ai un petit soucis avec la galerie. Sitôt que je veux changer de template, Slimbox ne fonctionne plus. J'ai alors l'agrandissement qui se fait dans une nouvelle page navigateur. Ensuite impossible de revenir sur un fonctionnement normal de la galerie d'origine (sans nouveau template).
Du coup, je suis obligé de tout oter du serveur et remettre le CMSimple original.

J'ai l'impression que c'est le script javascript qui disparait du head...

des idées ?

Merci d'avance.

laurent39
Posts: 3
Joined: Tue Feb 17, 2009 9:20 am

Re: probleme galerie avec nouvelle template

Post by laurent39 » Wed Feb 18, 2009 2:06 pm

Bonjour,
aaarfff... j'ai vraiment un soucis avec le javascript slimbox dans la page galerie...
Je m'explique :
Avant de mettre une nouvelle template, dans le code source de la galerie j'ai :
------------------------------------------------------------------------------------------------------------------
<head>
<title>CMSimple Flex 1.0 - Galerie</title><meta name="keywords" content="CMSimple, Content Management System, php" />
<meta name="description" content="CMSimple is a simple content management system for smart maintainance of small commercial or private sites. It is simple - small - smart! It is Free Software licensed under AGPL" />
<meta http-equiv="content-type" content="text/html;charset=iso-8859-1" />
<meta name="generator" content="CMSimple 3.2" />
<link rel="stylesheet" href="./templates/simpleblog/stylesheet.css" type="text/css" />
<link rel="stylesheet" type="text/css" href="./plugins/pluginloader/css/stylesheet.css" />
<link rel="stylesheet" href="./plugins/calendar/css/stylesheet.css" type="text/css" />
<link rel="stylesheet" href="./plugins/gallery/css/stylesheet.css" type="text/css" />
<link rel="stylesheet" href="./plugins/genizforum/css/stylesheet.css" type="text/css" />
<link rel="stylesheet" href="./plugins/menumanager/css/stylesheet.css" type="text/css" />
<link rel="stylesheet" href="./plugins/sblog/css/stylesheet.css" type="text/css" />
<script type="text/javascript" src="addons/slimbox/js/mootools.js"></script>
<script type="text/javascript" src="addons/slimbox/js/slimbox.js"></script>
<link rel="stylesheet" href="addons/slimbox/css/slimbox.css" type="text/css" media="screen" />

</head>
----------------------------------------------------------------------------------------------------------------------------------

puis après que j'ai appliqué une nouvelle template, j'ai dans le code source de la page galerie, ça :

------------------------------------------------------------
<head>
<title>CMSimple Flex 1.0 - Galerie</title><meta name="keywords" content="CMSimple, Content Management System, php" />
<meta name="description" content="CMSimple is a simple content management system for smart maintainance of small commercial or private sites. It is simple - small - smart! It is Free Software licensed under AGPL" />
<meta http-equiv="content-type" content="text/html;charset=iso-8859-1" />
<meta name="generator" content="CMSimple 3.2" />
<link rel="stylesheet" href="./templates/limer/stylesheet.css" type="text/css" />
<link rel="stylesheet" type="text/css" href="./plugins/pluginloader/css/stylesheet.css" />
<link rel="stylesheet" href="./plugins/calendar/css/stylesheet.css" type="text/css" />
<link rel="stylesheet" href="./plugins/gallery/css/stylesheet.css" type="text/css" />
<link rel="stylesheet" href="./plugins/genizforum/css/stylesheet.css" type="text/css" />
<link rel="stylesheet" href="./plugins/menumanager/css/stylesheet.css" type="text/css" />
<link rel="stylesheet" href="./plugins/sblog/css/stylesheet.css" type="text/css" />
</head>
------------------------------------------------------------------------------------------------------

donc mon soucis est de pouvoir rajouter Ces 3 dernières lignes dans le "head" :
<script type="text/javascript" src="addons/slimbox/js/mootools.js"></script>
<script type="text/javascript" src="addons/slimbox/js/slimbox.js"></script>
<link rel="stylesheet" href="addons/slimbox/css/slimbox.css" type="text/css" media="screen" />


Comment faire ???? help me !!

Laurent

laurent39
Posts: 3
Joined: Tue Feb 17, 2009 9:20 am

Re: probleme galerie avec nouvelle template

Post by laurent39 » Wed Feb 18, 2009 2:51 pm

Problème résolu ! Grace à Bob (je le remercie encore....)
Il faut simplement coller :
<script type="text/javascript" src="addons/slimbox/js/mootools.js"></script>
<script type="text/javascript" src="addons/slimbox/js/slimbox.js"></script>
<link rel="stylesheet" href="addons/slimbox/css/slimbox.css" type="text/css" media="screen" />
dans administration>modifier le squelette> dans le <head> juste après le php "echo ()head;"

Bonne journée à tous

Post Reply