17488 Posts in 4473 Topics by 1978 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1655 Views |
-
How to define a special template for the login-page

1 January 2008 at 12:59pm Last edited: 1 January 2008 1:01pm
Hello there,
how can I define a special template for the login (admin - Page)
or perhaps is there a condition like <% if loginpage %> that I could use in the default page.ssI know that I can get a Login-Form in my Template with $LoginForm but in that case I would have to create a special page in the Backend with the bahaviour loginpage and i would have to create the controllers and models etc.
I need the $Form of my default Template because I use "UserDefinedForm" so I search for a possibility to control my template in case the admin-Page is requested.
Thanks Roland
-
Re: How to define a special template for the login-page

2 January 2008 at 12:41am
Hello there - happy new year!
I solved my problem in an unconventional way:
<% if URLSegment = Security %>
perhaps there are much smarter ways - but it works for me now.
Cheers Roland
-
Re: How to define a special template for the login-page

9 October 2008 at 10:41am
This works, but is there a way to specify which .ss page to use rather than Page.ss?
Todd
| 1655 Views | ||
|
Page:
1
|
Go to Top |

