1
anlace
Where Can I Edit the "Lost Password Page?"
  • 2004/8/2 17:13

  • anlace

  • Just popping in

  • Posts: 43

  • Since: 2004/7/27


Greetings,

I need to change the lost password dialog. Users that access the web site I'm working on do not set their own passwords. I need to change the page to read "Please email for your password etc" instead of the current option which is to change the password. What is the name of the .php file that I can edit to change this? I'm going to keep looking and of course I will post my findings.

Ideally, I would like to have something in the page that would simply email their existing password to them but I do not know how to write php.

Thanks for any and all help!

Peace,
Gail

2
tl
Re: Where Can I Edit the "Lost Password Page?"
  • 2004/8/2 17:22

  • tl

  • Friend of XOOPS

  • Posts: 999

  • Since: 2002/6/23


language/english/user.php

3
anlace
Re: Where Can I Edit the "Lost Password Page?"
  • 2004/8/2 17:35

  • anlace

  • Just popping in

  • Posts: 43

  • Since: 2004/7/27


Thank you, that's where I can change the verbiage but where can I change the contents of the block "Lost Your Password?" on the page?

Gail

4
tl
Re: Where Can I Edit the "Lost Password Page?"
  • 2004/8/2 17:38

  • tl

  • Friend of XOOPS

  • Posts: 999

  • Since: 2002/6/23


/modules/system/language/english/blocks.php

If you want to change the layout, then you would need to modify the corresponding themplate files.

5
anlace
Re: Where Can I Edit the "Lost Password Page?"
  • 2004/8/2 17:42

  • anlace

  • Just popping in

  • Posts: 43

  • Since: 2004/7/27


Ok . . . . so where do I find it/them? Do you have some .php names? It doesn't seem to be a template that comes up in the regular admin page.

Gail

6
tl
Re: Where Can I Edit the "Lost Password Page?"
  • 2004/8/2 17:55

  • tl

  • Friend of XOOPS

  • Posts: 999

  • Since: 2002/6/23


If you want to modify the contents, the file referred to will be sufficient.

IF you want to modify the login layout/template, it is under modules/system/templates/blocks

There is a templates directory under each module. That is where you find the template files.

You may want to check with XOOPS WIKI if you are not familiar with templates.

http://wiki.xoops.org



7
tjnemez
Re: Where Can I Edit the "Lost Password Page?"
  • 2004/8/2 18:00

  • tjnemez

  • Home away from home

  • Posts: 1594

  • Since: 2003/9/21


gail if you are not familiar with cloning templates go here:http://www.dcdezines.ca/modules/articles/article.php?articleID=7

8
anlace
Re: Where Can I Edit the "Lost Password Page?"
  • 2004/8/2 18:09

  • anlace

  • Just popping in

  • Posts: 43

  • Since: 2004/7/27


Here is what I did to accomplish what I needed:

The file is found in Admin Menu > System Admin > Templates > system_userform.html

I edited:

<fieldset style="padding: 10px;">
<legend style="font-weight: bold;"><{$lang_lostpassword}></legend>
<div><br /><{$lang_noproblem}></div>
<form action="lostpass.php" method="post">
<{$lang_youremail}> <input type="text" name="email" size="26" maxlength="60" />&nbsp; <input type="hidden" name="op" value="mailpasswd" /><input type="submit" value="<{$lang_sendpassword}>" />
</form>
</fieldset>


To read:

<fieldset style="padding: 10px;">
<legend style="font-weight: bold;"><{$lang_lostpassword}></legend>
<a href=mailto:password@lrsdatabase.com>Email us to request your password</a> and we'll send it to you as soon as possible or you can call 360 321-2850 or fax your request to 360 321-5460.
</fieldset>


And now it does exactly as I needed it to do. This was after the templates were cloned of course, otherwise they are impossible to edit.

Thanks to all who replied today!
Gail

Login

Who's Online

119 user(s) are online (72 user(s) are browsing Support Forums)


Members: 0


Guests: 119


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits