Message Boards

Login portlet

bhaskar apparao varada, modified 14 Years ago.

Login portlet

New Member Posts: 16 Join Date: 5/5/09 Recent Posts
Hi ,

I have accidentally deleted the login portlet from the admin view ,How an i get it back ,I am unable to login in to the system
please help me.
bhaskar apparao varada, modified 14 Years ago.

RE: Login portlet

New Member Posts: 16 Join Date: 5/5/09 Recent Posts
I found the solution for this if you accidentally delete the login portlet from the guest/public page
you can access login page by typing the url like /c/portal/login
fred mo, modified 13 Years ago.

RE: Login portlet

New Member Posts: 10 Join Date: 6/26/10 Recent Posts
this did not work for me...I had found an article on someone that had done the same thing, and it mention that it feels like you locked your keys in your car, but I can no longer find this post.

is there another way? I also read that I could try changing the HTTP settings , but I do not know how to do this, could anyone help please??
Vedran Lebo, modified 12 Years ago.

RE: Login portlet

New Member Posts: 8 Join Date: 1/12/11 Recent Posts
hi, i have the same problem.... how can i fix this??
thumbnail
Ravi Kumar Gupta, modified 12 Years ago.

RE: Login portlet

Liferay Legend Posts: 1302 Join Date: 6/24/09 Recent Posts
which version of Liferay you are using..

at least for 5.2.3+ this should work
http://localhost:8080/web/guest/home?p_p_id=58&p_p_lifecycle=0&p_p_state=maximized&p_p_mode=view&saveLastPath=0&_58_struts_action=%2Flogin%2Flogin
Vedran Lebo, modified 12 Years ago.

RE: Login portlet

New Member Posts: 8 Join Date: 1/12/11 Recent Posts
I use Liferay 6.0.6. and for your link above i get 404 emoticon
thumbnail
Anil Sunkari, modified 12 Years ago.

RE: Login portlet

Expert Posts: 427 Join Date: 8/12/09 Recent Posts
Hi Vedran,

As i think you can achieve this in the below mentioned way.

$theme.runtime("58"); ---> here 58 is an ID of LOGIN portlet

1) keep the above mentioned bolded data after <head> tag in portal_normal.vm in ../html/themes/classic/templates in your server.
2) Restart your server.

Now look at ur default page.

Note if u dint applied any custom theme.... if applied then put in that theme.

Once you logged in & place ur login portlet in respective page & revert code written in vm file.

Hope it helps

Regards,
Anil Sunkari
Vedran Lebo, modified 12 Years ago.

RE: Login portlet

New Member Posts: 8 Join Date: 1/12/11 Recent Posts
Anil Sunkari:
Hi Vedran,

As i think you can achieve this in the below mentioned way.

$theme.runtime("58"); ---> here 58 is an ID of LOGIN portlet

1) keep the above mentioned bolded data after <head> tag in portal_normal.vm in ../html/themes/classic/templates in your server.
2) Restart your server.

Now look at ur default page.

Note if u dint applied any custom theme.... if applied then put in that theme.

Once you logged in & place ur login portlet in respective page & revert code written in vm file.

Hope it helps

Regards,
Anil Sunkari


THANK YOUUUUUu!!!! it works now!! emoticon

I O U 1 emoticon
thumbnail
Andrew Jordan, modified 8 Years ago.

RE: Login portlet

Junior Member Posts: 39 Join Date: 11/2/15 Recent Posts
Ravi Kumar Gupta:
which version of Liferay you are using..

at least for 5.2.3+ this should work
http://localhost:8080/web/guest/home?p_p_id=58&p_p_lifecycle=0&p_p_state=maximized&p_p_mode=view&saveLastPath=0&_58_struts_action=%2Flogin%2Flogin



This url worked for me on 6.2! Thank you!
Shane Whatley, modified 7 Years ago.

RE: Login portlet

New Member Posts: 2 Join Date: 2/6/17 Recent Posts
Lifesaver! The url worked for me too. Thanks!