Forums

Home » Liferay Portal » English » 2. Using Liferay » General

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Ranga Rao Bobbili
how to enable portlet print icon?
February 6, 2013 12:15 PM
Answer

Ranga Rao Bobbili

Rank: Regular Member

Posts: 152

Join Date: July 20, 2007

Recent Posts

Hi All,

Could you please let me know how to enable portlet print icon for each portlet.
I am able to find information related to print functionality but there is no configuration parameters inside portal.properties or etc..

According to my knowledge i tried below options.
Step1:
Added $theme.iconPrint() inside portlet.vm(my theme)--- Not working

Thanks in advance.........

Environment:
Liferay Portal 6.1.1 GA2

Best Regards,
Ranga Rao Bobbili
Adaequare INC
Hitoshi Ozawa
RE: how to enable portlet print icon?
January 30, 2013 7:42 PM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7949

Join Date: March 23, 2010

Recent Posts

I only know of the following and the one using the OpenOffice.

http://kamalkantrajput.blogspot.jp/2009/10/implementing-print-functionality-for.html

http://www.liferay.com/community/wiki/-/wiki/Main/Document+Conversion+with+OpenOffice
Ranga Rao Bobbili
RE: how to enable portlet print icon?
February 1, 2013 8:40 AM
Answer

Ranga Rao Bobbili

Rank: Regular Member

Posts: 152

Join Date: July 20, 2007

Recent Posts

Hitoshi Ozawa:
I only know of the following and the one using the OpenOffice.

http://kamalkantrajput.blogspot.jp/2009/10/implementing-print-functionality-for.html

http://www.liferay.com/community/wiki/-/wiki/Main/Document+Conversion+with+OpenOffice


Thanks for the quick response Hitoshi Ozawa.

`My requirement is pretty simple, i want to enable print icon for every portlet and using print icon, i need to print the page content.

Could you please let me know the , what is the use of <liferay-portlet:icon-print /> tag?

Even i added <liferay-portlet:icon-print/> tag in Root.war/html/common/themes/page.jsp, but not working.

Please let me know the solution to enable print icon in portlet header.

Thanks in advance..........

Best Regards,
Ranga Rao Bobbili
Adequare INC
Ranga Rao Bobbili
RE: how to enable portlet print icon?
February 3, 2013 10:00 AM
Answer

Ranga Rao Bobbili

Rank: Regular Member

Posts: 152

Join Date: July 20, 2007

Recent Posts

I think <liferay-portlet:icon-print/> tag is future enhancement. May be next versions liferay will implement this full functionality.
I saw so many forum liferay threads related to print functionality but i could not find any information from existing posts.

Hi experts, is there any other alternative to implement portlet print functionality.

Thanks in advance..........

Best Regards,
Ranga Rao Bobbili
Adaequare INC
Thi Hà
RE: how to enable portlet print icon?
September 3, 2014 7:05 PM
Answer

Thi Hà

Rank: New Member

Posts: 1

Join Date: March 21, 2014

Recent Posts

You can try
<liferay-ui:icon
image="print"
label="<%= true %>"
method="get"
url="javascript:print();"
/>
and add <%@ taglib prefix="liferay-ui" uri="http://liferay.com/tld/ui" %> to know liferay-ui tag.
I tried it and it worked well.