Catégories à masquer

  • g.vilnec
  • Topic Author
  • Visitor
  • Visitor
11 years 7 months ago #661 by g.vilnec
Catégories à masquer was created by g.vilnec
Bonjour,

Avec la version 9.23, je n'arrive pas à masquer une catégorie dans la fenêtre WHERE.
J'ai 4 catégories catid 82, 83 84 et 86. Je ne veux pas voir la 86 dans la fenêtre "choisir une catégorie".
Malgré cela : a.catid=82 OR 83 OR 84
ou cela : a.catid=82 OR a.catid=83 OR a.catid=84
la catégorie 86 est toujours visible et, dans ce dernier cas, on voit même toutes les catégories joomla.

Merci. GV
The topic has been locked.
  • LJ01
  • Visitor
  • Visitor
11 years 7 months ago #662 by LJ01
Replied by LJ01 on topic Re: Catégories à masquer
et avec ds guillements a.catid="82" OR a.catid="83" OR a.catid="84"
The topic has been locked.
More
11 years 7 months ago #663 by gmapfp
Replied by gmapfp on topic Re: Catégories à masquer
Bonjour,

Avec les guillemets, c'est mieux, mais pas indispensable vue que l'on ne passe pas du texte mais un entier.
Par contre, il faut mettre ton code entre parenthèses.
Ce qui donne :
(a.catid="82" OR a.catid="83" OR a.catid="84")
The following user(s) said Thank You: g.vilnec
The topic has been locked.
  • g.vilnec
  • Topic Author
  • Visitor
  • Visitor
11 years 7 months ago - 11 years 7 months ago #680 by g.vilnec
Replied by g.vilnec on topic Re: Catégories à masquer
Bonjour,

Non, ça ne marche pas mieux comme cela (en ajoutant les guillemets mais sans les parenthèses).

Merci quand même.
GV
Last edit: 11 years 7 months ago by g.vilnec. Reason: meilleure compréhension pour les autres utilisateurs du forum
The topic has been locked.
  • g.vilnec
  • Topic Author
  • Visitor
  • Visitor
11 years 7 months ago #681 by g.vilnec
Replied by g.vilnec on topic Re: Catégories à masquer
Bonjour,

Oui, comme cela, ça marche ; il faut IMPERATIVEMENT les parenthèses.

Merci bien. GV
The topic has been locked.
Time to create page: 0.070 seconds
Powered by Kunena Forum
FaLang translation system by Faboba