Je sais juste que ça marche très bien dans les deux pages : tags.html et tag.html - tags.html : bulle d'info en passant le curseur sur les mots clé dans http://www.mirovinben.com/blog/index.php?tags - tag.html : dans l'entête (nombre de mes participations) dans http://www.mirovinben.com/blog/index.php?tag/Mobsol%C3%A8te
Voili voila. Le 14/03/2013 10:18, Franck Paul a écrit :
Je dirais oui, mais c'est mirovinben qui sait :-p Franck Le 14 mars 2013 10:17, Philippe <[email protected] <mailto:[email protected]>> a écrit : Merci Michel :) Et donc à utiliser dans une boucle tpl:Tags ou dans tag.html, j'ai bon ? Le 14 mars 2013 05:51, mirovinben <[email protected] <mailto:[email protected]>> a écrit : > En fait "$_ctx->meta->count" intègre dans DC2 ce que propose MoreTpl 0.7.1 > avec TagEntriesCount : afficher le nombre de billets d'un tag (contexte > tags.html ou tag.html). > > extrait : > public static function TagEntriesCount($attr) > { > $f = $GLOBALS['core']->tpl->getFilters($attr); > $n = '$_ctx->meta->count'; > return '<?php echo '.sprintf($f, $n).'; ?>'; > } > > > > Le 13/03/2013 19:50, Philippe a écrit : > >> Le 13 mars 2013 19:48, Jean-Christian Denis <[email protected] <mailto:[email protected]>> a écrit : >>> >>> Et je n'ai pas documenté ?! Bouuuuuuu honte à moi sur 12 générations >> >> Si, TagIf était compréhensible :p >> > > _______________________________________________ > Dev mailing list - [email protected] <mailto:[email protected]> - > http://ml.dotclear.org/listinfo/dev -- Philippe _______________________________________________ Dev mailing list - [email protected] <mailto:[email protected]> - http://ml.dotclear.org/listinfo/dev _______________________________________________ Dev mailing list - [email protected] - http://ml.dotclear.org/listinfo/dev
_______________________________________________ Dev mailing list - [email protected] - http://ml.dotclear.org/listinfo/dev
