| 1 | [[PageOutline(2-5,Contents,pullout)]] |
| 2 | |
| 3 | = AddStaticResourcesPlugin = |
| 4 | |
| 5 | == Description == |
| 6 | |
| 7 | A plugin that maps static resources into urls of your choice. Thus if you wish to add a stylesheet or a javascript to an existing trac page, you can specify in the trac ini a regex that matches the urls of the pages and insert the resources. |
| 8 | |
| 9 | == Bugs/Feature Requests == |
| 10 | |
| 11 | Existing bugs and feature requests for AddStaticResourcesPlugin are |
| 12 | [report:9?COMPONENT=AddStaticResourcesPlugin here]. |
| 13 | |
| 14 | If you have any issues, create a |
| 15 | [http://trac-hacks.org/newticket?component=AddStaticResourcesPlugin&owner=bobbysmith007 new ticket]. |
| 16 | |
| 17 | == Download == |
| 18 | |
| 19 | Download the zipped source from [download:addstaticresourcesplugin here]. |
| 20 | |
| 21 | == Source == |
| 22 | |
| 23 | You can check out AddStaticResourcesPlugin from [http://trac-hacks.org/svn/addstaticresourcesplugin here] using Subversion, or [source:addstaticresourcesplugin browse the source] with Trac. |
| 24 | |
| 25 | == Example == |
| 26 | |
| 27 | This will cause the helloworld alert message to appear on the ticket and newticket pages. |
| 28 | {{{ |
| 29 | #!ini |
| 30 | [static_resources] |
| 31 | /(new)?ticket = helloworld.js |
| 32 | }}} |
| 33 | |
| 34 | == Recent Changes == |
| 35 | |
| 36 | [[ChangeLog(addstaticresourcesplugin, 3)]] |
| 37 | |
| 38 | == Author/Contributors == |
| 39 | |
| 40 | '''Author:''' [wiki:bobbysmith007] [[BR]] |
| 41 | '''Maintainer:''' [wiki:bobbysmith007] [[BR]] |
| 42 | '''Contributors:''' |