I am using 'Login Block' to access Intranet pages from our website. I used 'Login Block' on www.example.com/common-intra page to login into intranet section.
I am using userprotect module to hide profile/username/password information from the users when they logged in into Intranet section (www.example.com/common-intra) with universal account.
But, I wanted to hide/remove "Request New password" link from Intranet Login page:
I found this module, haven't used yet though:
https://www.drupal.org/project/noreqnewpass
Is there any other easy way to just hide "Request New password" link from that Intranet Login page?
I still want this tab on general login page such as: www.example.com/user But, I just want to hide it from the www.example.com/common-intra page.
I also tried to hide it with css.
This is my page source code:
<div class="panel-separator"></div><div class="panel-pane pane-block pane-user-login common-intra pane-user common_login_button" class="panel-pane pane-block pane-user-login common-intra pane-user common_login_button">
<div class="pane-content">
<form action="/common-login?destination=node/16" method="post" id="user-login-form" accept-charset="UTF-8"><div><div class="form-item form-type-textfield form-item-name">
<label for="edit-name">Username <span class="form-required" title="This field is required.">*</span></label>
<input type="text" id="edit-name" name="name" value="" size="15" maxlength="60" class="form-text required" />
</div>
<div class="form-item form-type-password form-item-pass">
<label for="edit-pass">Password <span class="form-required" title="This field is required.">*</span></label>
<input type="password" id="edit-pass" name="pass" size="15" maxlength="128" class="form-text required" />
</div>
<div class="item-list">
<ul>
<li class="first last"><a href="/user/password" title="Request new password via e-mail.">Request new password</a></li>
</ul></div>
<input type="hidden" name="form_build_id" value="form-_xyzabc" />
<div class="form-actions form-wrapper" id="edit-actions"><input type="submit" id="edit-submit" name="op" value="Log in" class="form-submit" /></div></div></form> </div>
</div>
I gave class name 'common-intra'
to user login block to my node template.
.common-intra ul li{
display: none;
}
I also tried:
.panel-pane pane-block pane-user-login common-intra pane-user common_login_button ul li
{
display: none;
}