Salut à toute la communautée
Nouvel Utilisateur ... Donc Nouveau Membre
Très séduit par Coppermine et la possibilité de mettre une Barre latérale ou Sidebar dans mon navigateur ...
j'ai suivi donc à la lettre le post de Tarique Sani (http://forum.coppermine-gallery.net/index.php?topic=6119.0)
cependant dès que j'ajoute le lien dans mes favoris comme indiqué le volet apparait bien mais rien à l'intérieur
que ce soit sous Internet Explorer (6.0.2900.2180) ou Mozilla (1.5.0.7) mon volet est Vide et Blanc.
J'utilise Coppermine 1.49
Quelqu'un a t il déja rencontré ce problème ? Savez vous comment arranger cela ?
Merci d'avance
Bonjour,
Solutions possibles :
Ouvrez SIDEBAR.PHP, et modifiez ces deux fonctions comme ceci :
function get_subcat_data($parent, $ident = '')
{
global $CONFIG, $catStr;
if ($parent == 0) {
get_album_data($parent,$ident );
}
$sql = "SELECT cid, name, description " . "FROM {$CONFIG['TABLE_CATEGORIES']} " . "WHERE parent = '$parent' " . "ORDER BY pos";
$result = cpg_db_query($sql);
if (($cat_count = mysql_num_rows($result)) > 0) {
$rowset = cpg_db_fetch_rowset($result);
$pos = 0;
foreach ($rowset as $subcat) {
$catStr .= $ident."|".$subcat['name']."|index.php?cat=".$subcat['cid']." \n";
get_album_data($subcat['cid'], $ident . '.');
get_subcat_data($subcat['cid'], $ident . '.');
}
}
}
function get_album_data($category,$ident)
{
global $CONFIG, $catStr,$ALBUM_SET;
$sql = "SELECT aid,title FROM {$CONFIG['TABLE_ALBUMS']} WHERE category = $category ".$ALBUM_SET;
$result = cpg_db_query($sql);
if (($cat_count = mysql_num_rows($result)) > 0) {
$rowset = cpg_db_fetch_rowset($result);
foreach ($rowset as $subcat) {
$catStr .= $ident."|".$subcat['title']."|thumbnails.php?album=".$subcat['aid']."\n";
}
}
}
Ouvrez layersmenu-common.inc.php, et mettez en commentaire comme ceci :
/**
* You need PEAR only if you want to use the DB support.
*/
//require_once "PEAR.php";
/**
* You need DB.php only if you want to use the DB support.
*/
//require_once "DB.php";
/**
pas testé ! ;)
PYAP
Yes parfait
Effectivement ça marche .... mais
sous mozilla pas de probleme : on ajoute aux favoris et en cliquant dessus on a bien la barre avec les photos
sous IE par contre ça s'affiche bien mais je ne sais pas trop comment faire pour ajouter aux favoris depuis le sidebarinstall.php
If you use Internet Explorer 5 or above on Windows, you can add the Side Bar to your Links toolbar
(dragging the link there)
or you can add it to your favorites and clicking on it you can see our bar displayed in place of your usual search bar.
This link does not install our bar as your default search bar, so no modification is made to your system.
Peut etre tu t'en sortira mieux que moi
Merci d'avance
QuotePeut etre tu t'en sortira mieux que moi
Assurément non, je n'ai pas installé SideBar ;)
PYAP
Arf.. quelqu'un l'aurait il deja installé ??? ...