I have attached the exact files I am using for you to try. If you have cleared the mason cache and restarted Apache i dont know what else to suggest. I have noticed that RT doesnt reload .css files unless its had an apache restart, rather than reload. Also make sure you clear your browser cache.
-----Original Message----- From: Richard Foley [mailto:[email protected]] Sent: 26 February 2009 13:56 To: Alex Young Cc: [email protected]; Daniel Cook Subject: Re: [rt-users] colorize status On Thursday 26 February 2009 14:22:56 Alex Young wrote: > Hi Alex, Thanks for that, that seems very close to what I had apart from the duplicates, it's identical now, so there must be something else dozy going on. The css file is not picked up, and all my statuses continue to remain black. I might give up for the moment and come back to this later, when someone _really_ wants it... Just FYI and for reference, here's my current dir structure. /opt/rt3/local/html # tree Callbacks NoAuth Callbacks `-- MyCallbacks |-- Elements | `-- RT__Ticket | `-- ColumnMap | `-- ColumnMap `-- NoAuth `-- css `-- web2 `-- main.css `-- End NoAuth `-- css `-- web2 `-- statuscolor.css -- Richard Foley Ciao - shorter than aufwiedersehen http://www.rfi.net/ > This is what I have: > > /opt/rt3/local/html# tree Callbacks/ NoAuth/ > Callbacks/ > `-- MyCallbacks > |-- Elements > | `-- RT__Ticket > | `-- ColumnMap > | |-- ColumnMap > `-- NoAuth > `-- css > `-- web2 > `-- main.css > `-- End > NoAuth/ > `-- css > `-- web2 > `-- statuscolor.css > > > -----Original Message----- > From: Richard Foley [mailto:[email protected]] > Sent: 26 February 2009 12:55 > To: Alex Young > Cc: [email protected]; Daniel Cook > Subject: Re: [rt-users] colorize status > > On Wednesday 25 February 2009 17:29:10 Alex Young wrote: > > You say your file is: > > > /opt/rt3/local/html/Callbacks/MyCallbacks/Elements/RT__Ticket/Columnmap/ > > Columnmap > > > > That's wrong. Columnmap should me ColumnMap in both instances. > > > Hi Alex, > > Having fixed the beginners mistake, (whoops :-] and thanks), I still > have no joy. I must be doing something really daft. Perhaps I should > show the directory structure I have, and why (I find) the instructions > are confusing. Because the instructions refer to the 'directory > just created', I have placed the statuscolor.css file in both the web2/ > and the main.css/ directories, both under the > html/Callbacks/MyCallbacks tree and under the html/NoAuth tree, too (one > of these is clearly wrong). Please re-read the instructions to see > how this can be misinterpreted - I've appended these below for > reference. No doubt I'm reading this badly, but the end result is that > this > leaves me with the following structure: > > /opt/rt3/local/html # tree Callbacks/ NoAuth/ > Callbacks/ > `-- MyCallbacks > |-- Elements > | `-- RT__Ticket > | `-- ColumnMap > | `-- ColumnMap > `-- NoAuth > `-- css > `-- web2 > |-- main.css > | |-- End > | `-- statuscolor.css > `-- statuscolor.css > NoAuth/ > `-- css > `-- web2 > |-- main.css > | |-- End > | `-- statuscolor.css > `-- statuscolor.css > > Yes, I'm using the web2 theme and I've cleaned out the mason templates > and restarted apache2, too, to no effect. > > -- > Richard Foley > Ciao - shorter than aufwiedersehen > > http://www.rfi.net/ > > > * Create the directory: > <RTInstallationDir>/local/html/Callbacks/<SiteCallbacks>/NoAuth/css/web2 > /main.css > * Create the file: > <RTInstallationDir>/local/html/Callbacks/<SiteCallbacks>/NoAuth/css/web2 > /main.css/End > > And in that file, put: > > @import "statuscolor.css"; > > * In the directory just created > '<RTInstallationDir>/local/html/NoAuth/css/web2' you will need to create > a new file. > * Name the file statuscolor.css and place the following content in > it. > ... >
ColumnMap
Description: ColumnMap
End
Description: End
/* Status Colours */
.statusnew {
color: #bb0000;
text-align: left;
font-weight: bold;
}
.statusopen {
color: #0000bb;
text-align: left;
font-weight: bold;
}
.statusreply {
color: #00bb00;
text-align: left;
font-weight: bold;
}
.statusresolved {
color: #888888;
text-align: left;
font-weight: bold;
}
.statusrejected {
color: #884444;
text-align: left;
font-weight: bold;
}
.statusstalled {
color: #884422;
text-align: left;
font-weight: bold;
}
_______________________________________________ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: [email protected] Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
