Replacing template hooks by templates override
|Reported by:||Tumulte||Owned by:|
I've toyed a bit with template hooks, and I must say I'm not so very fond of it.
The thing I dislike is that you have to modify templates. That is to say that some part of the plugin behavior is outside of the plugin.
I think it'd be a way better idea to add an overriding system for plugins, in that order
Base templates -> themes -> plugins (plugins win all the time).
That said, it can be a good idea to add hooks in some places you'd expect to be modified often (in the forms before the submit, at the end of media data's template...)