Hello,
ist it possible to set the date picker for date fields (Started, Due,
…) so that it uses a “Monday first” calendar view?
Thanks,
Andreas
Hello,
ist it possible to set the date picker for date fields (Started, Due,
…) so that it uses a “Monday first” calendar view?
Thanks,
Andreas
Hello,
ist it possible to set the date picker for date fields (Started, Due,
…) so that it uses a “Monday first” calendar view?Thanks,
Andreas
If you add the js files [1] and [2] to RT as described here [3]
(replacing CSS with JS) you get the German translations for date and
time picker.
Chris
[1]
[2]
[3]
http://www.bestpractical.com/docs/rt/4.2/customizing/styling_rt.html#Additional-files
Am 16.04.2014 10:38, schrieb Andreas Heinlein:
Hello,
ist it possible to set the date picker for date fields (Started, Due,
…) so that it uses a “Monday first” calendar view?Thanks,
Andreas
If you add the js files [1] and [2] to RT as described here [3]
(replacing CSS with JS) you get the German translations for date and
time picker.Chris
[1]
jquery-ui/ui/i18n/jquery.ui.datepicker-de.js at 1-10-stable · jquery/jquery-ui · GitHub
[2]
jQuery-Timepicker-Addon/src/i18n/jquery-ui-timepicker-de.js at master · trentrichardson/jQuery-Timepicker-Addon · GitHub
[3]
Customizing/Styling rt - RT 4.2.17 Documentation - Best Practical
Thanks for your help. Unfortunately, I cannot get it to work, maybe I
understood something wrong. I looked up the instructions for RT 4.0
instead (forgot to mention we’re still using 4.0) and did:
mkdir -p local/share/html/NoAuth/js
cp …/{jquery.ui.datepicker-de.js, jquery-ui-timepicker-de.js}
local/share/html/NoAuth/js
then added to RT_SiteConfig.pm
Set(@JSFiles, (‘jquery.ui.datepicker-de.js’) );
Set(@JSFiles, (‘jquery.ui-timepicker-de.js’) );
I then cleared var/mason_data/obj and restarted apache. Afterwards I had
no menu at the top and no datepicker at all. I guess something is wrong
with the RT_SiteConfig.pm, but I’m really no good at perl, so maybe you
can help me.
Thanks,
Andreas
Thanks for your help. Unfortunately, I cannot get it to work, maybe I
understood something wrong. I looked up the instructions for RT 4.0
instead (forgot to mention we’re still using 4.0) and did:
mkdir -p local/share/html/NoAuth/js
cp …/{jquery.ui.datepicker-de.js, jquery-ui-timepicker-de.js}
local/share/html/NoAuth/jsthen added to RT_SiteConfig.pm
Set(@JSFiles, (‘jquery.ui.datepicker-de.js’) );
Set(@JSFiles, (‘jquery.ui-timepicker-de.js’) );I then cleared var/mason_data/obj and restarted apache. Afterwards I had
no menu at the top and no datepicker at all. I guess something is wrong
with the RT_SiteConfig.pm, but I’m really no good at perl, so maybe you
can help me.Thanks,
Andreas
For RT 4.0 you must copy @JSFiles from RT_Config.pm to RT_SiteConfig.pm
and add the 2 new js files to the list [1].
Don’t forget to update RT_SiteConfig.pm once you upgrade to RT 4.2 as
the behavior of @JSFiles changed in RT 4.2 [2].
Chris
[1] RT Config - RT 4.0.25 Documentation - Best Practical
[2] UPGRADING-4.2 - RT 4.2.17 Documentation - Best Practical