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
Forum Activity
- empty $lang after upgrade from 1.1.2 to 1.2.2 on Feb 09
- Adding pagevars from template on Feb 09
- Minor issue upgrading from 1.2.1 to 1.2.2 on Feb 09
- News - storiesext block date problem on Feb 09
- Is Zikula right for my project - social network w/ collaborative content on Feb 09
- where is the credit module for zikula ? on Feb 09
- is the svn ezcomment gettext usable ? on Feb 09
Zikula Blog
- How to Become a HipHop Fan on Feb 03
- HTML5 on Feb 02
- Support Free Software on Jan 22
- Module Files available on Dec 13
- Why I love Zikula (Reason #768) on Nov 11
- Theme Creator? on Nov 08
- Time to Embrace PHP 5 on Nov 08
Login
pagesetter pdf output
-
- Rank: Freshman
- Registered: 07.02.09
- last visit: 21.10.09
- Posts: 38
-
- Rank: Helper
- Registered: 18.05.04
- last visit: 09.02.10
- Posts: 355
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: Helper
- Registered: 08.02.03
- last visit: 31.01.10
- Posts: 319
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.
--
someone....I'm not going to say who.....is a rotten stealer -
- Rank: Helper
- Registered: 18.05.04
- last visit: 09.02.10
- Posts: 355
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: 09.08.02
- last visit: 21.10.09
- Posts: 74
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: Helper
- Registered: 08.02.03
- last visit: 31.01.10
- Posts: 319
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
--
someone....I'm not going to say who.....is a rotten stealer -
- Rank: Professional
- Registered: 24.08.03
- last visit: 09.02.10
- Posts: 1016
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
--
erikspaan.nl, avwijchen.nl
Into: BlankTheme, News module, zikula.nl -
- Rank: Freshman
- Registered: 07.02.09
- last visit: 21.10.09
- Posts: 38
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: Freshman
- Registered: 07.02.09
- last visit: 21.10.09
- Posts: 38
Code
mpdf.php?module=Pagesetter&tid=<!--[$core.tid]-->&pid=<!--[$core.pid]--> -
- Rank: Professional
- Registered: 24.08.03
- last visit: 09.02.10
- Posts: 1016
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 ...
--
erikspaan.nl, avwijchen.nl
Into: BlankTheme, News module, zikula.nl -
- Rank: Freshman
- Registered: 07.02.09
- last visit: 21.10.09
- Posts: 38
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? -
- Rank: Professional
- Registered: 07.02.04
- last visit: 07.02.10
- Posts: 1200
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: Professional
- Registered: 22.03.03
- last visit: 08.02.10
- Posts: 911
It seems I have a version laying around
Code
$modversion['name'] = 'xFPDF';
$modversion['version'] = '2.0';
where to can I send it?
- Igor
--
Have a nice day
zikulapro.com is currently running
Zikula 1.1.2
pagesetter.net
-
- Rank: Professional
- Registered: 22.03.03
- last visit: 08.02.10
- Posts: 911
* double post... Ajax time-out...
- Igor
edited by: videokid, Jul 04, 2009 - 07:54 AM
--
Have a nice day
zikulapro.com is currently running
Zikula 1.1.2
pagesetter.net
-
- Rank: Helper
- Registered: 04.05.04
- Posts: 390
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
--
Cozi - development is life.
sidux - an operating system must operate.
my Debian repository
- Moderated by :
- Support
Users online
This list is based on the users active over the last 60 minutes.
