#7455 closed enhancement (fixed)
Add entries for scripts in theme info
| Reported by: | Olemis Lang | Owned by: | Olemis Lang |
|---|---|---|---|
| Priority: | high | Component: | ThemeEnginePlugin |
| Severity: | normal | Keywords: | script javascript theme |
| Cc: | Trac Release: | 0.11 |
Description
Currently it's quite easy to override CSS rules in a theme , but (AFAIK) there's no easy way to include scripts. IOW , it's necessary to re-implement IRequestFilter interface and call add_script in order to get theme-specific scripts added.
It would be nice to be able to list script files (i.e. path + script type) so that ThemeEnginePlugin will add these files auto-magically . I mean, it's such a common and simple use case ...
Attachments (0)
Change History (6)
comment:1 Changed 12 years ago by
| Owner: | changed from Noah Kantrowitz to Olemis Lang |
|---|
comment:2 Changed 12 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
comment:3 follow-up: 4 Changed 12 years ago by
The version of the plugin remains 2.2.2 throughout recent changes, [13506:13523/themeengineplugin]. It would be useful to add a setup.cfg to the trunk and mark the current configuration as dev.
comment:4 Changed 12 years ago by
Replying to rjollos:
The version of the plugin remains 2.2.2 throughout recent changes,
That's the target version I'm developing
It would be useful to add a
setup.cfgto the trunk and mark the current configuration asdev.
definitely sure ... ;)



In 13523: