Page 1 of 1

Background image wich covers whole page

Posted: 02 Apr 2014, 16:25
by minddigger
Having Phoca PDF v3.0.0 running in a Joomla 3.2.3 site.
Need to generate PDF 's with a background wich covers the pages, like the example in the latest TCPDF version (version 6.0.2, example 51).
Assuming that this is also possible in the version tcpdf (v-5.9.205) wich is installed with Phoca PDF v3.0.0, how can I do this and in wich script do I have to insert this?

Is it also possible to install the latest TCPDF version in the Phoca component ?

Re: Background image wich covers whole page

Posted: 03 Apr 2014, 18:13
by Jan
Hi,

- I didn't test the background image feature, so you need to test it
- latest - yes, you can update it, but sometimes it happens, that something is in conflict, so you need to be ready for possible conflicts.

Jan

Re: Background image wich covers whole page

Posted: 03 Apr 2014, 18:36
by minddigger
Thanks Jan, can you tell me wich Phoca script I should change to implement the feature?
B.T.W : I have tried just to replace the tcpdf directory in ./assets with the latest version, but that did result in a server error, so I think it's not as easy as I thought :roll:

Re: Background image wich covers whole page

Posted: 08 Apr 2014, 21:29
by Jan
Hi, I think you need to somehow customize directly the tcpdf library :idea:

Jan

Re: Background image wich covers whole page

Posted: 11 Apr 2014, 15:21
by minddigger
That's odd. The tcpdf lib already supports a way to display backgrounds. It only has to be served from the Phoca PDF module.
I'm now so far that it displays the first page with a background, but the following pages does not, so I think it has something to do with the pagination.

Re: Background image wich covers whole page

Posted: 13 Apr 2014, 18:45
by Jan
Hi, added to feature request list.

Jan

Re: Background image wich covers whole page

Posted: 17 Apr 2014, 16:31
by minddigger
Thanks Jan, but I already solved it.

Re: Background image wich covers whole page

Posted: 21 Apr 2014, 19:19
by Jan
Ok