Hi all,
I would like to insert the company logo when generating the print document in word and in Html format. How can I do it?
Bonsoir à tous,
J'aimerais insérer le logo de l'entreprise lorsque j'imprime mon plan de test au format word et/ou Html. Comme le faire?
Thanks in advance for your help
Merci par avance pour votre aide.
A logo in the Print report
This would be a two-part deal:
1. note in the file config.inc.php, there are 3 company-related defines:
a) TL_COMPANY
b) TL_DOC_COPYRIGHT
c) TL_DOC_CONFIDENT
you may want to add one here for the logo's path, i.e. TL_COMPANY_LOGO
2. Then in the file lib/functions/print.inc.php, function printFirstPage():
add code (a string concatenation) to variable $output with the proper html stuff to display the logo.
Then it should only be a matter of tweaking the html to place the logo where desired.
1. note in the file config.inc.php, there are 3 company-related defines:
a) TL_COMPANY
b) TL_DOC_COPYRIGHT
c) TL_DOC_CONFIDENT
you may want to add one here for the logo's path, i.e. TL_COMPANY_LOGO
2. Then in the file lib/functions/print.inc.php, function printFirstPage():
add code (a string concatenation) to variable $output with the proper html stuff to display the logo.
Then it should only be a matter of tweaking the html to place the logo where desired.