Keyword

print function

  • antonio
  • antonio's Avatar Topic Author
  • Offline
  • New Member
More
11 years 4 months ago #113735 by antonio
print function was created by antonio
Hello
i use K2 form short time, i have problem with print and email text. When i "print" the system open the window but not print. It's possible to use the standard print plugin of joomla in k2 item?
I use k2 and joomla 2.5
Thanks

Please Log in or Create an account to join the conversation.

More
11 years 4 months ago #113736 by jean-philippe
Replied by jean-philippe on topic Re: print function
Hi antonio,

The print on K2 open a windows without some features, like toolbar etc..

if you want to print you have a javascript function that you can use:
					
Emond, Jean-Philippe

Please Log in or Create an account to join the conversation.

  • antonio
  • antonio's Avatar Topic Author
  • Offline
  • New Member
More
11 years 4 months ago #113737 by antonio
Replied by antonio on topic Re: print function
Thanks for your help.
So i shold add the code in the item.php template of K2?
Thanks

Please Log in or Create an account to join the conversation.

  • antonio
  • antonio's Avatar Topic Author
  • Offline
  • New Member
More
11 years 4 months ago #113738 by antonio
Replied by antonio on topic Re: print function
i have insert in the template and works. Only in firefox it give some problem with pop up
thanks

Please Log in or Create an account to join the conversation.

More
11 years 3 months ago #113739 by BBC
Replied by BBC on topic Re: print function
I opened a comment at bug tracker. It should not make problems with Joomla native caching.

code.google.com/p/getk2/issues/detail?id=583&thanks=583&ts=1371380421

Please Log in or Create an account to join the conversation.

More
11 years 3 months ago #113740 by BBC
Replied by BBC on topic Re: print function
Some new info. When i am logged in print button is shown. So it is for sure problem with this function and Joomla native cache.

How to use it without disabling all Joomla cache ? Problem upon problem, never ending story.

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
11 years 3 months ago #113741 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: print function
Are you sure it is not a template error?

Can you try viewing it with the system template? (/?template=system) or provide me with a link?

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

More
11 years 3 months ago #113742 by BBC
Replied by BBC on topic Re: print function
It doesnt work with default templates, get blank page (almost blank, some text only). I need to rearrange positions, menu modules, etc, to get over error, but website is live and i cannot do it.

I will send you a link on PM.

It looks for print.css in my custom template folder, dont know why. Copied CSS code for print class to this CSS file, it didnt helped.

Please Log in or Create an account to join the conversation.

More
11 years 3 months ago - 11 years 3 months ago #113743 by BBC
Replied by BBC on topic Re: print function
I fixed errors, forgot to move template overrides.

No, it is the same even with two default templates (3.1.1)


A small improvement. When i clean cache in Admin panel, and hard reset browser in print popup window then i get print button. But as soon i move to other Item cache makes problem again.

I cannot expect that visitors will reset browsers in pop up windows, not at all normal behavior.

Please Log in or Create an account to join the conversation.

More
11 years 3 months ago #113744 by BBC
Replied by BBC on topic Re: print function
I believe Peter van Westen explained problem exactly.

www.nonumber.nl/forum/Sliders/11730-How-show-the-content-when-I-print-

Seems like you have a caching problem.
The page with and without the print=1 is cached as the same page.

After clearing your cache, the print page displays correctly, but then the normal page displays as the print page.

So this is not a Sliders issue, but an issue with whatever caches your pages on your site.

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum