developer.jelix.org n'est plus utilisée, et existe uniquement pour son historique. Postez les nouveaux tickets sur le compte github.
#1019 closed new feature (fixed)
Plugin Hook
Reported by: | foxmask | Owned by: | |
---|---|---|---|
Priority: | low | Milestone: | Jelix 1.2 beta |
Component: | jelix:plugins:tpl | Version: | |
Severity: | minor | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Documentation needed: | no | |
Hosting Provider: | Php version: |
Description
Voici un nouveau plugin que j'ai pu implementer et pourrait servir s'il est jugé digne de cela ;)
Quelques liens (article + doc )
celui ci permet d'ajouter un marqueur {hook event,$params} dans un template et d'être "alimenté" en répondant à l' event .
le gain est la souplesse d'intégration, et on évite (presque) l'overload de templates quand l'auteur d'un template a songé à rajouter le {hook } au bon endroit.
Attachments (2)
Change History (13)
Changed 11 years ago by foxmask
comment:1 Changed 11 years ago by foxmask
- review set to review?
comment:2 Changed 11 years ago by foxmask
- Priority changed from normal to low
- Summary changed from hook plugin to Plugin Hook
comment:3 Changed 11 years ago by foxmask
- Type changed from enhancement to new feature
comment:4 Changed 11 years ago by laurentj
- review changed from review? to review-
merci de faire un vrai patch, avec toutes les modifs adequates à faire dans le manifest pour le build, le fichier CREDITS &cie.
comment:5 Changed 11 years ago by foxmask
Il faudrait une page sur le wiki qui récapitule les fichiers à modifier quand on ajoute des features je pense.
J'ai fait une fois ce process pour le wikieditor mais ca remonte déjà à un moment ;-)
Je prépare un patch, et note ce que je modifie pour la doc.
comment:6 Changed 11 years ago by foxmask
j'ai préparé le patch et ajoute le process à la doc
http://developer.jelix.org/wiki/fr/patchs?action=diff&version=8&old_version=7
je joindrai le patch ce soir au mieux ;)
comment:7 Changed 11 years ago by foxmask
- review changed from review- to review?
comment:8 Changed 11 years ago by laurentj
- review changed from review? to review+
comment:9 Changed 11 years ago by foxmask
- Resolution set to fixed
- Status changed from new to closed
comment:10 Changed 11 years ago by laurentj
- Documentation needed set
comment:11 Changed 11 years ago by foxmask
- Documentation needed unset
Hook plugin