Fórum

how to enable portlet print icon?

thumbnail
Ranga Rao Bobbili, modificado 11 Anos atrás.

how to enable portlet print icon?

Regular Member Postagens: 152 Data de Entrada: 20/07/07 Postagens Recentes
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
thumbnail
Hitoshi Ozawa, modificado 11 Anos atrás.

RE: how to enable portlet print icon?

Liferay Legend Postagens: 7942 Data de Entrada: 24/03/10 Postagens Recentes
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
thumbnail
Ranga Rao Bobbili, modificado 11 Anos atrás.

RE: how to enable portlet print icon?

Regular Member Postagens: 152 Data de Entrada: 20/07/07 Postagens Recentes
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
thumbnail
Ranga Rao Bobbili, modificado 11 Anos atrás.

RE: how to enable portlet print icon?

Regular Member Postagens: 152 Data de Entrada: 20/07/07 Postagens Recentes
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à, modificado 9 Anos atrás.

RE: how to enable portlet print icon?

New Member Mensagem: 1 Data de Entrada: 22/03/14 Postagens Recentes
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.