Changes between Version 1 and Version 2 of TracTweakUiPlugin


Ignore:
Timestamp:
Oct 13, 2008, 4:04:06 AM (16 years ago)
Author:
Richard Liao
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TracTweakUiPlugin

    v1 v2  
    2323You can check out TracTweakUiPlugin from [http://trac-hacks.org/svn/tractweakuiplugin here] using Subversion, or [source:tractweakuiplugin browse the source] with Trac.
    2424
     25== Configuration ==
     26 1. Uninstall Trac Tweak UI if you have installed before.
     27
     28 2. Change to the directory containning setup.py.
     29
     30 3. If you want to install this plugin globally, that will install this plugin to the python path:
     31  * python setup.py install
     32
     33 4. If you want to install this plugin to trac instance only:
     34  * python setup.py bdist_egg
     35  * copy the generated egg file to the trac instance's plugin directory
     36  {{{
     37cp dist/*.egg /srv/trac/env/plugins
     38}}}
     39
     40 5. Config trac.ini:
     41  {{{
     42[components]
     43tractweakui.* = enabled
     44}}}
     45
     46 6. Add following directory structure to trac environment's htdocs directory(using editcc as example):
     47  {{{
     48htdocs/tractweakui/
     49}}}
     50
     51  Or you can simply copy the htdocs/tractweakui/ in source to trac environment's htdocs directory.
     52
    2553== Example ==
    2654
    27  1. Enter trac's web admin, select "TracTweakUI Admin"
     55 1. Enter trac's web admin, select "TracTweakUI Admin"
    2856 1. Add url path(regular expression): /newticket
    29  1. Select "/newticket", then select filter "editcc"
    30  1. Click "Load Default", and edit filter javascript, then "Save"
    31  1. Now click "New Ticket" to test the "editcc" javascript plugin.
     57 1. Select "/newticket", then select filter "editcc"
     58 1. Click "Load Default", and edit filter javascript, then "Save"
     59 1. Now click "New Ticket" to test the "editcc" javascript plugin.
    3260
    3361== Recent Changes ==