cancel
Showing results for 
Search instead for 
Did you mean: 

Hello All - Create a custom login page?

himansu123
Champ in-the-making
Champ in-the-making

I am new in Alfresco .I want to use Alfresco in my project.i want to create a custom login page and  do operation on basis of roles.Please share any link or document to do this operation .

Thanks & Regards

Himansu Sekhar Rath

17 REPLIES 17

Hi,

You can write the following in your login.ftl

<form id="loginform" accept-charset="UTF-8" method="post" action="${url.context}/page/dologin">
Username: <input type="text" id="username" name="username"/><br>
Password: <input type="password" id="password" name="password"/><br>
<input type="submit" id="btn-login" />
</form>‍‍‍‍‍

Note: You have to keep the ids,names and action everything same in order to make the alfresco fetch the values. For more information refer http://docs.alfresco.com/5.1/tasks/dev-extensions-share-tutorials-override-login-page.html

Thank You,

Kalpesh

ContCentric

i created a custome login page now i want to add css and js files to this page ,in which location i need to put these files ..?

Hi Himansu,

You can put your images, css and js files under the META-INF folder

for example 

META-INF/mylogin/login.css, the URL /share/res/mylogin/login.css would be used.

Thank You,

Kalpesh

ContCentric

Thanks sir ,

now i am geting my custom login page and my css files and

images are coming properly.

Hello  Kalpesh ,

    i want to create a form  where i show 2 input fields ,how i will create this in share project .

Hello sir ,

i want to create custom work flow in Alfresco share project

.please share any idea.

Thanks & Regards

Himansu Sekhar Rath

On Wed, Nov 30, 2016 at 12:06 PM, Himansu Rath <himansurath18@gmail.com>

Hi Himansu,

Refer the following link to create custom workflow

How to create a simple workflow in Alfresco 

Thank You,

Kalpesh

ContCentric

Thanks for replay ..

here http://ecmarchitect.com/alfresco-developer-series-tutorials/workflow/tutorial/tutorial.html  , it using 2 AMP project to do the custom workflow but i am using share project .

i created a bpm file using activity explorer ,but when i am deploying i am not finding the form fields .

if you have any other link please share with me

Thanks & Regards

Himansu Sekhar Rath