Modify

Opened 14 years ago

Closed 6 years ago

#6852 closed defect (worksforme)

TracTweakUiPlugin doesn't work

Reported by: 林悠居士 Owned by: Richard Liao
Priority: normal Component: TracTweakUiPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description (last modified by Ryan J Ollos)

As the example:

  1. Enter trac's Web Admin, select TracTweakUI Admin
  2. Add url path(regular expression): /newticket
  3. Select /newticket, then select filter editcc
  4. Click Load Default, and edit filter javascript, then Save

I have did it step by step, I have loaded the default Javascript and I have saved them. But When I created new ticket,the page doesn't appear "编辑",it has no changes.

The scripts'permissions are 755.

Like that:

drwxr-xr-x 2 www-data www-data 4.0K 03-23 16:59 cluetip
drwxr-xr-x 2 www-data www-data 4.0K 03-23 16:59 datepicker
drwxr-xr-x 2 www-data www-data 4.0K 03-24 10:31 editcc
...
-rwxr-xr-x 1 www-data www-data  655 03-23 16:59 del.png
-rwxr-xr-x 1 www-data www-data  295 03-24 09:45 editcc.css
-rwxr-xr-x 1 www-data www-data 2.2K 03-24 09:45 editcc.js
...

And My URL path is /newticket,and I also tried ^/newticket, /(new)?ticket, all of them didn't work. I looked over the log, it said that:

Trac[env] WARNING: base_url option not set in configuration, generated links may be incorrect

What can I do next? Please help me, Thank you, Dear!

Attachments (0)

Change History (2)

comment:1 Changed 6 years ago by Ryan J Ollos

Description: modified (diff)
Summary: TracTweakUiPlugin cat't work.TracTweakUiPlugin doesn't work

comment:2 Changed 6 years ago by Ryan J Ollos

Resolution: worksforme
Status: newclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Richard Liao.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.