Version 2 (modified by 16 years ago) (diff) | ,
---|
Javascript deployment platform for Trac 0.11 or above
Description
- Its purpose is to implement a javascript deployment platform, which enable trac administrators to easy tweak trac pages by simply using javascript.
- It can apply different javascripts to different pages by matching regular expression.
- Support trac web admin
Bugs/Feature Requests
Existing bugs and feature requests for TracTweakUI are here.
If you have any issues, create a new ticket.
Download and Source
Check out TracTweakUI using Subversion, or browse the source with Trac.
Configuration
- Uninstall Trac Tweak UI if you have installed before.
- Change to the directory containning setup.py.
- If you want to install this plugin globally, that will install this plugin to the python path:
- python setup.py install
- If you want to install this plugin to trac instance only:
- python setup.py bdist_egg
- copy the generated egg file to the trac instance's plugin directory
cp dist/*.egg /srv/trac/env/plugins
- Config trac.ini:
[components] tractweakui.* = enabled
- Add following directory structure to trac environment's htdocs directory(using editcc as example):
htdocs/tractweakui/
Or you can simply copy the htdocs/tractweakui/ in source to trac environment's htdocs directory.
Usage
- Enter trac's web admin, select "TracTweakUI Admin"
- Add url path(regular expression): /newticket
- Select "/newticket", then select filter "editcc"
- Click "Load Default", and edit filter javascript, then "Save"
- Now click "New Ticket" to test the "editcc" javascript plugin.
Recent Changes
Author/Contributors
Author: richard
Attachments (1)
- kstractweakui.zip (78.2 KB) - added by 16 years ago.
Download all attachments as: .zip