Editing login form on homepage

I want to make the "remember me" checkbox pre-checked, but I can't find where to edit. I tried editing login_form.html, nothing. I actually deleted the 3 login forms hoping to find it,  but it was in none of those files. Where can I edit that login box?

And yes, I cleared cache after all editing. login_form.html is the only one I found that had the "remember me" checkbox, but editing did not work.

Quote · 11 May 2011

will pre-check the remember me chechkbox on homepage, join page and pop-up login form
(not tested the function)

file: inc/design.inc.php

function getMemberLoginFormCode($sID = 'member_login_form', $sParams = '')

find:
'rememberme' => array(
'type' => 'checkbox',
'name' => 'rememberMe',
'label' => _t('_Remember password'),
),

change to:
'rememberme' => array(
'type' => 'checkbox',
'name' => 'rememberMe',
'checked' => 'checked',
'label' => _t('_Remember password'),
),

 

And yes, clear cache after change...

Quote · 11 May 2011

Extremely cool okweb !   The little mods you do here are so awesome!

You don't happen to know how to make it so that anyone who responds to a forum post will always get an alert by default do you?  that is one that I am trying to figure out without much luck, and you are really good at this stuff.

Rob

 

Quote · 12 May 2011

Thanks okweb, that did it

Quote · 12 May 2011
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.