Fórum

How to Disable portlet Return to Full Page link button

Michael Anthony Dorrian, modificado 14 Anos atrás.

How to Disable portlet Return to Full Page link button

Junior Member Postagens: 98 Data de Entrada: 03/09/09 Postagens Recentes
How can this be disabled or set to not show up?.
thumbnail
Hetal R Malaviya, modificado 14 Anos atrás.

RE: How to Disable portlet Return to Full Page link button

New Member Postagens: 12 Data de Entrada: 15/09/08 Postagens Recentes
Hi Micheal,

I have disabled it in portlet.vm for particular scenarion in theme by putting condition like this:

#if((!$portlet_id.equalsIgnoreCase("celebrations")) || (($portlet_id.equalsIgnoreCase("celebrations") && $permissionChecker.isOmniadmin())))
	<a href="$portlet_back_url" class="portlet-icon-back">#language ("return-to-full-page")</a>
#end


Regards,
Hetal Malaviya
CIGNEX Technologies Pvt. Ltd.
Michael Anthony Dorrian, modificado 14 Anos atrás.

RE: How to Disable portlet Return to Full Page link button

Junior Member Postagens: 98 Data de Entrada: 03/09/09 Postagens Recentes
Hetal R Malaviya:
Hi Micheal,

I have disabled it in portlet.vm for particular scenarion in theme by putting condition like this:

#if((!$portlet_id.equalsIgnoreCase("celebrations")) || (($portlet_id.equalsIgnoreCase("celebrations") &amp;&amp; $permissionChecker.isOmniadmin())))
	<a href="$portlet_back_url" class="portlet-icon-back">#language ("return-to-full-page")</a>
#end


Regards,
Hetal Malaviya
CIGNEX Technologies Pvt. Ltd.


Thats exactly what i need..Thank you soooo much.
thumbnail
srikanth arroju, modificado 14 Anos atrás.

RE: How to Disable portlet Return to Full Page link button

Regular Member Postagens: 133 Data de Entrada: 03/10/09 Postagens Recentes
thanks
thumbnail
mohammad azaruddin, modificado 11 Anos atrás.

RE: How to Disable portlet Return to Full Page link button

Expert Postagens: 492 Data de Entrada: 17/09/12 Postagens Recentes
Hi
Hetal Jayesh Prajapati

I want to hide Return To Full Page only in Login Portlet.
So , how can i get portlet id for login portlet

Thanks
Regards
Azar
Oliver Bayer, modificado 11 Anos atrás.

RE: How to Disable portlet Return to Full Page link button

Liferay Master Postagens: 894 Data de Entrada: 18/02/09 Postagens Recentes
Hi Mohammad,

take a look at the configuration files in the WEB-INF folder like e.g liferay-portlet.xml.

Greets Oli
Rahul Sharma, modificado 11 Anos atrás.

RE: How to Disable portlet Return to Full Page link button

Junior Member Postagens: 59 Data de Entrada: 11/01/12 Postagens Recentes
You can view that by looking into the browser address bar url which shows you "p_p_id=58" whenever you are logging into the portal or you can also find portlet id in ROOT/WEB-INF/liferay-portlet.xml and in portlet-custom.xml.

Hope that helps!
thumbnail
mohammad azaruddin, modificado 11 Anos atrás.

RE: How to Disable portlet Return to Full Page link button

Expert Postagens: 492 Data de Entrada: 17/09/12 Postagens Recentes
Hi
Oliver Bayer,Rahul Sharma


Thats Great.Thank You.Its Working Fineemoticonemoticonemoticon