In liferay, the question selected by Admin in the Polls Display Portlet is displayed to the users. Now what I want to do is, display different question the users with different site Roles. Eg., role1 is assigned to userGroup1 and role2 is assigned to userGroup2 in the same site. Now when I add Polls Display Portlet on a page in Site, question1 has to be selected for userGroup1 and question2 for userGroup2. But now only one question can be selected and if permission is given the question is displayed else error tag "User does not have Permission" is displayed. So how can I achieve the functionality that role wise poll is displayed to the users?
You can put 2 PollS portlet on the page and give view permissions to one for role 1 and then role 2 to the other Polls portlet.
This way the portlet will alternate depending on the rights.
If you getting the do not have permissions message and don't want it. Look into portlet.preferences. You can disable it.
Related
I would like to generate statistics for a site, specifically which frontend user is logged in at specific times of the day, how many users are/were logged in, etc.
I have searched but couldn't find any extension that already does this. Does anyone know of either a TYPO3 extension or an external tool that already does this? Will Piwik track the information I am looking for?
We have a compatible extension for tracking FE-User.
Features:
Configure who should be tracked (configurable in Extensionmanager):
only non logged in visitors
only logged in Frontend-User
logged in and non logged in Frontend-User
Configure if the user data of logged in user should be tracked (configurable in Extensionmanager). If you don't track that user data, the tracking records behave like non logged in user.
Optionally track IP-Address (configurable in Extensionmanager)
Backend-Modul with:
Overview about all trackings
Listing by page
Listing by user
Listing by object (downloads, news, shop products, portfolios and more)
CSV export for tracking records
User restriction: Admin user see the whole tracking data. Editor user only the data from current selected page.
Tracking for pages and objects like:
Displaying News (EXT:news)
Downloading Files (EXT:downloadmanager with type restricted)
Products (EXT:shop)
Configure your own object by TypoScript
If it's interesting for you, get in contact with us.
I want to use the user tracker to create a registration form to collect additional user information on Tiki. I have done this by configuring the User tracker and specifying that users can register using the tracker under Admin>Login. However, I do not see where I can specify what fields on the user tracker shows up on the registration form for new users?
Under Control panel, go to "Admin Groups", where you can select the group - "Registered", click on "Edit" and under the field:"Users Information Tracker Fields Asked at Registration Time" , specify the fields you want to show up for new users registering on the registration form.
You could have a look at the User Trackers profile which sets up an example tracker and adds some of the fields to the registration page for you.
N.B. However, as usual, profiles cannot be undone easily (yet) so try this on an example empty Tiki first (e.g. https://demo.tiki.org/16x) and not your production site to be safe.
When I create a new Simple Project in AEM 6.1 in the project view (/projects.html). I then add users to the projects groups (editors, owners, observers). But when I reload the page that shows the users and groups I can see all users are observers, no other groups are used, no matter what I configured.
What am I doing wrong here?
That's simply a bug in the UI. AFAIK it is fixed with 6.2.
Every project user is member of the observers group. If you put a user for example in the editors group, he will also be member of the observers group ad the UI is showing only one group per user and bad enough it's always the observers group that is shown, all the others are hidden.
Take a look at the useradmin and you will see that the users are in the correct groups.
My requirement is that i have a liferay portal which has two types of user creation process:
Manual creation by the admin
Users can create via create account
I want to land the users to different landing pages based on the user-groups. User creation process1 belongs to one group and process2 belongs to another group. How to achieve it. Process1 is working fine by setting the default landing path but i want to land the users who are created by process2 to a different landing page.
Thanks in advance!!
Regards,
S.Ponraj
Take a look at the page here for information on how to create a landing page hook.
You will also need a way to identify if the user is from process 1 or process 2. One possible approach would be using liferay custom fields (expando).
I am working in Liferay Portal. I have created my custom work flow and created the portlet to start the work flow. I am done successfully with this but I am facing one problem, when the user clicks on Assign to button from Workflow Tasks to assign the task to some other user the combo box which display available users, it only display the users who has the Administrator or Owner Roles.
As i have developed custom work flow in which i have defined my own roles, i wish to display the users with that roles in the combo box. I have searched a lot but not able to get the proper solution for this.
If anyone has any idea please kindly help.
For this you have to create a hook and you have to write the code in file named "workflow_task_action.jsp" within Workflow_task.....
In this file code for that combobox which you require is available.