Re: plugin agenda

Jean-Christophe Villeneuve <[email protected]>
Newsgroups gmane.comp.web.spip.devel
Message-ID <[email protected]>
Oui, c'est fait !

JC


Le 17/02/2020 à 11:40, Cerdic a écrit :
> ah oui faut le corriger aussi lui !
>
> -- 
> Cédric
> Le 17 févr. 2020 à 11:19 +0100, Jean Christophe Villeneuve 
> <[email protected]>, a écrit :
>>
>> Si ça peut aider, dans calendrier_quete_minical.json.html on a
>>
>> <BOUCLE_evenements(EVENEMENTS){', '}{par date_debut}{titre_mot?}{lang}
>>     {agendafull date_debut,date_fin, periode,
>>             #VAL{Y}|date{#ENV{start}}, #VAL{m}|date{#ENV{start}}, 
>> #VAL{d}|date{#ENV{start}},
>>             #VAL{Y}|date{#ENV{end}}, #VAL{m}|date{#ENV{end}}, 
>> #VAL{d}|date{#ENV{end}}}
>>       >
>>
>> Le 15/02/2020 à 10:04, Gildas Cotomale a écrit :
>>> C'est la clause de filtrage qui est foireuse :
>>> * WHERE (evenements.statut = 'publie') AND (L3.lang = 'fr') AND 
>>> (evenements.date_debut agendafull 'date_fin') AND 
>>> (evenements.id_article NOT IN ( SELECT zzza.id_article FROM 
>>> spip_articles as zzza WHERE ((zzza.id_rubrique IN (0))))) *
>>>
>>> Plus précisément, cette condition : *(evenements.date_debut 
>>> agendafull 'date_fin')*
>>> En effet, il y juste une suite de noms alors qu'on s'attend à une 
>>> opération de comparaison...
>>>
>>> Par ailleurs, je ne vois pas d'où sort cet *agendafull* par exemple, 
>>> rien de tel dans ta sélection : *SELECT evenements.id_evenement, 
>>> evenements.titre, evenements.horaire, evenements.date_debut, 
>>> evenements.date_fin, evenements.id_article FROM spip_evenements AS 
>>> `evenements` INNER JOIN spip_articles AS L3 ON ( L3.id_article = 
>>> evenements.id_article )*
>>>
>>> Tu as certainement un/une squelette/noisette qui fait un truc 
>>> foireux, ou dépend d'un autre plugin que t'as oublié d'activer.
>>>
>>> _______________________________________________
>>> liste:https://listes.rezo.net/mailman/listinfo/spip-dev
>>> doc:https://www.spip.net/
>>> dev:https://core.spip.net/
>>> irc://irc.freenode.net/spip
>>
>> _______________________________________________
>> liste: https://listes.rezo.net/mailman/listinfo/spip-dev
>> doc: https://www.spip.net/
>> dev: https://core.spip.net/
>> irc://irc.freenode.net/spip
>
> _______________________________________________
> liste: https://listes.rezo.net/mailman/listinfo/spip-dev
> doc: https://www.spip.net/
> dev: https://core.spip.net/
> irc://irc.freenode.net/spip
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.