3212 Posts in 847 Topics by 809 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 2440 Views |
-
Forgotten Password Template Problem

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">
<ul>
<% control Menu(2) %>
<li class="$LinkingMode"><a href="$Link" title="Go to the "{$Title}" page">$MenuTitle</a>
<% if LinkOrSection = section %>
<% if Children %>
<ul>
<% control Children %>
<li class="$LinkingMode"><a href="$Link" title="Go to the "{$Title}" page">$MenuTitle</a></li>
<% end_control %>
</ul>
<% end_if %>
<% end_if %>
</li>
<% end_control %>
</ul>
</div>
<% end_if %>How do I stop the menu showing?
Thanks heaps
Jamie
-
Re: Forgotten Password Template Problem

2 September 2009 at 11:29pm
Hello Jamie,
I think that the method "lostpassword" is redered with the Page.ss template. You can create a template that will be applied if the "lostpassword" method is called.
1. Copy the Page.ss template
2. rename the copy Page_lostpassword.ss
3. Change the template code of Page_lostpassword.ssI hope that will work ;)
Roland
-
Re: Forgotten Password Template Problem

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">
<h5>$Title</h5>
<div id="Surround">
$LostPasswordForm
</div>
</div>
</div>What should it be?
Thanks
Catherine
-
Re: Forgotten Password Template Problem

20 October 2009 at 9:36pm Last edited: 20 October 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 Security_login.ss)
Security_lostpassword.ss
<div id="content-body">
<h1 id="page-title">$MenuTitle.XML</h1>
$Content
$Form
</div> -
Re: Forgotten Password Template Problem

21 October 2009 at 7:11am
Doh!
Too busy looking for something complex, forgot the basics!!
thank you, much appreciated
Catherine
| 2440 Views | ||
|
Page:
1
|
Go to Top |



