3 | | == Description == |
4 | | |
5 | | * Its purpose is to implement a javascript deployment platform, which enable trac administrators to easy tweak trac pages by simply using javascript. |
6 | | * It can apply different javascripts to different pages by matching regular expression. |
7 | | * Support trac web admin |
8 | | |
9 | | == Bugs/Feature Requests == |
10 | | |
11 | | Existing bugs and feature requests for TracTweakUI are |
12 | | [query:component=ZoomQuietTranslation&order=priority here]. |
13 | | |
14 | | If you have any issues, create a |
15 | | [/newticket?component=ZoomQuietTranslation&owner=richard new ticket]. |
16 | | |
17 | | == Download and Source == |
18 | | |
19 | | Check out TracTweakUI [/svn/zoomquiettranslation/plugins/KSTracTweakUI using Subversion], or [source:zoomquiettranslation/plugins/KSTracTweakUI browse the source] with Trac. |
20 | | |
21 | | == Configuration == |
22 | | 1. Uninstall Trac Tweak UI if you have installed before. |
23 | | |
24 | | 2. Change to the directory containning setup.py. |
25 | | |
26 | | 3. If you want to install this plugin globally, that will install this plugin to the python path: |
27 | | * python setup.py install |
28 | | |
29 | | 4. If you want to install this plugin to trac instance only: |
30 | | * python setup.py bdist_egg |
31 | | * copy the generated egg file to the trac instance's plugin directory |
32 | | {{{ |
33 | | cp dist/*.egg /srv/trac/env/plugins |
34 | | }}} |
35 | | |
36 | | 5. Config trac.ini: |
37 | | {{{ |
38 | | [components] |
39 | | tractweakui.* = enabled |
40 | | }}} |
41 | | |
42 | | 6. Add following directory structure to trac environment's htdocs directory(using editcc as example): |
43 | | {{{ |
44 | | htdocs/tractweakui/ |
45 | | }}} |
46 | | |
47 | | Or you can simply copy the htdocs/tractweakui/ in source to trac environment's htdocs directory. |
48 | | |
49 | | == Usage == |
50 | | 1. Enter trac's web admin, select "TracTweakUI Admin" |
51 | | 1. Add url path(regular expression): /newticket |
52 | | 1. Select "/newticket", then select filter "editcc" |
53 | | 1. Click "Load Default", and edit filter javascript, then "Save" |
54 | | 1. Now click "New Ticket" to test the "editcc" javascript plugin. |
55 | | |
56 | | == Recent Changes == |
57 | | |
58 | | [[ChangeLog(zoomquiettranslation/plugins/KSTracTweakUI, 3)]] |
59 | | |
60 | | == Author/Contributors == |
61 | | |
62 | | '''Author:''' [wiki:richard] [[BR]] |
| 3 | Please visit [wiki:TracTweakUiPlugin here]. |