1
Barthez
Api for pdf generation in a module.
  • 2006/9/18 12:17

  • Barthez

  • Just popping in

  • Posts: 11

  • Since: 2006/7/26


I want to integrate a pdf generation in my module.

Where can i found XOOPS PDF creation framework ?
How can i integrate this framework in a 2.15 version without have problems for the future 2.2 or 2.3 migration ?


Best regards
I didn't found any thing about pdf in the 2.15 version nether in the 2.2.

2
phppp
Re: Api for pdf generation in a module.
  • 2006/9/18 12:48

  • phppp

  • XOOPS Contributor

  • Posts: 2857

  • Since: 2004/1/25


http://svn.sourceforge.net/viewvc/xoopschina/Frameworks/fpdf/
http://svn.sourceforge.net/viewvc/xoopschina/modules/newbb/branches/4.x/pdf.php?revision=59&view=markup

3
Barthez
Some probleme with svn.sourceforge.net
  • 2006/9/19 7:21

  • Barthez

  • Just popping in

  • Posts: 11

  • Since: 2006/7/26


Great

That the first time i used svn. I used tortoise svn. With the "http://svn.sourceforge.net/viewvc/xoopschina/Frameworks/fpdf/" url, i haved a "400 bad request".

Can you help me ?
Is there not a zip file to dowload easy via http ?

NB : I haved downloaded properly with tortoise svn a part of "https://svn.sourceforge.net/svnroot/xoops" with no probleme

4
Barthez
Re: Some probleme with svn.sourceforge.net
  • 2006/9/22 15:31

  • Barthez

  • Just popping in

  • Posts: 11

  • Since: 2006/7/26


I have several problems :

- The 2.13 don't have a "Frameworks" directory but a "class" directory --> i have created a "Frameworks" directory to put the fpdf files
- The fpdf.php file is not include in the init.php --> i included.
- I have this error :
Call to undefined function: _put() in g:\easyphp\www\htdocs\Frameworks\fpdf\fpdf.php on line 1282
I have debug it but now the generated content in not interpreted as pdf content.


Can you help me ?
I'll used this frameworks but it is not better to used directly the native fdpf.php file ?

NB : i use php 4.3

5
sceilig
Re: Some probleme with svn.sourceforge.net
  • 2006/10/3 5:46

  • sceilig

  • Just popping in

  • Posts: 53

  • Since: 2006/3/1 1


I too would like if someone could shed a bit of light on how best to implement fpdf or an equivalent pdf class in any XOOPS module.

I would like to be able to put a pdf icon in most of my modules so someone could print out that exact page - be it a single news article or a list of calendar entries.

I have smartsection installed and that comes with fpdf included. I would like to be able to make a generic installation of fpdf - perhaps put it in the "Frameworks" folder, although I also havent seen any doucmentation on the usage of stuf fin the Frameworks folder.

The link to the svn folder above shows the fpdf application but I would imagine there is a complete "download" for it and how to implement it for XOOPS modules?

Login

Who's Online

230 user(s) are online (147 user(s) are browsing Support Forums)


Members: 0


Guests: 230


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits