Member
Member
gelatin   2012-05-10, 18:27
#1

I already checked the Zenphoto template functions to find out how to use printPasswordForm,
but still do not know how to hide the link to "I forgot my User ID/Password"
I suppose its $hints=false, or $_password_hint=false

printPasswordForm($_password_hint = false,$_password_showuser = true);

Thanks

Member
Member
sbillard   2012-05-10, 18:42
#2

That is not hidable.

Member
Member
gelatin   2012-05-10, 19:42
#3

I am using Zenphoto 1.4.2.3

In zp-core/lib-auth.php around line 1008:

if ($hint) {
echo ''.$hint.'';
}

if (OFFSET_PATH != 2) {
?>

/admin.php',['logon_step=challenge', 'ref='+$('#user').val()]);" >

But I guess you are right it's not hideable without changing this core lines....

Thanks for your fast reply.

Member
Member
Wete   2012-05-10, 19:53
#4

Do it quick and dirty - use CSS:

`

.logon_link {

display: none;

}

`

Member
Member
gelatin   2012-05-10, 20:13
#5

Thanks Wete...

your CSS tip did the job.

with your CSS trick I could change my theme without
changing any zp-core files...

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.