cancel
Showing results for 
Search instead for 
Did you mean: 

modiication of the LOGIN page

bisana
Champ on-the-rise
Champ on-the-rise
Hi All
I am using the CE 4.2.d.
I am exploring and learning more on Alfresco. Now I feel comfortable with Installation, my next task is to understand and master customization of Alfresco
As a task for self exploring the customization, I wanted to redisgn the login page (not the logo) but I want to add check box there in the login screen, where  the user has to check it (mandatory) for him to log.
I do not get a correct idea on how to go about it. Which files to edit and what approach I should take
I request your guidance and advice
thanks
1 REPLY 1

zladuric
Champ on-the-rise
Champ on-the-rise
Hi Bisana,

To customize the login page, you would have to start with the file
<TOMCAT_HOME>/share/WEB-INF/classes/alfresco/templates/org/alfresco/global/slingshot-login.ftl
. Of course, usually you don't work directly on the share deployment. You can open up the extensions folder.

So from tomcat shared loader directory (typically
<TOMCAT_HOME>/shared/
directory) you would create a directory path:
<TOMCAT_HOME>/shared/classes/alfresco/web-extension/templates/org/alfresco/global/
.

In this folder, you can copy the original
slingshot-login.ftl
file, and do your customizations there.

Then after restarting Alfresco, your extension will be picked up and used by Alfresco.

This is just the markup, but it is a first step. But I think you should be much better off starting with a simple Hello world dashlet. Then create a simple backend Hello world webscript. Then use the two in conjunction. It would provide a better insight into how Alfresco Share works and how it collaborates with repository backend, I believe.