#39525 closed enhancement (fixed)
Send template candidates along with {$type}_template filter
| Reported by: | mschadegg | Owned by: | johnbillion |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.8 |
| Component: | Themes | Version: | 4.8 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: | template |
Description
For many use case, it will be good, if the template candidates is used as second parameter in the {$type}_template filter.
Maybe the the type should be used as a parameter as well, but it is possible to get the type by calling current_filter() function.
Attachments (2)
Change History (7)
#2
@
10 years ago
Hi @mschadegg, welcome to Trac! Thanks for the ticket.
A separate {$type}_template_hierarchy filter for template candidates was introduced in [38385], is it not sufficient in your case?
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Patch with template candidates as second parameter.