Module galerie et bloc de menus [Réglé]
Ptithom Membre non connecté
-
Modérateur
- Voir le profil du membre Ptithom
- Inscrit le : 07/11/2006
- Site internet
- Groupes :
-
Equipe Historique
J'ai créé des catégories,ajouté une image ==> jusque la pas de soucis.
Puis via FTP j'ai envoyé des images dans /gallery/pics puis allé les ajouter via l'admin. ==> jusque la impec
je vais a la page principale du site ==> plus de menus à droite
Je vais dans admin/contenu/menu, je désactive le menu galery ==> les autres menus apres s'affichent
Je remet le menu galeri activé ==> ne s'affiche pas.
Pour voir : ptithom.phpnet.org/phpboostv2/news/news.php
je reteste sur un nouveau site tout a l'heure et je vous confirme apres
Toujours OSER, savoir parfois CEDER, mais jamais RENONCER!
Mes sites : http://www.leschinchillas.org / http://www.chateau-de-lastours.fr
Mes sites : http://www.leschinchillas.org / http://www.chateau-de-lastours.fr
Visiteur
Boosteur Inactif
Ptithom Membre non connecté
-
Modérateur
- Voir le profil du membre Ptithom
- Inscrit le : 07/11/2006
- Site internet
- Groupes :
-
Equipe Historique
Toujours OSER, savoir parfois CEDER, mais jamais RENONCER!
Mes sites : http://www.leschinchillas.org / http://www.chateau-de-lastours.fr
Mes sites : http://www.leschinchillas.org / http://www.chateau-de-lastours.fr
Ptithom Membre non connecté
-
Modérateur
- Voir le profil du membre Ptithom
- Inscrit le : 07/11/2006
- Site internet
- Groupes :
-
Equipe Historique
crowkait, si tu veux tester j'ai refait un compte admin avec le même mot de passe que l'autre fois.
PS : qqn arrive a avoir des images dans le bloc galerie?
Toujours OSER, savoir parfois CEDER, mais jamais RENONCER!
Mes sites : http://www.leschinchillas.org / http://www.chateau-de-lastours.fr
Mes sites : http://www.leschinchillas.org / http://www.chateau-de-lastours.fr
Visiteur
Boosteur Inactif
Ptithom:
qqn arrive a avoir des images dans le bloc galerie?bonne question! moi pas
Ptithom Membre non connecté
-
Modérateur
- Voir le profil du membre Ptithom
- Inscrit le : 07/11/2006
- Site internet
- Groupes :
-
Equipe Historique
ptithom.phpnet.org/phpboostv2/news/news.php
J'ai refait le test dessus en remettant des images via FTP, ca ne reproduit pas le problème.
Si qqn pourra tester comme moi ca sera cool et confirmer

Bref j'y comprend rien... la 1ere fois qu'on le fait ca merdouille, apres avoir viré les fichiers cache de son disque dur ca marche?
Toujours OSER, savoir parfois CEDER, mais jamais RENONCER!
Mes sites : http://www.leschinchillas.org / http://www.chateau-de-lastours.fr
Mes sites : http://www.leschinchillas.org / http://www.chateau-de-lastours.fr
ben.popeye Membre non connecté
-
Modérateur
- Voir le profil du membre ben.popeye
- Inscrit le : 04/08/2005
- Site internet
- Groupes :
-
Equipe Historique
Un problème, une question ? Cherchez dans la FAQ ou la documentation. Si vous ne trouvez pas la réponse, demandez du support sur le forum.
Bjarne Stroustrup, inventeur du C++ :"There are two ways to write error-free programs; only the third works."
Ptithom Membre non connecté
-
Modérateur
- Voir le profil du membre Ptithom
- Inscrit le : 07/11/2006
- Site internet
- Groupes :
-
Equipe Historique
) donc je te donne ca ce soir
Toujours OSER, savoir parfois CEDER, mais jamais RENONCER!
Mes sites : http://www.leschinchillas.org / http://www.chateau-de-lastours.fr
Mes sites : http://www.leschinchillas.org / http://www.chateau-de-lastours.fr
Ptithom Membre non connecté
-
Modérateur
- Voir le profil du membre Ptithom
- Inscrit le : 07/11/2006
- Site internet
- Groupes :
-
Equipe Historique
J'(ai mis les cache/gallery avant et après la régénération :
l http://ptithom.phpnet.org/benpopeye/news/news.php
e cache gallery provient de la zone bugguée :
<div class="blockquote"><h5>Citation:</h5><?php
global $CONFIG_GALLERY;
$CONFIG_GALLERY['width'] = 150;
$CONFIG_GALLERY['height'] = 150;
$CONFIG_GALLERY['width_max'] = 800;
$CONFIG_GALLERY['height_max'] = 600;
$CONFIG_GALLERY['weight_max'] = 1024;
$CONFIG_GALLERY['quality'] = 80;
$CONFIG_GALLERY['trans'] = 60;
$CONFIG_GALLERY['logo'] = 'logo.jpg';
$CONFIG_GALLERY['activ_logo'] = 1;
$CONFIG_GALLERY['d_width'] = 5;
$CONFIG_GALLERY['d_height'] = 5;
$CONFIG_GALLERY['nbr_column'] = 4;
$CONFIG_GALLERY['nbr_pics_max'] = 16;
$CONFIG_GALLERY['note_max'] = 5;
$CONFIG_GALLERY['activ_title'] = 1;
$CONFIG_GALLERY['activ_com'] = 1;
$CONFIG_GALLERY['activ_note'] = 1;
$CONFIG_GALLERY['display_nbrnote'] = 1;
$CONFIG_GALLERY['activ_view'] = 1;
$CONFIG_GALLERY['activ_user'] = 1;
$CONFIG_GALLERY['limit_member'] = 10;
$CONFIG_GALLERY['limit_modo'] = 25;
$CONFIG_GALLERY['display_pics'] = 3;
$CONFIG_GALLERY['scroll_type'] = 1;
$CONFIG_GALLERY['nbr_pics_mini'] = 1;
$CONFIG_GALLERY['speed_mini_pics'] = 6;
$CONFIG_GALLERY['auth_root'] = array (
'r-1' => 1,
'r0' => 3,
'r1' => 7,
'r2' => 7,
);
global $CAT_GALLERY;
$CAT_GALLERY['1']['id_left'] = '1';
$CAT_GALLERY['1']['id_right'] = '2';
$CAT_GALLERY['1']['level'] = '0';
$CAT_GALLERY['1']['name'] = 'toto';
$CAT_GALLERY['1']['aprob'] = '1';
$CAT_GALLERY['1']['auth'] = array (
'r-1' => 7,
'r0' => 7,
'r1' => 7,
'r2' => 7,
);
$CAT_GALLERY['2']['id_left'] = '3';
$CAT_GALLERY['2']['id_right'] = '4';
$CAT_GALLERY['2']['level'] = '0';
$CAT_GALLERY['2']['name'] = 'titi';
$CAT_GALLERY['2']['aprob'] = '1';
$CAT_GALLERY['2']['auth'] = array (
'r2' => 7,
);
$CAT_GALLERY['3']['id_left'] = '5';
$CAT_GALLERY['3']['id_right'] = '6';
$CAT_GALLERY['3']['level'] = '0';
$CAT_GALLERY['3']['name'] = 'tutu';
$CAT_GALLERY['3']['aprob'] = '1';
$CAT_GALLERY['3']['auth'] = array (
'r-1' => 1,
'r0' => 7,
'r1' => 7,
'r2' => 7,
);
global $_array_random_pics;
$_array_random_pics = array();
?></div>
J'ai régéré le cache via le panel admin ==> c'est bon
<div class="blockquote"><h5>Citation:</h5><?php
global $CONFIG_GALLERY;
$CONFIG_GALLERY['width'] = 150;
$CONFIG_GALLERY['height'] = 150;
$CONFIG_GALLERY['width_max'] = 800;
$CONFIG_GALLERY['height_max'] = 600;
$CONFIG_GALLERY['weight_max'] = 1024;
$CONFIG_GALLERY['quality'] = 80;
$CONFIG_GALLERY['trans'] = 60;
$CONFIG_GALLERY['logo'] = 'logo.jpg';
$CONFIG_GALLERY['activ_logo'] = 1;
$CONFIG_GALLERY['d_width'] = 5;
$CONFIG_GALLERY['d_height'] = 5;
$CONFIG_GALLERY['nbr_column'] = 4;
$CONFIG_GALLERY['nbr_pics_max'] = 16;
$CONFIG_GALLERY['note_max'] = 5;
$CONFIG_GALLERY['activ_title'] = 1;
$CONFIG_GALLERY['activ_com'] = 1;
$CONFIG_GALLERY['activ_note'] = 1;
$CONFIG_GALLERY['display_nbrnote'] = 1;
$CONFIG_GALLERY['activ_view'] = 1;
$CONFIG_GALLERY['activ_user'] = 1;
$CONFIG_GALLERY['limit_member'] = 10;
$CONFIG_GALLERY['limit_modo'] = 25;
$CONFIG_GALLERY['display_pics'] = 3;
$CONFIG_GALLERY['scroll_type'] = 1;
$CONFIG_GALLERY['nbr_pics_mini'] = 1;
$CONFIG_GALLERY['speed_mini_pics'] = 6;
$CONFIG_GALLERY['auth_root'] = array (
'r-1' => 1,
'r0' => 3,
'r1' => 7,
'r2' => 7,
);
global $CAT_GALLERY;
$CAT_GALLERY['1']['id_left'] = '1';
$CAT_GALLERY['1']['id_right'] = '2';
$CAT_GALLERY['1']['level'] = '0';
$CAT_GALLERY['1']['name'] = 'toto';
$CAT_GALLERY['1']['aprob'] = '1';
$CAT_GALLERY['1']['auth'] = array (
'r-1' => 7,
'r0' => 7,
'r1' => 7,
'r2' => 7,
);
$CAT_GALLERY['2']['id_left'] = '3';
$CAT_GALLERY['2']['id_right'] = '4';
$CAT_GALLERY['2']['level'] = '0';
$CAT_GALLERY['2']['name'] = 'titi';
$CAT_GALLERY['2']['aprob'] = '1';
$CAT_GALLERY['2']['auth'] = array (
'r2' => 7,
);
$CAT_GALLERY['3']['id_left'] = '5';
$CAT_GALLERY['3']['id_right'] = '6';
$CAT_GALLERY['3']['level'] = '0';
$CAT_GALLERY['3']['name'] = 'tutu';
$CAT_GALLERY['3']['aprob'] = '1';
$CAT_GALLERY['3']['auth'] = array (
'r-1' => 1,
'r0' => 7,
'r1' => 7,
'r2' => 7,
);
global $_array_random_pics;
$_array_random_pics = array(array(
'id' => '12',
'name' => 'cy.png',
'path' => 'cy.png',
'idcat' => '3',
'auth' => 'a:4:{s:3:"r-1";i:1;s:2:"r0";i:7;s:2:"r1";i:7;s:2:"r2";i:7;}'),
array(
'id' => '5',
'name' => 'au.png',
'path' => 'au.png',
'idcat' => '2',
'auth' => 'a:1:{s:2:"r2";i:7;}'),
array(
'id' => '6',
'name' => 'an.png',
'path' => 'an.png',
'idcat' => '2',
'auth' => 'a:1:{s:2:"r2";i:7;}'),
array(
'id' => '11',
'name' => 'cv.png',
'path' => 'cv.png',
'idcat' => '3',
'auth' => 'a:4:{s:3:"r-1";i:1;s:2:"r0";i:7;s:2:"r1";i:7;s:2:"r2";i:7;}'),
array(
'id' => '4',
'name' => 'at.png',
'path' => 'at.png',
'idcat' => '1',
'auth' => 'a:4:{s:3:"r-1";i:7;s:2:"r0";i:7;s:2:"r1";i:7;s:2:"r2";i:7;}'),
array(
'id' => '10',
'name' => 'cu.png',
'path' => 'cu.png',
'idcat' => '2',
'auth' => 'a:1:{s:2:"r2";i:7;}'),
array(
'id' => '7',
'name' => 'ao.png',
'path' => 'ao.png',
'idcat' => '2',
'auth' => 'a:1:{s:2:"r2";i:7;}'),
array(
'id' => '3',
'name' => 'as.png',
'path' => 'as.png',
'idcat' => '2',
'auth' => 'a:1:{s:2:"r2";i:7;}'),
array(
'id' => '15',
'name' => 'cn.png',
'path' => 'cn.png',
'idcat' => '2',
'auth' => 'a:1:{s:2:"r2";i:7;}'),
array(
'id' => '2',
'name' => 'ar.png',
'path' => 'ar.png',
'idcat' => '3',
'auth' => 'a:4:{s:3:"r-1";i:1;s:2:"r0";i:7;s:2:"r1";i:7;s:2:"r2";i:7;}'),
array(
'id' => '13',
'name' => 'cl.png',
'path' => 'cl.png',
'idcat' => '3',
'auth' => 'a:4:{s:3:"r-1";i:1;s:2:"r0";i:7;s:2:"r1";i:7;s:2:"r2";i:7;}'),
array(
'id' => '14',
'name' => 'cm.png',
'path' => 'cm.png',
'idcat' => '1',
'auth' => 'a:4:{s:3:"r-1";i:7;s:2:"r0";i:7;s:2:"r1";i:7;s:2:"r2";i:7;}'),
);
?></div>
Toujours OSER, savoir parfois CEDER, mais jamais RENONCER!
Mes sites : http://www.leschinchillas.org / http://www.chateau-de-lastours.fr
Mes sites : http://www.leschinchillas.org / http://www.chateau-de-lastours.fr
ben.popeye Membre non connecté
-
Modérateur
- Voir le profil du membre ben.popeye
- Inscrit le : 04/08/2005
- Site internet
- Groupes :
-
Equipe Historique
Parce que les images sont indiquées dans le cache alors qu'avant elles ne l'étaient pas.
Un problème, une question ? Cherchez dans la FAQ ou la documentation. Si vous ne trouvez pas la réponse, demandez du support sur le forum.
Bjarne Stroustrup, inventeur du C++ :"There are two ways to write error-free programs; only the third works."
Ptithom Membre non connecté
-
Modérateur
- Voir le profil du membre Ptithom
- Inscrit le : 07/11/2006
- Site internet
- Groupes :
-
Equipe Historique
En fait après avoir mis des images via le ftp et après via l'admin mis dans les catégories désirées, il fait régénérer le cache.
Toujours OSER, savoir parfois CEDER, mais jamais RENONCER!
Mes sites : http://www.leschinchillas.org / http://www.chateau-de-lastours.fr
Mes sites : http://www.leschinchillas.org / http://www.chateau-de-lastours.fr
ben.popeye Membre non connecté
-
Modérateur
- Voir le profil du membre ben.popeye
- Inscrit le : 04/08/2005
- Site internet
- Groupes :
-
Equipe Historique
Un problème, une question ? Cherchez dans la FAQ ou la documentation. Si vous ne trouvez pas la réponse, demandez du support sur le forum.
Bjarne Stroustrup, inventeur du C++ :"There are two ways to write error-free programs; only the third works."
Visiteur
Boosteur Inactif
Toujours rien dans le bloc image aléatoire (aucune image)
Par contre, le bloc s'affiche correctement dans le menu
quelque soit la position choisie
modulo Membre non connecté
Booster Minigun
-
Booster Minigun
- Voir le profil du membre modulo
- Inscrit le : 07/11/2006
- Site internet
je viens de faire comme ca et maintenant c'est ok
Édité par modulo Le 06/10/2007 à 15h02
CrowkaiT Membre non connecté
-
Modérateur
- Voir le profil du membre CrowkaiT
- Inscrit le : 17/06/2005
- Site internet
- Groupes :
-
Equipe Historique
Pas de support par messages privés! Pensez à mettre vos messages en réglé en cliquant sur le bouton réglé!
Répondre
Vous n'êtes pas autorisé à écrire dans cette catégorie