[rt-users] colorize status

Alex Young alexyoung at scoutsolutions.co.uk
Thu Feb 26 09:03:37 EST 2009


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:Richard.Foley at rfi.net] 
Sent: 26 February 2009 13:56
To: Alex Young
Cc: rt-users at lists.bestpractical.com; 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:Richard.Foley at rfi.net] 
> Sent: 26 February 2009 12:55
> To: Alex Young
> Cc: rt-users at lists.bestpractical.com; 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. 
> ...
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ColumnMap
Type: application/octet-stream
Size: 3985 bytes
Desc: ColumnMap
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20090226/e9998491/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: End
Type: application/octet-stream
Size: 28 bytes
Desc: End
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20090226/e9998491/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: statuscolor.css
Type: text/css
Size: 513 bytes
Desc: statuscolor.css
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20090226/e9998491/attachment.css>


More information about the rt-users mailing list