Planned maintenance is scheduled for the week of June 15th - the exact date and time will be announced soon.
See More Details
Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: Enabling drag & drop for guest user
3505243, modificat fa 15 anys.
Liferay Master
Apunts: 678
Data d'incorporació: 07/07/09
Publicacions recents
Hi,
Can somebody throw some light on how we can enable the drag & drop feature for guest user.
I hope at least some people might have tried/worked on this feature.
Any pointers are much welcome.
Regards,
- Nagendra Kumar
Can somebody throw some light on how we can enable the drag & drop feature for guest user.
I hope at least some people might have tried/worked on this feature.
Any pointers are much welcome.
Regards,
- Nagendra Kumar
6678167, modificat fa 15 anys.
Junior Member
Apunts: 80
Data d'incorporació: 02/12/10
Publicacions recents
Hi Nagendra Kumar Busam,
I had to do almost the same thing some time ago. If I remember well, you actually need to have the UPDATE_LAYOUT permission in order to be able to move portlet. Though this permission also adds the ability to add or delete portlets in the page. You also need to add some code in render_portlet-ext.jsp, like :
You should have a look at the UpdateLayoutAction class, especially the part after
Regards,
Alexandre FILLATRE
I had to do almost the same thing some time ago. If I remember well, you actually need to have the UPDATE_LAYOUT permission in order to be able to move portlet. Though this permission also adds the ability to add or delete portlets in the page. You also need to add some code in render_portlet-ext.jsp, like :
portletDisplay.setShowMoveIcon(true);You should have a look at the UpdateLayoutAction class, especially the part after
else if (cmd.equals("drag")) {
Regards,
Alexandre FILLATRE
3505243, modificat fa 15 anys.
Liferay Master
Apunts: 678
Data d'incorporació: 07/07/09
Publicacions recents
Hi Alexandre,
First of the thank you very much for the info.
I tried the same way like editing render_portlet.jsp (for time being)
I am not getting any move icon for guest user even though. Is there any way we can give update layout permission to Guest user?
Internally there are many permission checks, i am not getting where i need to change (which files exactly).
Regards,
- Nagendra Kumar
First of the thank you very much for the info.
I tried the same way like editing render_portlet.jsp (for time being)
portletDisplay.setShowMoveIcon(true);I am not getting any move icon for guest user even though. Is there any way we can give update layout permission to Guest user?
Internally there are many permission checks, i am not getting where i need to change (which files exactly).
Regards,
- Nagendra Kumar
Community
Company
Feedback