Hi all.
I'm a bit confused as how Liferay manage portlet preferences.
There are several options that I though I understood but while testing them, I didn't get what I was expected.
Maybe I'm also not clear with communities/users/pages/layouts and such.
Is someone able to tell me if my following conclusions are right?
1. A portlet with preferences-company-wide set to true will always share its preferences between all users/communities and pages.
2. On personnal pages, user can be consider both as a user and as an admin, thus preferences-owned-by-group will have no effects on personnal pages.
3. Instanceable portlet instances can be considered as different portlets, thus preferences-unique-per-layout has no effects and preferences will always be unique across all pages.
Then, to have the following behaviour, do my according configurations are correct?
1. My CMS portlet should display a different content for each instance and should only be configurable by an administrator. instanceable=true, pref-company-wide=false, pref-unique-per-layout=true, pref-owned-by-group=true
2. My RSS portlet (not the liferay's one) displays the user's list of feeds ; feeds being choosen in a list defined by an admin.
instanceable=false, pref-company-wide=false, pref-unique-per-layout=false, pref-owned-by-group=true
I think this one is not possible as Liferay doesn't support both user unique preferences and user shared preferences at the same time.
Please, any help will be very helpful.
Thanks in advance.
Laurent.
Por favor, faça login para denunciar.