Editting header and css files

OK, I know this is an easy question. But i’m still having a little problem
with this.

Say I want to edit the webrt.css file and/or the Header file. I understand
the idea of using the ‘local’ directory. But WHICH local directory. I’m
assuming I should be putting my stuff into [rt directory]/local/html/…
So, my webrt.css file should be in [rt directory]/local/html/NoAuth/webrt.css
and my Header should be in [rt directory]/local/html/Elements/Header

However, I’ve made changes to those file and I am not seeing any changes on
the front end.
What am I doing wrong here? Have I forgotten a step?

BTW, I’m using RT 3.4.1 on a RHE3 box. recently upgraded from 3.0.1.
Thanks.
–Alex

Alex Brelsfoard
Web Applications Developer
Web Development Office
Worcester Polytechnic Institute
508-831-6147
alexb@wpi.edu

Brelsfoard, Alex wrote:

OK, I know this is an easy question. But i’m still having a little
problem with this.

Say I want to edit the webrt.css file and/or the Header file. I
understand the idea of using the ‘local’ directory. But WHICH local
directory. I’m assuming I should be putting my stuff into [rt
directory]/local/html/…
So, my webrt.css file should be in [rt
directory]/local/html/NoAuth/webrt.css
and my Header should be in [rt directory]/local/html/Elements/Header

This is correct.

However, I’ve made changes to those file and I am not seeing any
changes on the front end.
What am I doing wrong here? Have I forgotten a step?

Have you checked permissions? And failing that, have you stopped and
started apache?

BTW, I’m using RT 3.4.1 on a RHE3 box. recently upgraded from 3.0.1.
Thanks.
–Alex

Alex Brelsfoard
Web Applications Developer
Web Development Office
Worcester Polytechnic Institute
508-831-6147
alexb@wpi.edu

DB

Have you checked permissions? And failing that, have you stopped and
started apache?
Permissions have been checked.
Does Apache need to be restarted to see these changes? Oh, I thought it was
on the fly.
That could definitely explain it.
I will try.
Thanks much.
–Alex

Alex Brelsfoard
Web Applications Developer
Web Development Office
Worcester Polytechnic Institute
508-831-6147
alexb@wpi.eduFrom: Drew Barnes [mailto:barnesaw@ucrwcu.rwc.uc.edu]
Sent: Tuesday, March 22, 2005 12:33 PM
To: Brelsfoard, Alex
Cc: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Editting header and css files

Brelsfoard, Alex wrote:

OK, I know this is an easy question. But i’m still having a little
problem with this.

Say I want to edit the webrt.css file and/or the Header file. I
understand the idea of using the ‘local’ directory. But WHICH local
directory. I’m assuming I should be putting my stuff into [rt
directory]/local/html/…
So, my webrt.css file should be in [rt
directory]/local/html/NoAuth/webrt.css
and my Header should be in [rt directory]/local/html/Elements/Header

This is correct.

However, I’ve made changes to those file and I am not seeing any
changes on the front end.
What am I doing wrong here? Have I forgotten a step?

Have you checked permissions? And failing that, have you stopped and started
apache?

BTW, I’m using RT 3.4.1 on a RHE3 box. recently upgraded from 3.0.1.
Thanks.
–Alex

Alex Brelsfoard
Web Applications Developer
Web Development Office
Worcester Polytechnic Institute
508-831-6147
alexb@wpi.edu

DB

Brelsfoard, Alex wrote:

Have you checked permissions? And failing that, have you stopped and
started apache?
Permissions have been checked.
Does Apache need to be restarted to see these changes? Oh, I thought it was
on the fly.

When I was testing 3.4.1 (stayed with 3.2.3 because of resistance to
change in my department) I had trouble getting the devel mode turned off
and MOST changes ended up requiring an apache restart. Might have been
an isolated problem on my end. Testing of 3.4.1 is set to begin again
in a few wekks on a fresh box. I might know more then.

That could definitely explain it.
I will try.
Thanks much.
–Alex

Alex Brelsfoard
Web Applications Developer
Web Development Office
Worcester Polytechnic Institute
508-831-6147
alexb@wpi.edu

DB

At Tuesday 3/22/2005 12:07 PM, Brelsfoard, Alex wrote:

Content-class: urn:content-classes:message
Content-Type: multipart/alternative;
boundary="----_=_NextPart_001_01C52F01.9EF639AE"

OK, I know this is an easy question. But i’m still having a little
problem with this.

Say I want to edit the webrt.css file and/or the Header file. I
understand the idea of using the ‘local’ directory. But WHICH local
directory. I’m assuming I should be putting my stuff into [rt
directory]/local/html/…
So, my webrt.css file should be in [rt directory]/local/html/NoAuth/webrt.css

Style sheet changes need to go into a callback:

$RTHOME/local/html/Callbacks//NoAuth/webrt.css/Default

Steve

Hello,

At the moment, the callback to ‘BeforeMessageBox’ is right after the
part where “Message:” is printed, but before the message box. Should the
callback preceed “Message:” and the message box?

ie.

diff share/html/Ticket/Update.html local/html/Ticket/Update.html
116d115
<

<&|/l&>Message</&>:
117a117
<&|/l&>Message:

Anthony Leong

At Tuesday 3/22/2005 12:07 PM, Brelsfoard, Alex wrote:

Content-class: urn:content-classes:message
Content-Type: multipart/alternative;
boundary="----_=_NextPart_001_01C52F01.9EF639AE"

OK, I know this is an easy question. But i’m still having a little
problem with this.

Say I want to edit the webrt.css file and/or the Header file. I
understand the idea of using the ‘local’ directory. But WHICH local
directory. I’m assuming I should be putting my stuff into [rt
directory]/local/html/…
So, my webrt.css file should be in [rt
directory]/local/html/NoAuth/webrt.css

Style sheet changes need to go into a callback:

$RTHOME/local/html/Callbacks//NoAuth/webrt.css/Default

Steve

Not if you are completely replacing, such as when the callbacks
you want don’t exist.

At Tuesday 3/22/2005 02:18 PM, Todd Chapman wrote:

Style sheet changes need to go into a callback:

$RTHOME/local/html/Callbacks//NoAuth/webrt.css/Default

Steve

Not if you are completely replacing, such as when the callbacks
you want don’t exist.

Not sure I understand what you’re saying here. Could you explain further
and suggest where you think local style sheet changes should go?

Thanks,
Steve

Thank you all for your feedback.
I was able to get everything working by adding a line in the header file to a
second stylesheet that I places in [rthome]/locatl/html/NoAuth/webrt2.css
And then restarted the apache server.
This way we only need to override that which we want changed in the css file.
Worked pretty well.

But is there a way to do this so that I do not need to restart the server
each time I make a change in/addintion to the local directory? Or should I
just get used to restarting the apache server?
Thanks again.
–Alex

Alex Brelsfoard
Web Applications Developer
Web Development Office
Worcester Polytechnic Institute
508-831-6147
alexb@wpi.eduFrom: Stephen Turner [mailto:sturner@MIT.EDU]
Sent: Tuesday, March 22, 2005 2:02 PM
To: Brelsfoard, Alex; rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Editting header and css files

At Tuesday 3/22/2005 12:07 PM, Brelsfoard, Alex wrote:

Content-class: urn:content-classes:message
Content-Type: multipart/alternative;
boundary="----_=_NextPart_001_01C52F01.9EF639AE"

OK, I know this is an easy question. But i’m still having a little
problem with this.

Say I want to edit the webrt.css file and/or the Header file. I
understand the idea of using the ‘local’ directory. But WHICH local
directory. I’m assuming I should be putting my stuff into [rt
directory]/local/html/…
So, my webrt.css file should be in [rt
directory]/local/html/NoAuth/webrt.css

Style sheet changes need to go into a callback:

$RTHOME/local/html/Callbacks//NoAuth/webrt.css/Default

Steve

Thank you all for your feedback.
I was able to get everything working by adding a line in the header file to a
second stylesheet that I places in [rthome]/locatl/html/NoAuth/webrt2.css
And then restarted the apache server.
This way we only need to override that which we want changed in the css file.
Worked pretty well.

But is there a way to do this so that I do not need to restart the server
each time I make a change in/addintion to the local directory? Or should I
just get used to restarting the apache server?
Thanks again.
–Alex

grep DevelMode $RTHOME/etc/RT_Config.pm

grep DevelMode $RTHOME/etc/RT_Config.pm
Set($DevelMode => ‘0’);

So, should I set this to 1 until we’re done editting?
–Alex

Alex Brelsfoard
Web Applications Developer
Web Development Office
Worcester Polytechnic Institute
508-831-6147
alexb@wpi.eduFrom: Todd Chapman [mailto:todd@chaka.net]
Sent: Tuesday, March 22, 2005 2:57 PM
To: Brelsfoard, Alex
Cc: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Editting header and css files

Thank you all for your feedback.
I was able to get everything working by adding a line in the header
file to a second stylesheet that I places in
[rthome]/locatl/html/NoAuth/webrt2.css
And then restarted the apache server.
This way we only need to override that which we want changed in the css
file.
Worked pretty well.

But is there a way to do this so that I do not need to restart the
server each time I make a change in/addintion to the local directory?
Or should I just get used to restarting the apache server?
Thanks again.
–Alex

grep DevelMode $RTHOME/etc/RT_Config.pm

grep DevelMode $RTHOME/etc/RT_Config.pm
Set($DevelMode => ‘0’);

So, should I set this to 1 until we’re done editting?

Yes. Don’t forget to restart Apache!

Thanks very much!
–Alex

Alex Brelsfoard
Web Applications Developer
Web Development Office
Worcester Polytechnic Institute
508-831-6147
alexb@wpi.edu-----Original Message-----
From: Todd Chapman [mailto:todd@chaka.net]
Sent: Tuesday, March 22, 2005 3:26 PM
To: Brelsfoard, Alex
Cc: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Editting header and css files

On Tue, Mar 22, 2005 at 03:19:05PM -0500, Brelsfoard, Alex wrote:

grep DevelMode $RTHOME/etc/RT_Config.pm
Set($DevelMode => ‘0’);

So, should I set this to 1 until we’re done editting?

Yes. Don’t forget to restart Apache!