hi every
like joomla default template , I want to have pdf button near my publication title in list template in Pagesetter.
I tried dompdf but it cannot convert my template to pdf.
can anyone help me about this?
thanks
- jmvaughn created topic »TagIt 3.0 for Zikula« 09:34 AM
- jmvaughn responded to »Shoutit for zikula 1.3?« 09:31 AM
- mdee responded to »Different page content under one template (tpl file) based on URL« 07:17 AM
- Guite responded to »Remove contents of nuke_sc_anticracker from Database« 01:30 AM
- espaan responded to »Categories disappear when editing ...« 08. Feb
- eledril responded to »How decrease zikula cpu usage« 08. Feb
- jmvaughn responded to »PN 0.764 to Zikula 1.1.2 (migration) Internal Server Error« 08. Feb
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
pagesetter pdf output
-
- Rank: Registered User
- Registered: Feb 06, 2009
- Last visit: May 21, 2010
- Posts: 42
-
- Rank: Developer
- Registered: May 17, 2004
- Last visit: Apr 08, 2010
- Posts: 386
Perhaps you can look a this
http://www.phpinsider.com/smarty-forum/viewtopic.php?t=3219
it's a Smarty filter to generate pdf from pdml file (HTML-like file)
- download the pdml API http://pdml.sourceforge.net
- create the filter in your code
- create a custom function which register this filter pagesetter_user_dopdf
- create a template in pdml to render you content -
- Rank: Softmore
- Registered: Feb 07, 2003
- Last visit: May 31, 2010
- Posts: 404
How much work would it be to get this working to the point where something could just be added to a Pagesetter template and it all works?
I don't have the time or skills to get this working but I wouldn't mind chipping in some Canadian dollars to the cause. -
- Rank: Developer
- Registered: May 17, 2004
- Last visit: Apr 08, 2010
- Posts: 386
i don't know it's depends of the skill of the developper, you can put a bid to zikulapro.com
edited by: mumuri, Apr 25, 2009 - 10:03 AM -
- Rank: Softmore
- Registered: Aug 08, 2002
- Last visit: May 21, 2010
- Posts: 120
I could contribute also. I used the old module xpdf with Pagesetter but there were problems with div and tables. Also it was impossible assign different font size to carachter, so I decided to install a plugin for firefox. A link on the page would be much better, some client asked me for it and I suggested to use online services or to install plugins. But it is not a kind solution... -
- Rank: Softmore
- Registered: Feb 07, 2003
- Last visit: May 31, 2010
- Posts: 404
Hmm, anyone else want to throw down some cash?
If so, send me an e-mail and we can get something going.
If you're a developer and want to take on this project, maybe send me an e-mail with a bid so we know how much moolah needs to be raised.
darryl@kamloopsepublishing.com -
- Rank: Developer
- Registered: Aug 23, 2003
- Last visit: May 31, 2010
- Posts: 1401
Been checking HTML 2 pdf stuff as well, some links for suggestions and to "not forget" them:
classes or similar solutions to create pdf from HTML:
http://mpdf.bpm1.com/ (recently updated)
http://www.digitalju…ca/dompdf/about.php
http://www.rustyparts.com/pdf.php
http://www.macronimo…L2PDF_using_PHP.asp
http://www.hotscript…e-manipulation/pdf/
libs for creating pdf that support writeHTML etc:
http://www.fpdf.org/
http://www.tcpdf.org/
I aim to get some pdf output stuff into News as well, #82
--
campertoday.nl, Module development, Dutch Zikula Community -
- Rank: Registered User
- Registered: Feb 06, 2009
- Last visit: May 21, 2010
- Posts: 42
ok i used mpdf and its work good
i create a link in my template like this
mpdf.php?module=Pagesetter&tid=&pid=
and its work good.
but in publication with permission when i login and have permission "You are not authorized to use this feature"
what can i do?
thanks -
- Rank: Registered User
- Registered: Feb 06, 2009
- Last visit: May 21, 2010
- Posts: 42
Code
mpdf.php?module=Pagesetter&tid=<!--[$core.tid]-->&pid=<!--[$core.pid]--> -
- Rank: Developer
- Registered: Aug 23, 2003
- Last visit: May 31, 2010
- Posts: 1401
BTW for those also interested, the mpdf supports unicode and CSS styles and has a GPL license, so can be included into a module as such. I think this might be a very good candidate for the News pdf output as well. Maybe a hook can be supplied to give the pdf output to other modules as well?
For your question, I'm not sure where the permission error is coming from. HOw did you set up the mpdf.php file actually? You might need some permission stuff in there ...
--
campertoday.nl, Module development, Dutch Zikula Community -
- Rank: Registered User
- Registered: Feb 06, 2009
- Last visit: May 21, 2010
- Posts: 42
mpdf uses "file_get_contents" to open a file.
when use this function and don't set the permission , "You are not authorized to use this feature" appears.
how can is set permission in this file? -
**unknown user**
- Rank: Expert
- Registered: Mar 16, 2002
- Last visit: Apr 02, 2010
- Posts: 1208
It seems like xfpdf would be a good place to start. Maybe it just needs to have fpdf updated (?). On that note, does anyone have a copy of xfpdf 2.1 laying around? I can't find any downloads. I'm not expert but I would like to play around with it. Of course, if I get it working properly, I would be more than happy to share. Thanks! -
- Rank: Team Member
- Registered: May 03, 2004
- Last visit: May 31, 2010
- Posts: 509
Not needed, I keep 2.1 plus plugins in the Austrian Zikula Archives here.
You will find there almost everything - if something is missing, please let me know.
Greetings,
Chris
--
an operating system must operate
development is life
my repo
- Moderated by:
- Support
