Foren

Polls Display Portlet in all portal user's dashboard

thumbnail
Praveen Singh Bais, geändert vor 10 Jahren.

Polls Display Portlet in all portal user's dashboard

Junior Member Beiträge: 29 Beitrittsdatum: 28.01.14 Neueste Beiträge
We have a requirement where we want the admin user to be able to configure polls and publish to all the portal user's dashboard page.
The polls should get automatically refreshed if admin user publishes a new polls.
As of now we are able to put the poll on a site page, but we have to manually select a question. Can this be automated in some way so that user does not have to select a question ?
Pranay Sanam, geändert vor 9 Jahren.

RE: Polls Display Portlet in all portal user's dashboard

Junior Member Beiträge: 31 Beitrittsdatum: 14.08.12 Neueste Beiträge
Bump. Same requirement for me also. Can somebody throw some light on this?? any help done would be greatly appreciated. Thanks.
thumbnail
Praveen Singh Bais, geändert vor 9 Jahren.

RE: Polls Display Portlet in all portal user's dashboard

Junior Member Beiträge: 29 Beitrittsdatum: 28.01.14 Neueste Beiträge
Hey Pranay,

Apologies for bad english.
We have solved the problem by using UserGroup sites. To allow an admin user to customize the private/public layout of all the users we need perform following steps :
  • Created a a default user group for all the members who will be registering to the portal. This can be done by creating a user group and configuring it as a default association in portal-settings control panel menu.
  • Created a site for the user group.
  • Associate private and public layouts for the site
Created a a default user group for all the members who will be registering to the portal. This can be done by creating a user group and configuring it as a default association in portal-settings control panel menu.

Now, whenever a new user is created he inherits the user groups public and private pages.So all the pages from usergroup sites become available to the user. But the user himself cannot view the actual usergroup site but the admin user can view the sites's pages and customize them.

So for configuring polls, follow the below steps :
  • Login using admin user
  • Navigate the UserGroup's site
  • Drop the "polls display portlet" on whichever page you want the users to see it.
  • Configure the polls portlet select/create a new question, set permissions etc.
  • Now to vote for the poll, login using a normal registered user.
  • Navigate to the page where the poll was added
  • Option to vote for the poll will be available.


So basically to perform any change in the layout, do the changes on the site's page using admin user and the changes will start appearing on the user's pages.
Follow below link for more details:
https://www.liferay.com/documentation/liferay-portal/6.1/user-guide/-/ai/lp-6-1-ugen12-user-groups-0
thumbnail
Jaydip Lakhatariya, geändert vor 9 Jahren.

RE: Polls Display Portlet in all portal user's dashboard

Junior Member Beiträge: 53 Beitrittsdatum: 18.04.13 Neueste Beiträge
Hi.
I have same requirement. Your solution is correct but i need to add this portlet in only Dashboard page of all users.
Where administrator add poll question from his dashboard page and other users can vote from their dashboard only.
Do anyone have any idea for this ?