Non #LOGO_RUBRIQUE_COURANTE fonctionne sur ma version 1.9.2c de SPIP. Par contre, cette balise ne correspond pas a mes besoins.
Sinon etant donné que je ne m'occupe pas du survol des logo rubrique, j'ai donc décidé d'utiliser :
[(#ENV{mode}|=={normal}|?{[(#LOGO_RUBRIQUE_NORMAL||match{rubon#ID_RUBRIQUE\.}|?{#LOGO_RUBRIQUE_NORMAL})]})]
par contre, je ne comprends pas trop cette ligne de code, déjà je ne comprends absolument pas pourquoi on y trouve une variable d'environnement.
Une petite explication serait la bienvenue.
J'ai juste compris qu'il y avait une espèce de concaténation , en effet rubonXXX etant le nom de fichier des logo de rubrique qu'on retrouve dans le dossier IMG.
Merci
Teddy Payet a écrit :
#LOGO_RUBRIQUE_COURANTE ne serait pas du SPIP2?...
Le 15 octobre 2008 10:51, Alexandra Guiderdoni <alexandra.guiderdoni@gmail.com <mailto:alexandra.guiderdoni@gmail.com>> a écrit :
Il existe une astuce fournie par Fil et reprise par Realet pour ne pas subir la récursivité des logos de rubrique
[(#ENV{mode}|=={normal}|?{[(#LOGO_RUBRIQUE_NORMAL||match{rubon#ID_RUBRIQUE\.}|?{#LOGO_RUBRIQUE_NORMAL})]})]
[(#ENV{mode}|=={survol}|?{[(#LOGO_RUBRIQUE_SURVOL||match{ruboff#ID_RUBRIQUE\.}|?{#LOGO_RUBRIQUE_SURVOL})]})]
[(#ENV{mode}|match{(normal|survol)}|?{'',[(#LOGO_RUBRIQUE||match{rubon#ID_RUBRIQUE\.}|?{#LOGO_RUBRIQUE})]})]
Tu peux même peut être tenter un truc comme
[(#LOGO_RUBRIQUEmatch{rubon#ID_RUBRIQUE\.}|?{#LOGO_RUBRIQUE})]
Cf
Connexion · GitLab
Sinon je connais pas #LOGO_RUBRIQUE_COURANTE
Tu as testé ca marche ?
Alexandra
2008/10/15 Mickael Bertainchant <mickael.bertainchant@ac-lille.fr
<mailto:mickael.bertainchant@ac-lille.fr>>
Bonjour,
Désolé , j'insiste mais .... 
J'ai un problème avec les logos de mes sous-rubriques, SPIP
m'affiche le logo de la rubrique dont elles dépendent. Pas de
soucis mais moi j'aimerais juste que si il n'y a pas de LOGO
associé ; ne rien afficher.
merci
_______________________________________________
liste spip
spip@rezo.net <mailto:spip@rezo.net> - désabonnement :
spip-off@rezo.net <mailto:spip-off@rezo.net>
Infos et archives : http://listes.rezo.net/mailman/listinfo/spip
Documentation de SPIP : http://www.spip.net/
irc://irc.freenode.net/spip <http://irc.freenode.net/spip> ou
http://embed.mibbit.com/?server=irc.freenode.net&channel=%23spip
<http://embed.mibbit.com/?server=irc.freenode.net&channel=%23spip>
_______________________________________________
liste spip
spip@rezo.net <mailto:spip@rezo.net> - désabonnement :
spip-off@rezo.net <mailto:spip-off@rezo.net>
Infos et archives : http://listes.rezo.net/mailman/listinfo/spip
Documentation de SPIP : http://www.spip.net/
irc://irc.freenode.net/spip <http://irc.freenode.net/spip> ou
http://embed.mibbit.com/?server=irc.freenode.net&channel=%23spip
<http://embed.mibbit.com/?server=irc.freenode.net&channel=%23spip>