Hello,
j'ai un truc super bizarre en 1.9.2 avec le plugin agenda.
j'ai fait des boucles pour recuperer les evenements en cours, mais si elles sont dans une boucle rubrique, elles font planter la boucle rubrique....
c'est lié à l'utilisation d'un critere {date_fin>#ENV{date}}
si je fais :
<BOUCLE_r(RUBRIQUES){id_rubrique}>
<BOUCLE_c(EVENEMENTS){date_debut<#ENV{date}}{date_fin>#ENV{date}}{par date_debut}{doublons evt}></BOUCLE_c>
...
</BOUCLE_r>
j'ai :
<BOUCLE_r>(rubriques)
*Erreur MySQL*
rubriques.date_fin, rubriques.lang FROM spip_rubriques AS `rubriques` WHERE (rubriques.id_rubrique = '3') AND (rubriques.statut = "publie")
*Unknown column 'rubriques.date_fin' in 'field list'*
alors que :
<BOUCLE_c(EVENEMENTS){date_debut<#ENV{date}}{date_fin>#ENV{date}}{par date_debut}{doublons evt}></BOUCLE_c>
<BOUCLE_r(RUBRIQUES){id_rubrique}>
...
</BOUCLE_r>
marche tres bien.
c'est tres tres bizarre... je me demande si c'est vraiment lié au plugin ou si ca n'est pas un bug du compilo.
qqun a une idée ?
@++