Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
devaraj s
make apply changes automatically for existed user after changing properties
November 27, 2012 1:38 AM
Answer

devaraj s

Rank: Regular Member

Posts: 206

Join Date: May 21, 2012

Recent Posts

Hi everyone,

Let me explain the scenario,

1) By default properties of private page, i used to create a user1.

2)changed default layout, portlet, theme for user private page by overriding default properties in portal-ext.properties.

3)restarted server.

4) created another user2, log in as a user2 apply changed to his private page as i expected.

5) login as a use1, but he is getting prolets,themes,layout as he as before.

My requirement is to , I have to maintain same uniformaity for all existed and new users. As in coming days if i add any new feature in user private page it should apply all existed users also.

Please help me how i need to move forward to achieve my requirement.


Thanks in advance
Anil Sunkari
RE: make apply changes automatically for existed user after changing proper
November 27, 2012 2:00 AM
Answer

Anil Sunkari

Rank: Expert

Posts: 385

Join Date: August 11, 2009

Recent Posts

Hi Devaraj,

It seems your requirement can be easily achieved through the concept which ihave done in past and will share my experience on it.

For this kind of scenarios LIFERAY has concepts called OPEN_TEMPLATE/PRIVATE_TEMPLATE/....

Since your requirement is regerding the private page actions.So, i suggest you to go with PRIVATE_TEMPLATE.
i will just give you a glance.Since i have done it long back.You can get more info from forums

1) Create community with type private and name as 'PRIVATE_TEMPLATE'
2) You need to check/uncheck few options in community settings to act like unique.
3) Now we can add all layouts,portlets,pages....etc....
4) later whoever user you required you just need to map him.So that all those will be automatically effect.

Refer this: http://www.liferay.com/documentation/liferay-portal/5.2/administration/-/ai/using-the-control-panel-1
Regards,
Anil Sunkari
devaraj s
RE: make apply changes automatically for existed user after changing proper
November 27, 2012 9:41 PM
Answer

devaraj s

Rank: Regular Member

Posts: 206

Join Date: May 21, 2012

Recent Posts

Hi Anil, thanks for response..

I dont want to map any user to any community.. In my requirement 100, 10000 users will get membership, Its not a sense of map all users to again that community page.

If i am wrong plz correct me
Anil Sunkari
RE: make apply changes automatically for existed user after changing proper
November 28, 2012 9:09 PM
Answer

Anil Sunkari

Rank: Expert

Posts: 385

Join Date: August 11, 2009

Recent Posts

I mean to say ...

My requirement is to , I have to maintain same uniformaity for all existed and new users. As in coming days if i add any new feature in user private page it should apply all existed users also


Based on the above comment it indirectly relates to community behaviour !!!
so i was just suggested you about it.

Please correct me if still i dint get your requirment.

Regards,
Anil Sunkari
devaraj s
RE: make apply changes automatically for existed user after changing proper
November 28, 2012 11:42 PM
Answer

devaraj s

Rank: Regular Member

Posts: 206

Join Date: May 21, 2012

Recent Posts

Anil Sunkari:
I mean to say ...

My requirement is to , I have to maintain same uniformaity for all existed and new users. As in coming days if i add any new feature in user private page it should apply all existed users also


Based on the above comment it indirectly relates to community behaviour !!!
so i was just suggested you about it.

Please correct me if still i dint get your requirment.

Regards,
Anil Sunkari



Yes yours is true, my requirement indirectly relates same as your idea (community behaviour).

But i wanted to implement new layouts, themes, components should apply directly to existed user private page.

I dont want to maintain another site , this way is something painable.
Oliver Bayer
RE: make apply changes automatically for existed user after changing proper
November 29, 2012 12:46 AM
Answer

Oliver Bayer

Rank: Liferay Master

Posts: 875

Join Date: February 18, 2009

Recent Posts

Hi Devaraj,

I think you should create the page structure for user groups (not communities). The hardest part is to keep the user group and user pages in sync. Not sure if Liferay v6.1 already has that feature but at least for 5.2.3 we have to implement a custom solution for it.

HTH Oli
Anil Sunkari
RE: make apply changes automatically for existed user after changing proper
November 29, 2012 8:35 PM
Answer

Anil Sunkari

Rank: Expert

Posts: 385

Join Date: August 11, 2009

Recent Posts

Yes, whatver Oliver said is right. Firstly we have to find any related out-of-box feature existed.
Or
Go ahead with custom implementaion using Listener in hook for sync.

Regards,
Anil Sunkari