Change the "Forgot Password" page

Permalink
Hi all,

I've copied concrete/single_pages/login.php and login_oauth.php to application/single_pages/.

I made a change to login.php: (line 28)
<h1><?php echo !$attribute_mode ? t('Sign In To Simmetrix Support') : t('Required Attributes') ?></h1>

and that seemed to work, I see the change when I go to login.

So then I want to remove the ability to reset the password, since the passwords are specific in a different database. Thinking I could follow the same procedure, I edited my application/single_pages/login_oauth.php (line 60):

<?php echo t('Please open a new support ticket and we will send you the correct password for your company.')?>

But the change doesn't take affect as the other did. I also want to remove the email field and submit button, but I thought I'd start simple then figure it out.

I know I shouldn't change the files inside concrete. What am I doing wrong?

Thanks for your help,
Heather

HeatherMyers
 
mnakalay replied on at Permalink Best Answer Reply
mnakalay
That's a bit different. Concrete5 now works with Authentication models.
So you go to concrete/authentication and you copy the folder "concrete" that's inside it.

You put it in application/authentication

Inside you will find many files. The one you need is form.php which contains the "forgot your password" link

The other files have self-explanatory names so you might or might not want to keep them there.

Only keep the ones you want to modify, not all of them.

Do not keep controller.php and db.xml

Hope that helps
HeatherMyers replied on at Permalink Reply
HeatherMyers
Thanks for the reply. I don't have permissions to create the concrete folder inside application/authentication, so I haven't had a chance to try your suggestion. I'll check with the owner of root tomorrow to get write access, and will mark this as the answer once I've gotten it up and running.

Do you happen to know which file I would change to replace the default background image for the sign-in page? I'd like to get rid of the random images that appear and replace these with just our site's background image.

Thanks again for the help,
Heather
mnakalay replied on at Permalink Reply
mnakalay
You're in luck, there's a free add-on for thathttps://www.concrete5.org/marketplace/addons/mrkdilkington-login-pag...
HeatherMyers replied on at Permalink Reply
HeatherMyers
Is there a way to get the add-on without connecting the website to the concrete5 community?

Heather
HeatherMyers replied on at Permalink Reply
HeatherMyers
Nevermind, I see now the download link next to the other links.

Heather