フォーラム

ホーム » Liferay Portal » English » 3. Development

構造的に表示 平面上に表示 ツリー上に表示
スレッド [ 前へ | 次へ ]
toggle
devaraj s
make apply changes automatically for existed user after changing properties
2012/11/27 1:38
答え

devaraj s

ランク: Regular Member

投稿: 206

参加年月日: 2012/05/21

最近の投稿

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
2012/11/27 2:00
答え

Anil Sunkari

ランク: Expert

投稿: 385

参加年月日: 2009/08/11

最近の投稿

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
2012/11/27 21:41
答え

devaraj s

ランク: Regular Member

投稿: 206

参加年月日: 2012/05/21

最近の投稿

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
2012/11/28 21:09
答え

Anil Sunkari

ランク: Expert

投稿: 385

参加年月日: 2009/08/11

最近の投稿

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
2012/11/28 23:42
答え

devaraj s

ランク: Regular Member

投稿: 206

参加年月日: 2012/05/21

最近の投稿

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
2012/11/29 0:46
答え

Oliver Bayer

ランク: Liferay Master

投稿: 875

参加年月日: 2009/02/18

最近の投稿

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
2012/11/29 20:35
答え

Anil Sunkari

ランク: Expert

投稿: 385

参加年月日: 2009/08/11

最近の投稿

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