Hi Thomas,
This template is renderer by freemarker, which in the current
situation loads its templates from the classpath. So one possible
solution is probably to put your template under WEB-INF/classes (ie,
WEB-INF/classes/somepath/login.html and reference /somepath/
login.html in the configuration)
HTH
g
On Apr 25, 2007, at 13:14 , Thomas Martin wrote:
I tried to follow the steps as explained.
Alas I could not get the provided solution to work.
I've put a copy of original login.html file under docroot/somepath/
login.html
and pointet config>server>login>LoginForm to /docroot/somepath/
login.html
Trying to access the page directly works fine but whenever login is
required I get
ERROR info.magnolia.cms.security.SecurityFilter SecurityFilter.java
(authenticate:182) 25.04.2007 13:07:45 exception while writing
login template
java.io.FileNotFoundException: Template /docroot/somepath/
login.html not found.
Any clues what I might be doing wrong?
Thanks, Thomas
On 12.04.2007, at 22:25, Amir Mistric wrote:
You can put your form and resources under docroot or you can
choose resource/mgnl-resources which is useful if you are creating
a module.
The default login form is in admininterface module under
magnolia-module-admininterface\src\main\resources\mgnl-resources
\loginForm
Take a look at the default form and make sure your input fields
are name the same.
Magnolia will take care of authentication then - you don't have to
do anything.
Thanks
Amir
-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 12, 2007 10:27 AM
To: [email protected]
Subject: Re: [magnolia-user] Modify the login page
Where should I store these files? Inside magnolia database or on
the server like my templates? How do I check that username and
password are correct? Do I have to check with the database?
But if I just want to make the change the one that magnolia uses
by default. How do I do that? Were is that page located?
Go to Configuration->server/login
There will be 2 node data's:
LoginForm -> path top your login HTML page UnsecuredPath -> path to
resources (images, css, etc, etc) that your login form uses.
That is it
Amir
-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 12, 2007 8:09 AM
To: [email protected]
Subject: [magnolia-user] Modify the login page
Hi.
How do I modify the login page (Magnolia Login Form)? What I want
to do is to change the picture and add/remove some text.
Thanks!
----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/developer.html
----------------------------------------------------------------
----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/developer.html
----------------------------------------------------------------
----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/developer.html
----------------------------------------------------------------
----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/developer.html
----------------------------------------------------------------
----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/developer.html
----------------------------------------------------------------
----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/developer.html
----------------------------------------------------------------