Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Template Questions /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Forgotten Password Template Problem

Go to End

5 Posts   4595 Views


Community Member, 17 Posts

2 September 2009 at 9:44am

Hi All,

Firstly, Thanks for such a great product... lovin it!

I'm quite new to SS and have just finished my first simple site but I have a problem with the 'Lost Password Page'.

Because the lost password url is something like http://testsite.tko/Security/lostpassword. My sub menu is showing up... following?

see attached screen

my menu code looks something like:

<% if Menu(2) %>
<div class="oneCol leftMenu">
<% control Menu(2) %>
<li class="$LinkingMode"><a href="$Link" title="Go to the &quot;{$Title}&quot; page">$MenuTitle</a>
<% if LinkOrSection = section %>
<% if Children %>
<% control Children %>
<li class="$LinkingMode"><a href="$Link" title="Go to the &quot;{$Title}&quot; page">$MenuTitle</a></li>
<% end_control %>
<% end_if %>
<% end_if %>
<% end_control %>
<% end_if %>

How do I stop the menu showing?

Thanks heaps


Attached Files

Community Member, 279 Posts

2 September 2009 at 11:29pm

Hello Jamie,

I think that the method "lostpassword" is redered with the template. You can create a template that will be applied if the "lostpassword" method is called.
1. Copy the template
2. rename the copy
3. Change the template code of

I hope that will work ;)



Community Member, 187 Posts

20 October 2009 at 8:35pm

So I have created a lost template which applies but I have lost it contents i.e. I no longer see

Enter your e-mail address and we will send you a link with which you can reset your password

Email ...

I have tried calling $LostPasswordForm i.e.

<div class="typography">
<div id="Content">
<div id="Surround">

What should it be?




Community Member, 191 Posts

20 October 2009 at 9:36pm

Edited: 20/10/2009 9:37pm

This is all I have in my custom template for the Lost Password page. (if you wanted to customize your login page, it would be

<div id="content-body">
    <h1 id="page-title">$MenuTitle.XML</h1>


Community Member, 187 Posts

21 October 2009 at 7:11am


Too busy looking for something complex, forgot the basics!!

thank you, much appreciated