Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Michael Anthony Dorrian
How to Disable portlet Return to Full Page link button
October 14, 2009 2:02 AM
Answer

Michael Anthony Dorrian

Rank: Junior Member

Posts: 89

Join Date: September 3, 2009

Recent Posts

How can this be disabled or set to not show up?.
Hetal Jayesh Prajapati
RE: How to Disable portlet Return to Full Page link button
October 15, 2009 11:17 PM
Answer

Hetal Jayesh Prajapati

Rank: New Member

Posts: 11

Join Date: September 14, 2008

Recent Posts

Hi Micheal,

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

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


Regards,
Hetal Malaviya
CIGNEX Technologies Pvt. Ltd.
Michael Anthony Dorrian
RE: How to Disable portlet Return to Full Page link button
October 16, 2009 12:33 AM
Answer

Michael Anthony Dorrian

Rank: Junior Member

Posts: 89

Join Date: September 3, 2009

Recent Posts

Hetal R Malaviya:
Hi Micheal,

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

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


Regards,
Hetal Malaviya
CIGNEX Technologies Pvt. Ltd.


Thats exactly what i need..Thank you soooo much.
sricanth arroju
RE: How to Disable portlet Return to Full Page link button
March 17, 2010 1:28 AM
Answer

sricanth arroju

Rank: Regular Member

Posts: 126

Join Date: October 2, 2009

Recent Posts

thanks
mohammad azaruddin
RE: How to Disable portlet Return to Full Page link button
January 3, 2013 4:40 AM
Answer

mohammad azaruddin

Rank: Expert

Posts: 451

Join Date: September 17, 2012

Recent Posts

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
RE: How to Disable portlet Return to Full Page link button
January 3, 2013 5:04 AM
Answer

Oliver Bayer

Rank: Liferay Master

Posts: 875

Join Date: February 18, 2009

Recent Posts

Hi Mohammad,

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

Greets Oli
Rahul Sharma
RE: How to Disable portlet Return to Full Page link button
January 3, 2013 5:11 AM
Answer

Rahul Sharma

Rank: Junior Member

Posts: 60

Join Date: January 10, 2012

Recent Posts

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!
mohammad azaruddin
RE: How to Disable portlet Return to Full Page link button
January 3, 2013 7:06 AM
Answer

mohammad azaruddin

Rank: Expert

Posts: 451

Join Date: September 17, 2012

Recent Posts

Hi
Oliver Bayer,Rahul Sharma


Thats Great.Thank You.Its Working Fineemoticonemoticonemoticon