掲示板

Polls Display Portlet in all portal user's dashboard

thumbnail
10年前 に Praveen Singh Bais によって更新されました。

Polls Display Portlet in all portal user's dashboard

Junior Member 投稿: 29 参加年月日: 14/01/28 最新の投稿
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 ?
9年前 に Pranay Sanam によって更新されました。

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

Junior Member 投稿: 31 参加年月日: 12/08/14 最新の投稿
Bump. Same requirement for me also. Can somebody throw some light on this?? any help done would be greatly appreciated. Thanks.
thumbnail
9年前 に Praveen Singh Bais によって更新されました。

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

Junior Member 投稿: 29 参加年月日: 14/01/28 最新の投稿
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
9年前 に Jaydip Lakhatariya によって更新されました。

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

Junior Member 投稿: 53 参加年月日: 13/04/18 最新の投稿
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 ?