Foren

Configuration when add portlet

Ondrej Berger, geändert vor 12 Jahren.

Configuration when add portlet

New Member Beiträge: 7 Beitrittsdatum: 23.01.12 Neueste Beiträge
Hi,
I'd like to ask if there is some way how to show configuration page of portlet when portlet is added to a page? I have some portlet configuration that is set by administrator (not by users, only admin) and is unique for each portlet in page (there are two instances of portlet in page). This configuration must be done as soon as possible after adding a portlet to page, ideally immediatelly after add without need to use portlet menu and its configuration.
Is this possible?
Thanks for any answer. I use LFR 5.2.3.

Ondryk
thumbnail
Gaurang Sheladia, geändert vor 12 Jahren.

RE: Configuration when add portlet (Antwort)

Regular Member Beiträge: 159 Beitrittsdatum: 15.02.09 Neueste Beiträge
Hi Ondrej,

I think its best way to use Prefrences of that portlet.
Whenever admin will add, admin has to go and add preferences.

And in your custom logic you can diffrentiate using preference added by admin in each portlet.

Let me know for any query.

Regards,
Gaurang Sheladia
Ondrej Berger, geändert vor 12 Jahren.

RE: Configuration when add portlet

New Member Beiträge: 7 Beitrittsdatum: 23.01.12 Neueste Beiträge
Thank you for quick response.
Your suggested solution is one we use now, but there are requests to show configuration immediatelly after portlet is added (in fact I do not know why, but I am just a developer). Anyway, it seems it is not possible to make it another way so we stay on current solution.

Ondryk