[LRA-49] Create the Tip of the Day portlet Created: 19/Dec/13 Updated: 06/Feb/14 Resolved: 06/Feb/14 |
|
| Status: | Resolved |
| Project: | Liferay Apps |
| Component/s: | Tip of the Day |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Minor |
| Reporter: | mcalvo | Assignee: | Juan Carrillo [X] (Inactive) |
| Resolution: | Completed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
It must work with Liferay 6.1 GA3 community.
These plugins will share the same repo as HR Portal but should run on any 6.1 GA3 CE without HR portal. Upload your code here: https://svn.rivetlogic.com/repos/rivets/logicstacks/hrportal/trunk/portlets/ It will present a Tip of the Day to the user in a modal window. The article shown there will be picked randomly. It will pick one of the articles that has been categorized as Tip of the Day. The portlet is going to check if the content has been shown the the user. It is going to check in a table if that user has been notified that day. There must be also a table that stores which users don't want to be presented a tip of the day. Please the code being developed by Armando for the Onboarding portlet as this portlet will be pretty similar to it. |
| Comments |
| Comment by Juan Carrillo [X] (Inactive) [ 27/Dec/13 ] |
|
some question about permissions
- Oscar will style it |
| Comment by Juan Carrillo [X] (Inactive) [ 06/Jan/14 ] |
| updated to version 6.2.0 ce, code in svn:hrportal/branch/6.2.0. Backend is ready, needs front end styling, and little changes in documentation |
| Comment by mcalvo [ 24/Jan/14 ] |
|
Enable the Security Manager by following the steps outlined here:
http://wiki.rivetlogic.com/display/Liferay/Enabling+Security+Manager+for+Liferay+plugins |
| Comment by Juan Carrillo [X] (Inactive) [ 27/Jan/14 ] |
| also do you want me to test this in Liferay EE 6.2 ? |
| Comment by mcalvo [ 27/Jan/14 ] |
| Yes please |
| Comment by mcalvo [ 27/Jan/14 ] |
|
Also implement these fixes: 1) Clicking on the on/off should only affect the future logins. If a user logged in and says don't show this again and turns on/off and refreshes the screen, the tip shows up again. We should probably avoid this. 2) If there are no categories configured, we should not show default and other contents. No categories configured means no tips. 3) We could add the portlet to sites configuration section instead of content section 4) Use constants instead of "disableNext", "anything..." 5) tipsOfTheDayUsersPersistence.update(user, false); - this update method is deprecated. need to use the .update(user) method 6) We just need one constant. It could be Enum or since we just have true or false a boolean STATUS_RECEIVE |
| Comment by mcalvo [ 03/Feb/14 ] |
| Small fix for the tip of the date, see image tip-site-administration.png |