Background image wich covers whole page

Phoca PDF - creating PDF documents in Joomla! CMS
minddigger
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 02 Apr 2014, 15:09

Background image wich covers whole page

Post 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 ?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Background image wich covers whole page

Post 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
If you find Phoca extensions useful, please support the project
minddigger
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 02 Apr 2014, 15:09

Re: Background image wich covers whole page

Post 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:
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Background image wich covers whole page

Post by Jan »

Hi, I think you need to somehow customize directly the tcpdf library :idea:

Jan
If you find Phoca extensions useful, please support the project
minddigger
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 02 Apr 2014, 15:09

Re: Background image wich covers whole page

Post 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.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Background image wich covers whole page

Post by Jan »

Hi, added to feature request list.

Jan
If you find Phoca extensions useful, please support the project
minddigger
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 02 Apr 2014, 15:09

Re: Background image wich covers whole page

Post by minddigger »

Thanks Jan, but I already solved it.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Background image wich covers whole page

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
Post Reply