[rt-users] Login banner
Dan Madere
danmadere at gmail.com
Wed Jun 27 10:46:00 EDT 2012
Hi Brad,
You'll just need to clear RT's mason cache. Instructions here:
http://requesttracker.wikia.com/wiki/CleanMasonCache
Thanks,
Dan
On Wed, Jun 27, 2012 at 10:39 AM, Brad <b_zynda at comcast.net> wrote:
>
> ________________________________
> From: Zynda, Bradley V. (GSFC-423.0)[ADNET SYSTEMS INC]
> Sent: 6/27/2012 10:13 AM
> To: Brad
> Subject: Re: [rt-users] Login banner
>
> Hi Jonathan,
>
> I have added a test label to:
>
> /opt/rt4/share/html/Elements/Login
>
>
>
> Code I have inserted:
>
> <div class="input-row">
> <span class="label"><&|/l&>TestLabel</&>:</span>
> </div>
>
>
>
> Snippet of the code with my inserted code:
>
> % $m->callback( %ARGS, CallbackName => 'Header' );
> <& /Elements/Header, Title => loc('Login'), Focus => 'user', RichText => 0
> &>
>
> <div id="body" class="login-body">
>
> <& /Elements/ListActions,
> title => loc('Error'),
> titlebox => { class => 'error', hideable => 0 },
> actions => $actions
> &>
>
> % $m->callback( %ARGS, CallbackName => 'BeforeForm' );
>
> <div id="login-box">
> <&| /Widgets/TitleBox, title => loc('Login'), titleright => $RT::VERSION,
> hideable => 0 &>
>
> % unless (RT->Config->Get('WebExternalAuth') and
> !RT->Config->Get('WebFallbackToInternalAuth')) {
> <form id="login" name="login" method="post" action="<%
> RT->Config->Get('WebPath') %>/NoAuth/Login.html">
>
> <div class="input-row">
> <span class="label"><&|/l&>Username</&>:</span>
> <span class="input"><input name="user" value="<%$user%>" id="user"
> /></span>
> </div>
>
> <div class="input-row">
> <span class="label"><&|/l&>Password</&>:</span>
> <span class="input"><input type="password" name="pass"
> autocomplete="off" /></span>
> </div>
>
> <div class="input-row">
> <span class="label"><&|/l&>TestLabel</&>:</span>
> </div>
>
> <input type="hidden" name="next" value="<% $next %>" />
>
> <script type="text/javascript">
> jQuery(function(){
> if (window.location.hash) {
> var form = jQuery("form[name=login]");
> form.attr('action', form.attr('action') + '#' +
> window.location.hash.replace(/^#/, ''));
> }
> });
>
>
>
> Do I need to rebuild anything? As I am not seeing any changes on the login
> page via the browser.
>
> Note: I have cleared the browser cache prior to going to the page.
>
> Thanks,
> Brad
>
> On 6/27/12 10:01 AM, "Brad" <b_zynda at comcast.net> wrote:
>
>>
>>
>>
>>________________________________________
>>From:
>>Jonathan Khattir
>>Sent:
>>6/27/2012 4:03 AM
>>To:
>>Brad
>>Subject:
>>Re: [rt-users] Login banner
>>
>>Go to /html/Elements/Login
>>
>>2012/6/26 Brad <b_zynda at comcast.net>
>>
>>
>>
>>
>>________________________________________
>>From:
>>Brad
>>Sent:
>>6/26/2012 12:36 PM
>>To:
>>Brad;
>>rt-users at bestpractical.com <mailto:rt-users at bestpractical.com>
>>Subject:
>>Login banner
>>
>>
>>
>>
>>________________________________________
>>From:
>>Brad
>>Sent:
>>6/26/2012 10:14 AM
>>To:
>>rt-users at bestpractical.com
>>Subject:
>>Login banner
>>
>>Hello,
>>
>>Does anyone have a how-to on adding text above, below or in the default
>>login box via the login page.
>>
>>RT version 4.0.5 default theme
>>
>>Have a requirement to have legal warning at all login prompts.
>>
>>Thanks,
>>Brad
>>
>>
>>
>>
>>
>>
>>
>>
>
More information about the rt-users
mailing list