The Joomla! Forum ™



Forum rules


Please use the mailing list here: http://groups.google.com/group/joomla-dev-general rather than this forum.



Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Generate a PDF
PostPosted: Thu May 03, 2012 12:51 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Wed May 02, 2012 12:22 pm
Posts: 3
I used ZenCart for my first site and have recently recreated it in Joomla 2.5. (really like joomla). Having trouble with the last part.....

I have been reading the forums, tutorials and everything on the net that talks about generating a PDF using PHP. The first version of the site used javascript to allow users to pull up a design, place text on the design, upload a jpeg image from their desktop and place on the design. The changed design was then saved as a PDF, then purchased. Adobe Acrobat Professional was used for postioning of the user generated text and this replaced using a library like TCPDF, FPDF, etc.

I have been trying to figure out how to recreate this on my joomla site. I have been practicing recreating this feature in an article. From what I have seen, PDFs can't be shown in an article, which is why i assume the PDF is not pulling up as all the scripts produce a blank page.

I haven't found a component or plugin in the Extensions Directory. Is there a script or part I am missing that can be incorporated to make this work? Or is a custom component going to need to be created? The code is all over the net. Getting it to work is the issue.

Thanks to all for your help!!!!!!!!!


Top
 Profile  
 
 Post subject: Re: Generate a PDF
PostPosted: Thu May 03, 2012 3:51 pm 
User avatar
Joomla! Exemplar
Joomla! Exemplar

Joined: Fri Sep 09, 2005 2:13 pm
Posts: 7954
Location: The Netherlands
Hi,

Are you willing to program it yourself or do yo look for a programmer?
Otherwise I have to move or topic to another forum location.

_________________
Robert Dam - Joomla Forum Moderator
Dutch Boards | Joomla Coding Boards | English Support Boards


Top
 Profile  
 
 Post subject: Re: Generate a PDF
PostPosted: Fri May 04, 2012 11:26 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Wed May 02, 2012 12:22 pm
Posts: 3
I would like to program it myself. From what I understand Joomla 2.5 incorporates TCPDF. Again, just looking for some feedback or advice from the community that has done this on the best way to do it.

Thanks!


Top
 Profile  
 
 Post subject: Re: Generate a PDF
PostPosted: Fri May 04, 2012 11:41 am 
User avatar
Joomla! Exemplar
Joomla! Exemplar

Joined: Fri Sep 09, 2005 2:13 pm
Posts: 7954
Location: The Netherlands
The best way, is to do it yor own. You have to understand yourself how yo have coded some things. Otherwise you will get huge problems when upgrading your scripts again.I have added FPDF to my own component and made a class to write PDF's on the fly.

_________________
Robert Dam - Joomla Forum Moderator
Dutch Boards | Joomla Coding Boards | English Support Boards


Top
 Profile  
 
 Post subject: Re: Generate a PDF
PostPosted: Fri May 04, 2012 11:57 am 
Joomla! Ace
Joomla! Ace

Joined: Sat Oct 01, 2011 7:06 pm
Posts: 1260
As of J1.6 TCPDF was dropped from the distribution. Haven't found it in J2.5. What makes you think it is part of J2.5?


Top
 Profile  
 
 Post subject: Re: Generate a PDF
PostPosted: Fri May 04, 2012 12:15 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Wed May 02, 2012 12:22 pm
Posts: 3
Thanks to both for the reply. I thought 2.5 was using tcpdf. I will look at FPDF and start there.

Thanks again.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 



Who is online

Users browsing this forum: No registered users and 10 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group