Forums

Home » Liferay Social Office

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Praveen Singh Bais
Polls Display Portlet in all portal user's dashboard
April 22, 2014 1:09 AM
Answer

Praveen Singh Bais

Rank: Junior Member

Posts: 29

Join Date: January 27, 2014

Recent Posts

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
RE: Polls Display Portlet in all portal user's dashboard
July 15, 2014 1:21 AM
Answer

Pranay Sanam

Rank: Junior Member

Posts: 32

Join Date: August 14, 2012

Recent Posts

Bump. Same requirement for me also. Can somebody throw some light on this?? any help done would be greatly appreciated. Thanks.
Praveen Singh Bais
RE: Polls Display Portlet in all portal user's dashboard
July 15, 2014 1:59 AM
Answer

Praveen Singh Bais

Rank: Junior Member

Posts: 29

Join Date: January 27, 2014

Recent Posts

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 :
  1. 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.
  2. Created a site for the user group.
  3. 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 :
  1. Login using admin user
  2. Navigate the UserGroup's site
  3. Drop the "polls display portlet" on whichever page you want the users to see it.
  4. Configure the polls portlet select/create a new question, set permissions etc.
  5. Now to vote for the poll, login using a normal registered user.
  6. Navigate to the page where the poll was added
  7. 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
Jaydip Lakhatariya
RE: Polls Display Portlet in all portal user's dashboard
October 17, 2014 6:06 AM
Answer

Jaydip Lakhatariya

Rank: New Member

Posts: 18

Join Date: April 18, 2013

Recent Posts

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 ?