Vista combinada Visión Plana Vista de árbol
Discusiones [ Anterior | Siguiente ]
toggle
sahar zangenehpour
A Confusing, and a surprising announcement issue
30 de enero de 2013 6:18
Respuesta

sahar zangenehpour

Ranking: New Member

Mensajes: 10

Fecha de incorporación: 31 de diciembre de 2012

Mensajes recientes

I have created one regular user. “User No. 1” is a member of three sites named “Site No.1”, “Site No.2”, and “Site No. 3”. There is also one private page for each one of these sites. I have inserted the “Announcement Portlet” in each one of them also.

“User No. 1” adds an announcement entry with distribution scope “Site No. 1”.
I assume that when this happens, I should just view that new announcement in my “Site No. 1” private page. But when I check “Site No. 2”, and also “Site No. 3”, unfortunately (  ) I can see that defined announcement in these Sites also.
This property has really confused me. Please help me in this regard. I don’t know if this is the nature of this portlet or not to give me a view of all announcements regardless of the scope I have distributed.
I should mention that the permissions for announcement in “Site Application”, and also in “Site Content” is not matched or in harmony with other portlets like Forum, or Calendar. I am not sure if this changes anything in controlling this portlet.
David H Nebinger
RE: A Confusing, and a surprising announcement issue
30 de enero de 2013 7:13
Respuesta

David H Nebinger

Ranking: Liferay Legend

Mensajes: 6133

Fecha de incorporación: 1 de septiembre de 2006

Mensajes recientes

The scope is more for users, rather than sites. Since user no 1 is a member of all three sites, she can see the message in all three pages.

If a user no 2 logs in who does not have access to site no 1, she would not see the announcement.
sahar zangenehpour
RE: A Confusing, and a surprising announcement issue
30 de enero de 2013 10:23
Respuesta

sahar zangenehpour

Ranking: New Member

Mensajes: 10

Fecha de incorporación: 31 de diciembre de 2012

Mensajes recientes

thanks david,
but is there any soloutions or tricks that user no.1 just see the announcement entry in site no.1 and not in the others sites(site no.2 and site no.3)?

thanks a lot.
Jos Groenewegen
RE: A Confusing, and a surprising announcement issue
31 de enero de 2013 3:15
Respuesta

Jos Groenewegen

Ranking: New Member

Mensajes: 15

Fecha de incorporación: 16 de octubre de 2012

Mensajes recientes

The announcement portlet always shows announcements liferay-wide (to the members that fall within the distribution scope of an announcement).

See here; http://www.liferay.com/community/wiki/-/wiki/Main/Announcements+Portlet for a short explanation.

The proposed option is to customize the announcement portlet (although I can't give you a technical walkthrough on how to do that as it's digging into the portlet code). So if you want to use the announcements (or Alert) portlet no, without editing the portlet there doesn't seem to be a trick.

Alternatives could obviously be (ab)using a webcontent module and making it possible for the person who should be able to place the "announcements" (in this case webcontent) to edit it in there.
sahar zangenehpour
RE: A Confusing, and a surprising announcement issue
1 de febrero de 2013 10:44
Respuesta

sahar zangenehpour

Ranking: New Member

Mensajes: 10

Fecha de incorporación: 31 de diciembre de 2012

Mensajes recientes

thanks Jos,
I would appreciate if some one could help me to change the portlet's code in order to accomplish the goal.

thanks friends.