Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Praveen P
How to set default contents in user's public page?
June 28, 2012 10:38 PM
Answer

Praveen P

Rank: Regular Member

Posts: 100

Join Date: February 20, 2012

Recent Posts

Hi all, i want to set calendar portlet at all user's public page as a default content, i have added this lines in portal-ext.properties file in LR6.0.5 and in portal-setup-wizard.properties in LR6.1 which is
default.user.public.layout.column-1=1_WAR_socialnetworkingportlet,3
but still calendar portlet is not coming in user's public page emoticon what is the problem with that? If anybody knows about this help me please


Thanks in advance
Praveen
Sandeep Nair
RE: How to set default contents in user's public page?
June 28, 2012 11:28 PM
Answer

Sandeep Nair

Rank: Liferay Legend

Posts: 1705

Join Date: November 5, 2008

Recent Posts

Hi,

I would normally put up all my properties in portal-ext.properties in Liferay home or classpath. (though liferay have introduced a hell lot of properties like setup-wizard which is created automatically on first startup and portal-ide if you are using Liferay ide).

Once the property is placed, the change will be visible only for new users created and not for the existing users. For existing users, you need to delete their page and let them get created automatically again.

Regards,
Sandeep
Praveen P
RE: How to set default contents in user's public page?
June 28, 2012 11:54 PM
Answer

Praveen P

Rank: Regular Member

Posts: 100

Join Date: February 20, 2012

Recent Posts

Thank you sandeep thanks alot, ya its working for new users, i too agree for your words about portal-setup-wizard.properties file thats why i deleted and created portal-ext.properties file in classes folder of liferay.

Thanks alot sandeep for your quick post and exact correct solution emoticon
Praveen P
RE: How to set default contents in user's public page?
June 29, 2012 12:07 AM
Answer

Praveen P

Rank: Regular Member

Posts: 100

Join Date: February 20, 2012

Recent Posts

hi, sandeep i removed content of the public pages of old users and restarted server and log in as that user, but in public page its not creating automatically empty page is there what to do?
Sandeep Nair
RE: How to set default contents in user's public page?
June 29, 2012 12:32 AM
Answer

Sandeep Nair

Rank: Liferay Legend

Posts: 1705

Join Date: November 5, 2008

Recent Posts

Hi,

You need to delete all the public pages of a user, not just the content and let it get regenerated. Liferay will only create user page if there are no pages associated with a particular user.

Regards,
Sandeep
Praveen P
RE: How to set default contents in user's public page?
June 29, 2012 1:12 AM
Answer

Praveen P

Rank: Regular Member

Posts: 100

Join Date: February 20, 2012

Recent Posts

emoticon yes now i got my requirement full filled thanks alot sandeep emoticon
Praveen P
RE: How to set default contents in user's public page?
June 29, 2012 3:02 AM
Answer

Praveen P

Rank: Regular Member

Posts: 100

Join Date: February 20, 2012

Recent Posts

Hi, sandeep is it possible to remove all user's public pages by admin at a single time? beacuse if user's number is more than 1000, then how can i remove all user's public page?
Hitoshi Ozawa
RE: How to set default contents in user's public page?
June 30, 2012 10:59 PM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7949

Join Date: March 23, 2010

Recent Posts

You'll probably have to create your own portlet to do that.