Forums | Mahara Community

Support /
editing forgot password page


anonymous profile picture
Account deleted
Posts: 31

29 August 2013, 14:07

Hi All,

Just wanting to edit the text that is displayed on forgotpass.php and remove the email box. How would i go about doing this?


Thanks

Aaron Wells's profile picture
Posts: 896

29 August 2013, 15:18

Hi Mathew,

The easiest way to do it is a local theme override. You'll note in forgotpass.php that the page template for it is "forgotpass.tpl", the default version being at htdocs/theme/raw/templates/forgotpass.tpl

Make a copy of that forgotpass.tpl, at htdocs/local/theme/templates/forgotpass.tpl . Then put whatever you want in that page. Since it's a local change, if your site is just one language, you could just put raw html and text into that file, something like:

{include file="header.tpl"}
<p>Here's some instructions for what to do if you forgot your password!</p>
{include file="footer.tpl"}

Cheers,

Aaron

anonymous profile picture
Account deleted
Posts: 31

29 August 2013, 16:16

Thanks Aaron, that worked perfect!

A post by Kristina Hoeppner was deleted

4 results