#716 closed enhancement (fixed)
add actions before/after template load
Reported by: | _ck_ | Owned by: | |
---|---|---|---|
Milestone: | 1.0 | Priority: | normal |
Severity: | normal | Version: | 0.8.2.1 |
Component: | Back-end | Keywords: | |
Cc: |
Description
It would be really nice to have actions (pre/post) possible for each template load (before/after the include). This would allow plugin authors to insert content before or after each page as desired without end-users having to hack the templates.
For example there is no method to inject additional fields into the edit-form and post-form templates (without using javascript manipulations since the form has been closed).
Change History (7)
#3
@
17 years ago
This could allow plugin devs to make a lot of mess in themes.
I'm not sure it's a good idea. I'd rather address the problems that we can identify as fixable, and add filters for them. I'm tempted to "wontfix" this ticket, and open new cases of filter/action requirements on a needs basis.
#4
@
17 years ago
- Milestone changed from 0.9 to 1.0-beta & XML-RPC
Moving to 1.0-beta to allow for further discussion. This won't make it into 0.9
Actually, the form is open when 'post_form' is called.
http://trac.bbpress.org/browser/trunk/bb-includes/template-functions.php#L163