Where can I remove Time Estimated and Time Left fields?

I tried tweaking Modify.html in
/opt/rt4/share/html/Ticket/Elements/ShowBasics.html to remove those fields
but removing them there doesn’t appear to do the trick. I want the Time
Worked field but don’t need the others. If anyone can point me in the right
direction, it would be much appreciated!
View this message in context: http://old.nabble.com/Where-can-I-remove-Time-Estimated-and-Time-Left-fields--tp32586944p32586944.html

josh.cole wrote:

I tried tweaking Modify.html in
/opt/rt4/share/html/Ticket/Elements/ShowBasics.html to remove those fields
but removing them there doesn’t appear to do the trick. I want the Time
Worked field but don’t need the others. If anyone can point me in the right
direction, it would be much appreciated!

Sorry did only reply to Josh.
Did you stop your webserver en clean your mason cache before restarting
you webserver?

Regards,

Joop

I looked in the mason cache folder and there was nothing inside of there. I
did restart apache a few times, not sure if it empties that folder. Is there
a RT command you run to clear cache?

Joop wrote:

josh.cole wrote:

I tried tweaking Modify.html in
/opt/rt4/share/html/Ticket/Elements/ShowBasics.html to remove those
fields
but removing them there doesn’t appear to do the trick. I want the Time
Worked field but don’t need the others. If anyone can point me in the
right
direction, it would be much appreciated!

Sorry did only reply to Josh.
Did you stop your webserver en clean your mason cache before restarting
you webserver?

Regards,

Joop


RT Training Sessions (http://bestpractical.com/services/training.html)

  • San Francisco, CA, USA October 18 & 19, 2011
  • Washington DC, USA October 31 & November 1, 2011
  • Melbourne VIC, Australia November 28 & 29, 2011
  • Barcelona, Spain November 28 & 29, 2011

View this message in context: http://old.nabble.com/Where-can-I-remove-Time-Estimated-and-Time-Left-fields--tp32586944p32590090.html

josh.cole wrote:

I looked in the mason cache folder and there was nothing inside of there. I
did restart apache a few times, not sure if it empties that folder. Is there
a RT command you run to clear cache?

Do you have DevelopMode set to true or on?
If RT is installed from source then the mason cache should be in:
/opt/rt4/var/mason_data/obj/
rm -Rf /opt/rt4/var/mason_data/obj/*
should do the trick. If RT in installed through a package manager then
you’ll need to find the mason cache by hand.

Regards,

Joop

I’ve done this and the options are still there. Am I editing the correct file
to accomplish what I am trying to?

Joop wrote:

josh.cole wrote:

I looked in the mason cache folder and there was nothing inside of there.
I
did restart apache a few times, not sure if it empties that folder. Is
there
a RT command you run to clear cache?

Do you have DevelopMode set to true or on?
If RT is installed from source then the mason cache should be in:
/opt/rt4/var/mason_data/obj/
rm -Rf /opt/rt4/var/mason_data/obj/*
should do the trick. If RT in installed through a package manager then
you’ll need to find the mason cache by hand.

Regards,

Joop


RT Training Sessions (http://bestpractical.com/services/training.html)

  • San Francisco, CA, USA October 18 & 19, 2011
  • Washington DC, USA October 31 & November 1, 2011
  • Melbourne VIC, Australia November 28 & 29, 2011
  • Barcelona, Spain November 28 & 29, 2011

View this message in context: http://old.nabble.com/Where-can-I-remove-Time-Estimated-and-Time-Left-fields--tp32586944p32621429.html

If anyone is willing to tell me how I can accomplish this. It is driving me
crazy!

josh.cole wrote:

I’ve done this and the options are still there. Am I editing the correct
file to accomplish what I am trying to?

Joop wrote:

josh.cole wrote:

I looked in the mason cache folder and there was nothing inside of
there. I
did restart apache a few times, not sure if it empties that folder. Is
there
a RT command you run to clear cache?

Do you have DevelopMode set to true or on?
If RT is installed from source then the mason cache should be in:
/opt/rt4/var/mason_data/obj/
rm -Rf /opt/rt4/var/mason_data/obj/*
should do the trick. If RT in installed through a package manager then
you’ll need to find the mason cache by hand.

Regards,

Joop


RT Training Sessions (http://bestpractical.com/services/training.html)

  • San Francisco, CA, USA October 18 & 19, 2011
  • Washington DC, USA October 31 & November 1, 2011
  • Melbourne VIC, Australia November 28 & 29, 2011
  • Barcelona, Spain November 28 & 29, 2011

View this message in context: http://old.nabble.com/Where-can-I-remove-Time-Estimated-and-Time-Left-fields--tp32586944p32635032.html

josh.cole wrote:

If anyone is willing to tell me how I can accomplish this. It is driving me
crazy!

As per the subject:
You’ll need to copy SelfService/Display.html to your local folder and
you’ll see that it calls /Ticket/Elements/ShowDates, so you’ll need to
copy that as well. Then you’ll need to modify Display.html to not call
/Tickets/Elements/ShowDates but your modified version.
That is how I would do it.

Regards,

Joop

I changed Ticket/Elements/ShowBasics which has the elements that I want to
remove. I see this in /SelfService/Display.html <&
/Ticket/Elements/ShowBasics, Ticket => $Ticket &>

That is the same file I edited and I have cleared the mason cache but the
changes are not reflected.

Joop wrote:

josh.cole wrote:

If anyone is willing to tell me how I can accomplish this. It is driving
me
crazy!

As per the subject:
You’ll need to copy SelfService/Display.html to your local folder and
you’ll see that it calls /Ticket/Elements/ShowDates, so you’ll need to
copy that as well. Then you’ll need to modify Display.html to not call
/Tickets/Elements/ShowDates but your modified version.
That is how I would do it.

Regards,

Joop


RT Training Sessions (http://bestpractical.com/services/training.html)

  • San Francisco, CA, USA October 18 & 19, 2011
  • Washington DC, USA October 31 & November 1, 2011
  • Barcelona, Spain November 28 & 29, 2011

View this message in context: http://old.nabble.com/Where-can-I-remove-Time-Estimated-and-Time-Left-fields--tp32586944p32641405.html