Dotclear

myPostCategoryIf

Petit plugin permettant de tester sur plusieurs catégories dans le contexte post. Il met pour cela à disposition le tag de template de type block <tpl:MyPostCategoryIf></tpl:MyPostCategoryIf>.

Author/Contributors?

Development

Bugs and features requests

Repository

Recent Changes

[2331] by brol on 06/08/10 11:19:59

Corrections sur licence

[2321] by brol on 06/07/10 19:51:53

plugin

[2319] by brol on 06/07/10 19:47:52

Création de myPostCategoryIf

Documentation

Ce plugin accepte les mêmes attributs que  myCategoryIf mais dans le contexte du post.html.

Exemple :

<tpl:MyPostCategoryIf url="cat-1,cat-2">
  <p>Ce texte ne s'affiche que si l'url de la catégorie testée est
     cat-1 ou cat-2</p>
</tpl:MyPostCategoryIf>

Sites map