I’d also add that you may want to not touch the files in the share
directory. You may have a reason for doing it this way that I missed in
your message, but generally, RT likes you to copy these files and then
modify the copies. This is called an “overlay”.
You’ll want to copy any files you want to change into
[rt_home]/local/html/[original path]. Modify those files, clear your Mason
cache, restart your server, and your changes will take effect. The
advantage is not only that you have the original file, but that you can
revert to it simply by renaming or erasing your modified version.
To change share/html/Tickets/Elements/ShowPriority, for instance, you’d do:
cp /opt/rt4/share/html/Tickets/Elements/ShowPriority .
You now have a copy of ShowPriority that you can modify as much as you want.On Fri, Nov 4, 2016 at 9:46 AM, Matt Zagrabelny email@example.com wrote:
On Fri, Nov 4, 2016 at 8:10 AM, Stehlík Tomáš firstname.lastname@example.org wrote:
I have one stupid question – I am trying modify SelfService portal but i
facing that changes into html files are not affecting on the pages.
For example, modifying
I tried to change
my $Query = “( Watcher.id = $id )”;
my $Query = “( Watcher.id = 2 )”;
(to just see what happens)
And it’s still same (it shows me only my tickets). Even when I change
You probably need to clear your mason cache:
sudo find /opt/rt4/var/mason_data/obj -mindepth 1 -delete
sudo service apache2 restart
RT 4.4 and RTIR training sessions, and a new workshop day!
- Los Angeles - January 9-11 2017
Automatic Distributors, IT department