Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
How add user portrait to login portlet. Pflanzer Tomas November 10, 2010 1:57 AM
RE: How add user portrait to login portlet. Bavithra Rajendran November 10, 2010 2:42 AM
RE: How add user portrait to login portlet. Pflanzer Tomas November 10, 2010 3:21 AM
RE: How add user portrait to login portlet. Bavithra Rajendran November 10, 2010 3:59 AM
RE: How add user portrait to login portlet. Pflanzer Tomas November 10, 2010 4:08 AM
RE: How add user portrait to login portlet. Bavithra Rajendran November 15, 2010 3:53 AM
Rename My Private page to My personal page Palani Venkat November 15, 2010 9:01 PM
RE: Rename My Private page to My personal page Szymon Gołębiewski November 15, 2010 11:10 PM
How to disable the user not to rename the page name in my private page Palani Venkat November 23, 2010 4:46 AM
RE: How to disable the user not to rename the page name in my private page Szymon Gołębiewski November 24, 2010 12:17 PM
RE: How to disable the user not to rename the page name in my private page Palani Venkat November 25, 2010 11:14 PM
RE: Rename My Private page to My personal page Vikash Pareek January 3, 2013 12:21 AM
RE: How add user portrait to login portlet. Palani Venkat November 25, 2010 11:16 PM
RE: How add user portrait to login portlet. Pflanzer Tomas November 30, 2010 2:03 AM
Move Portal changes from dev machine to Production machine Palani Venkat December 1, 2010 7:41 AM
RE: Move Portal changes from dev machine to Production machine Pflanzer Tomas December 2, 2010 2:48 AM
RE: Move Portal changes from dev machine to Production machine Rahul Sharma January 3, 2013 5:18 AM
RE: Move Portal changes from dev machine to Production machine Hitoshi Ozawa January 5, 2013 6:08 AM
Pflanzer Tomas
How add user portrait to login portlet.
November 10, 2010 1:57 AM
Answer

Pflanzer Tomas

Rank: New Member

Posts: 7

Join Date: October 27, 2010

Recent Posts

Hi,
do you know, how to add user portrait to login portlet?
Could you help me please?


Thanks and regards
Tom
Bavithra Rajendran
RE: How add user portrait to login portlet.
November 10, 2010 2:42 AM
Answer

Bavithra Rajendran

LIFERAY STAFF

Rank: Regular Member

Posts: 123

Join Date: October 7, 2009

Recent Posts

Hi,

Add the following piece of code under <%= LanguageUtil.format(pageContext, "you-are-signed-in-as-x", signedInAs) %> of your login.jsp.

<span>
<aui:a cssClass="user-portrait" href="<%= themeDisplay.getURLMyAccount().toString() %>">
<img alt="<%= HtmlUtil.escape(user.getFullName()) %>" src="<%= HtmlUtil.escape(themeDisplay.getPathImage() + "/user_" + (user.isFemale() ? "female" : "male") + "_portrait?img_id=" + user.getPortraitId() + "&t=" + ImageServletTokenUtil.getToken(user.getPortraitId())) %>" />
</aui:a>
</span>

Thanks,
Bavithra Rajendran
Pflanzer Tomas
RE: How add user portrait to login portlet.
November 10, 2010 3:21 AM
Answer

Pflanzer Tomas

Rank: New Member

Posts: 7

Join Date: October 27, 2010

Recent Posts

Thank you Bavithra, its working.
and is there easy way how to add to this portlet link to user public profile? (http://server/web/username)
Thank you very much
Tom
Bavithra Rajendran
RE: How add user portrait to login portlet.
November 10, 2010 3:59 AM
Answer

Bavithra Rajendran

LIFERAY STAFF

Rank: Regular Member

Posts: 123

Join Date: October 7, 2009

Recent Posts

Use Add -> More to add the portlet on your public page.

Thanks,
Bavithra Rajendran
Pflanzer Tomas
RE: How add user portrait to login portlet.
November 10, 2010 4:08 AM
Answer

Pflanzer Tomas

Rank: New Member

Posts: 7

Join Date: October 27, 2010

Recent Posts

Sorry, but I said it wrong.

I want to add link to this login portlet which will be route to users public profile.

Thank you very much.

Tom
Bavithra Rajendran
RE: How add user portrait to login portlet.
November 15, 2010 3:53 AM
Answer

Bavithra Rajendran

LIFERAY STAFF

Rank: Regular Member

Posts: 123

Join Date: October 7, 2009

Recent Posts

When you click the user name, it will automatically redirect to the user's profile. Do you still want to add link to the login portlet ?

Thanks,
Bavithra Rajendran
Palani Venkat
Rename My Private page to My personal page
November 15, 2010 9:01 PM
Answer

Palani Venkat

Rank: Junior Member

Posts: 32

Join Date: November 10, 2010

Recent Posts

Hi Mika,

In liferay home page, GoTo --> MY Public page, My Private page. As per my project requirement i want to rename My Private page to My personal page. Do you know how to do it.

Thanks in advance for your help.

Regards,
Palani
Szymon Gołębiewski
RE: Rename My Private page to My personal page
November 15, 2010 11:10 PM
Answer

Szymon Gołębiewski

Rank: Regular Member

Posts: 247

Join Date: June 8, 2009

Recent Posts

you can change that in your language file language_en.properties
Palani Venkat
How to disable the user not to rename the page name in my private page
November 23, 2010 4:46 AM
Answer

Palani Venkat

Rank: Junior Member

Posts: 32

Join Date: November 10, 2010

Recent Posts

hi,

Many thanks for your reply and Can you help me, normal user should not able to rename the My private page name but he can able to add the portlet in my private page. i used the below properties in portlet-ext.properties file

layout.user.private.layouts.enabled=true
layout.user.private.layouts.modifiable=false
layout.user.private.layouts.auto.create=true

The above property is applicable for admin also and adding portlet in my private page also become disable.
Szymon Gołębiewski
RE: How to disable the user not to rename the page name in my private page
November 24, 2010 12:17 PM
Answer

Szymon Gołębiewski

Rank: Regular Member

Posts: 247

Join Date: June 8, 2009

Recent Posts

Pavithran Sakthi:
hi,

Many thanks for your reply and Can you help me, normal user should not able to rename the My private page name but he can able to add the portlet in my private page. i used the below properties in portlet-ext.properties file

layout.user.private.layouts.enabled=true
layout.user.private.layouts.modifiable=false
layout.user.private.layouts.auto.create=true

The above property is applicable for admin also and adding portlet in my private page also become disable.


Do I understand that right: you want user to be able to add and move portlets but not to change / add pages in his private page nor do change names of his portlets, yes?
Palani Venkat
RE: How to disable the user not to rename the page name in my private page
November 25, 2010 11:14 PM
Answer

Palani Venkat

Rank: Junior Member

Posts: 32

Join Date: November 10, 2010

Recent Posts

Thanks for your reply..your understanding is correct...

In detail,

User can able to add/move portlet in My Private page but he should not able to rename that "My Private Page" page name in navigation bar
Palani Venkat
RE: How add user portrait to login portlet.
November 25, 2010 11:16 PM
Answer

Palani Venkat

Rank: Junior Member

Posts: 32

Join Date: November 10, 2010

Recent Posts

Hi..

Can you help me in do the below change..

User can able to add/move portlet in My Private page but he should not able to rename that "My Private Page" page name in navigation bar

How to do this Pls help me..?
Pflanzer Tomas
RE: How add user portrait to login portlet.
November 30, 2010 2:03 AM
Answer

Pflanzer Tomas

Rank: New Member

Posts: 7

Join Date: October 27, 2010

Recent Posts

Hi,
I want to have in login portlet

1. users portrait. (i have)
2. Name with link to users account in control panel. (i have)
3 Link to users public page. e.g. http://portal/web/johnb

I have problem to create link to users public page (3.) in login portlet.
Could you help me, please?
Thanks and regards
Tom
Palani Venkat
Move Portal changes from dev machine to Production machine
December 1, 2010 7:41 AM
Answer

Palani Venkat

Rank: Junior Member

Posts: 32

Join Date: November 10, 2010

Recent Posts

Hi,

Could you please help me out for the below requirement, its urgent?

how to move all the pages and its content to the new environment.

My requirement is as below.

Currently we are working in development machine and we have installed liferay portal in production machine, so now the production machine has only fresh liferay

portal setup.

Now i want to move all the changes whatever we have done in development machine like creation of organization, user creation, page creation to production

machine in one time.


I have created LAR file in development machine portal and import it in production machine liferay portal, in this i have to create LAR file for each and every page but

i want the whole changes in one time.

Could you pls help me in giving the solution for this?

Thanks in advance for your suggestion.
Pflanzer Tomas
RE: Move Portal changes from dev machine to Production machine
December 2, 2010 2:48 AM
Answer

Pflanzer Tomas

Rank: New Member

Posts: 7

Join Date: October 27, 2010

Recent Posts

Sorry, but you are in "How add user portrait to login portlet." How it is relates, please?
Vikash Pareek
RE: Rename My Private page to My personal page
January 3, 2013 12:21 AM
Answer

Vikash Pareek

Rank: New Member

Posts: 15

Join Date: December 10, 2012

Recent Posts

Hi Szymon,
I am using liferay 6.1 bundle with tomcat.
Where to find language_en.properties for changes.I found it is in liferay->tomcat-> temp folder.Is it correct location ?
Rahul Sharma
RE: Move Portal changes from dev machine to Production machine
January 3, 2013 5:18 AM
Answer

Rahul Sharma

Rank: Junior Member

Posts: 60

Join Date: January 10, 2012

Recent Posts

Hi Palani,

Goto Control panel -->communities-->click on action button and select "Manage Pages"-->Export/Import ,it will select all the pages in one go..then you just have to import that in the respective same name community.

Hope that helps!
Hitoshi Ozawa
RE: Move Portal changes from dev machine to Production machine
January 5, 2013 6:08 AM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7952

Join Date: March 23, 2010

Recent Posts

Rahul, please stop answering to users who did not obey the forum rules because it makes the thread very difficult to follow. There should only be one topic to this thread. If somebody else changes the Subject and asks a new question, that person is not obeying the rules of this thread. Greatly appreciate your cooperation.