VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: mark R on May 16, 2016, 09:57:28 AM

Title: Logo is Upside down in footer if email/pdf is longer then 1 page
Post by: mark R on May 16, 2016, 09:57:28 AM
Hi All,

I am having an issue with my logo in the Footer of the email/pdf template.

If the order is longer then a page the logo/image in my footer turns upside down?

VirtueMart 3.0.12.

Many thanks
Mark
Title: Re: Logo is Upside down in footer if email/pdf is longer then 1 page
Post by: rubliexpress on May 25, 2016, 13:32:33 PM
Hello mark R

Have you found a solution for your problem?

I've got the same. A picture in the footer is upside down at the first page, at the second (last) page it's correct.
I don't know where to fix the problem!?!

I'm using VirtueMart 3.0.10, Joomla! 3.5.1


regards rubliexpress
Title: Re: Logo is Upside down in footer if email/pdf is longer then 1 page
Post by: jenkinhill on May 25, 2016, 18:50:48 PM
Quote from: rubliexpress on May 25, 2016, 13:32:33 PM
I'm using VirtueMart 3.0.10, Joomla! 3.5.1

You should be using VirtueMart 3.0.16 with Joomla 3.5.1 - but as always test the update on a backup copy of the live site.
Title: Re: Logo is Upside down in footer if email/pdf is longer then 1 page
Post by: rubliexpress on May 27, 2016, 10:13:29 AM
Hello jenkillhill

thanks for the reply.

but any way i don't want update yet... (too much work ;)

so I think it's a problem somwhere in the core (not in the template). So if you can tell me where the pdf will be generated or how i can insert a picture at the bottom of every pdf will be great.
Currently i insert a text and a picture in the WYSIWYG - editor from the footer area.
Why is the picture at the first page up side down and at the last page (page 2) correct?

thanks
Rubliexpress
Title: Re: Logo is Upside down in footer if email/pdf is longer then 1 page
Post by: GJC Web Design on May 27, 2016, 12:04:55 PM
Quotebut any way i don't want update yet... (too much work ;)

unless u have done the core hacks less than 3.0.16 simply won't work on J3.5.1 .. read the forums
Title: Re: Logo is Upside down in footer if email/pdf is longer then 1 page
Post by: StefanSTS on May 27, 2016, 12:07:55 PM
Hi,

I made quite a few custom layouts for the invoice which you can find in the view folder "invoices", but never had any problems like that. Just tried on a test installation. It's fine.

So it might have something to do with a change in the core.

I would try to manually delete the tcpdf folder in the libraries and install the tcpdf component via extension manager again. Don't just update, remove the folder properly first. And disable all overrides in your template.

Otherwise what happens if you take a backup and try it locally or on another server?

Stefan