Re: plugin agenda

Cerdic <[email protected]>
Newsgroups gmane.comp.web.spip.devel
Message-ID <95126120-20de-49eb-a908-b22034360a82@Spark>
Hello,

c’est le critère {agendafull ...} que j’ai passé en déprecié dans Agenda 4

Pour pouvoir à nouveau l’utiliser il faut ajouter un
include_spip(‘inc/agenda_vieilles_def’) dans ton mes_fonctions.php

--
Cédric
Le 15 févr. 2020 à 11:42 +0100, [email protected] <[email protected]>, a écrit :
>
> 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.
>
> ok je creuse coté squelette escal
> --
> spipfactory.fr
> ----
> Perdu dans la Galaxie SPIP ?
> https://boussole.spip.net/
> _______________________________________________
> 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.