Jump to content

problem width PDF Invoice


Recommended Posts

Hi All,

 

I have problem with PDF invoice. I modified the look PDF document.

 

I modified the:

  • \class\pdf\HTMLTemplate.php
  • \pdf\header.tpl
  • pdf\invoice.tpl

At first moment everything worked. Then my disappeared logo, invoice date and invoice number.

Everything in header.tpl besides shop name.

 

When I to list the contents variable $logo_path in file header.tpl, so it is empty.

 

I returned all three files to their original state. The problem persists.

 

Does anyone know why I do not load variables in header.tpl?

 

Thanks

Link to comment
Share on other sites

I was looking to see if something has changed in the database. Changes there are more. They took me two lines.

 

New line in table configuration:

('452',NULL,NULL,'PS_PDF_USE_CACHE','0','2013-07-16 10:52:16','2013-07-22 01:05:00'),

 

New line in table pagenotfound:

('79','1','1','/mails/cs/%7Bshop_logo%7D','http://....cz/mails/cs/payment.html','2013-07-22 01:26:51');

 

Can any one line to caus this? May be a problem with the cache? Can I delete this line?

Edited by JaroslavH (see edit history)
Link to comment
Share on other sites

  • 3 weeks later...
×
×
  • Create New...