掲示板

announcement scope problem

11年前 に sahar zangenehpour によって更新されました。

announcement scope problem

New Member 投稿: 10 参加年月日: 12/12/31 最新の投稿
hi everybody,
I have a problem with announcement portlets,
I have some users with different sites,
at any sites, in their pages, I put an annoucement portlet,
my problem is, when I add an entry in announcement portlet in a site, the anouncement entry will be displayed in all the sites of the all the users which has this site.
but I just want to show the announcement entry for that specific site for users that have it not for all the sites of users that have it.

thanks a lot
11年前 に Ketan Patel によって更新されました。

RE: announcement scope problem

Junior Member 投稿: 72 参加年月日: 12/05/04 最新の投稿
Hi sahar,

You can use groupId to differentiate users as per site.

you can get groupId using themeDisplay.getScopeGroupId(). this method returns the groupId.

Thanks,
Ketan Patel
11年前 に sahar zangenehpour によって更新されました。

RE: announcement scope problem

New Member 投稿: 10 参加年月日: 12/12/31 最新の投稿
thanks alot,
but when I choose a group scope for defining the scope of the adding entry, it will show the message in all the sites of the users with that group, but I want just in a specific sites,

and I didn't get your solution completely, would you explain more.