Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Banafshe Bamdad
How to switch between edit mode and view mode?
September 2, 2008 5:02 AM
Answer

Banafshe Bamdad

Rank: Junior Member

Posts: 51

Join Date: November 6, 2007

Recent Posts

Hi, Liferay people

I want to add a key in the portal pages that a user who has a permission to access portlet's icon bar can hide and show it by clicking on this button. please help me.

Thanks in advanced.
Banafshe Bamdad
RE: How to switch between edit mode and view mode?
September 4, 2008 11:31 PM
Answer

Banafshe Bamdad

Rank: Junior Member

Posts: 51

Join Date: November 6, 2007

Recent Posts

Hi,
I installed Liferay 5.1.1. In mail menu of portal is an option that toggle between view and edit portal mode.
Tobias Amon
RE: How to switch between edit mode and view mode?
September 5, 2008 12:20 AM
Answer

Tobias Amon

Rank: Liferay Master

Posts: 549

Join Date: August 8, 2007

Recent Posts

Hello,

you can add a link on both JSP pages where you add the mode (either edit or view) as paramter.

This may look something like that:
1<portlet:renderUrl var="editUrl" portletMode="edit"/>


Or you can ask google for details -> "portlet renderurl"