Foros de discusión

How to Disable portlet Return to Full Page link button

Michael Anthony Dorrian, modificado hace 14 años.

How to Disable portlet Return to Full Page link button

Junior Member Mensajes: 98 Fecha de incorporación: 3/09/09 Mensajes recientes
How can this be disabled or set to not show up?.
thumbnail
Hetal R Malaviya, modificado hace 14 años.

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

New Member Mensajes: 12 Fecha de incorporación: 15/09/08 Mensajes recientes
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 hace 14 años.

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

Junior Member Mensajes: 98 Fecha de incorporación: 3/09/09 Mensajes recientes
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 hace 14 años.

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

Regular Member Mensajes: 133 Fecha de incorporación: 3/10/09 Mensajes recientes
thanks
thumbnail
mohammad azaruddin, modificado hace 11 años.

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

Expert Mensajes: 492 Fecha de incorporación: 17/09/12 Mensajes recientes
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 hace 11 años.

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

Liferay Master Mensajes: 894 Fecha de incorporación: 18/02/09 Mensajes recientes
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 hace 11 años.

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

Junior Member Mensajes: 59 Fecha de incorporación: 11/01/12 Mensajes recientes
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 hace 11 años.

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

Expert Mensajes: 492 Fecha de incorporación: 17/09/12 Mensajes recientes
Hi
Oliver Bayer,Rahul Sharma


Thats Great.Thank You.Its Working Fineemoticonemoticonemoticon