17488 Posts in 4473 Topics by 1978 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 4041 Views |
-
Admin Login form not using Page template

10 October 2008 at 9:39am
Hi,
Due to design of site, I'd like to avoid using Page.ss template for the admin login. Is this possible?In Security.php, I see:
// custom processing
if(SSViewer::hasTemplate("Security_login")) {
return $customisedController->renderWith(array("Security_login", "Page"));
} else {
return $customisedController->renderWith("Page");
}Does this mean it has to be the Page template?
Sorry if I'm missing something obvious.
Todd
-
Re: Admin Login form not using Page template

10 October 2008 at 10:00am
You can create a template named Security_login.ss. It will be used as template then. If it doesn't exist, Page.ss will be used.
Make sure you enter the $Form placeholder in the template, otherwise your login form won't be shown.
| 4041 Views | ||
|
Page:
1
|
Go to Top |


