Je dirais oui, mais c'est mirovinben qui sait :-p Franck
Le 14 mars 2013 10:17, Philippe <[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]> 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]> 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] - > > http://ml.dotclear.org/listinfo/dev > > > > -- > Philippe > _______________________________________________ > Dev mailing list - [email protected] - > http://ml.dotclear.org/listinfo/dev >
_______________________________________________ Dev mailing list - [email protected] - http://ml.dotclear.org/listinfo/dev
