Webpath and RT-Extension-ResetPassword

Hello All,

I’ve just installed the above mentioned extension and have noticed two
problems with it.

  • it uses the old Module::Install (copied a more recent version into ./inc)
  • it doesn’t respect $WebPath. The following file needs to be edited:
    RT-Extension-ResetPassword/html/Callbacks/RT-Extension-ResetPassword/Elements/Login/Default

Changed content to (original 2 lines, the <%RT->Config->Get(‘WebPath’)%>
is the edit):


<&|/l&>Forgot
your password?</&>

As a side note:

How do you localize extensions?

Joop

Hello All,

I’ve just installed the above mentioned extension and have noticed two
problems with it.

  • it uses the old Module::Install (copied a more recent version into ./inc)
  • it doesn’t respect $WebPath. The following file needs to be edited:
    RT-Extension-ResetPassword/html/Callbacks/RT-Extension-ResetPassword/Elements/Login/Default

Changed content to (original 2 lines, the <%RT->Config->Get(‘WebPath’)%>
is the edit):



<&|/l&>Forgot
your password?</&>

May be it’s better to use $RT::WebPath in this extension as many users
use it with RT 3.6 and earlier. RT->Config calls don’t not work in
3.6. If you submit a translation I can release a new version.

As a side note:

How do you localize extensions?

read this
http://svn.bestpractical.com/cgi-bin/index.cgi/bps/view/rtir/2.4/trunk/po/README

Create a po dir, create xx.po file with proper header (take from some
po file in RT). follow instructions from the README above.

Joop


List info: http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel

Best regards, Ruslan.

Ruslan Zakirov wrote:

May be it’s better to use $RT::WebPath in this extension as many users
use it with RT 3.6 and earlier. RT->Config calls don’t not work in
I’m on 3.8.1 so I’ll use RT-Config but feel free to adapt to 3.6

3.6. If you submit a translation I can release a new version.
How do I do that, not the translation itself but in what format?
If there is a wiki article or other online howto please let me know.

Joop