Keyword

pdf extension for k2 items

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 10 months ago #81201 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: pdf extension for k2 items
Hello qwe,

Why don't you try a service like www.printfriendly.com/button?

You can c/p the snippet in your item.php.

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

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

More
10 years 9 months ago #81202 by rosa qwe
Replied by rosa qwe on topic Re: pdf extension for k2 items
tanks for answer

but i need pdf Button for save item text & img in user(visitor) computer !

i wating to your answer ....

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 9 months ago #81203 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: pdf extension for k2 items
Hello Rosa,

That what this button does, it prints the page to a .pdf file on your PC.

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

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

More
10 years 8 months ago #81204 by Marcio
Replied by Marcio on topic Re: pdf extension for k2 items
Hello Nilos

I got the view.pdf file, but the txt code is not available for download.
Do you have it, or meanwhile since this years have found another good solution for the PDF button in K2?

Thanks

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

More
10 years 2 months ago #81205 by Pero Mero
Replied by Pero Mero on topic Re: pdf extension for k2 items

Krikor Boghossian wrote: Hello qwe,

Why don't you try a service like www.printfriendly.com/button?

You can c/p the snippet in your item.php.


Ok I have code
<script>var pfHeaderImgUrl = '';var pfHeaderTagline = '';var pfdisableClickToDel = 0;var pfHideImages = 0;var pfImageDisplayStyle = 'none';var pfDisablePDF = 0;var pfDisableEmail = 0;var pfDisablePrint = 0;var pfCustomCSS = '';var pfBtVersion='1';(function(){var js, pf;pf = document.createElement('script');pf.type = 'text/javascript';if('https:' == document.location.protocol){js='pf-cdn.printfriendly.com/ssl/main.js'}else{js='http://cdn.printfriendly.com/printfriendly.js'}pf.src=js;document.getElementsByTagName('head')[0].appendChild(pf)})();</script><a href="www.printfriendly.com" style="color:#6D9F00;text-decoration:none;" class="printfriendly" onclick="window.print();return false;" title="Printer Friendly and PDF">cdn.printfriendly.com/button-print-grnw20.png" alt="Print Friendly and PDF"/>

and I wish to put that code in item.php which is located in joomla 3.2.2 -
public_html/templates/ja_mero/html/com_k2/templates/ja_mero/item.php

Where in file to paste that code? I try to paste everywhere but nothing happend

Thank you for your answer

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

More
10 years 2 months ago #81206 by Pero Mero
Replied by Pero Mero on topic Re: pdf extension for k2 items
Any answer please?

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

More
10 years 2 months ago #81207 by Lefteris
Replied by Lefteris on topic Re: pdf extension for k2 items
@Pero Mero

This is up to you. Since you are using a custom script you need to check that your page doesn't have any javascript errors and that the button is displayed.

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

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

More
9 years 9 months ago #81208 by Yannick Lämmel
Replied by Yannick Lämmel on topic Re: pdf extension for k2 items
Everybody wants it, but there is still no solution...

I found a Voting for a Wishlist with Phoca-PDF-functions

I really like to post ist here, because it would make K2 & Phoca very much better!!!

phoca.uservoice.com/forums/12726-phoca-pdf/filters/hot

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

More
6 years 10 months ago #162383 by Alexis
Replied by Alexis on topic pdf extension for k2 items
Hi,
I'm in the same situation and need to generate a pdf from a k2 item with tcpdf.

Where can i find your examples as view.pdf.php

Thx

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
6 years 10 months ago #162389 by Krikor Boghossian
Replied by Krikor Boghossian on topic pdf extension for k2 items
Hello Alexis,
This would require custom coding.
An alternative would be www.printfriendly.com/button

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

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


Powered by Kunena Forum