- Posts: 11
- Thank you received: 0
Please post all pre-sales questions of all products on this forum
Export PDF - Print Logo with TCPDF
- Martina Becker
- Topic Author
- Offline
- New Member
-
Less
More
11 years 1 month ago #40194
by Martina Becker
Export PDF - Print Logo with TCPDF was created by Martina Becker
Hi Dam,
I would like to export my Logo to PDF.
I have to use the TCPDF-function due to German characters in the text.
Is there a solution to do this?
Many greetings
Martina
I would like to export my Logo to PDF.
I have to use the TCPDF-function due to German characters in the text.
Is there a solution to do this?
Many greetings
Martina
Please Log in or Create an account to join the conversation.
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 12934
- Thank you received: 1678
11 years 1 month ago #40198
by Mr. Dam
Replied by Mr. Dam on topic Re: Export PDF - Print Logo with TCPDF
Hi Martina,
It means you want to add your logo at the top of pdf file?
Thanks
Dam
It means you want to add your logo at the top of pdf file?
Thanks
Dam
Please Log in or Create an account to join the conversation.
- Martina Becker
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 11
- Thank you received: 0
11 years 1 month ago #40221
by Martina Becker
Replied by Martina Becker on topic Re: Export PDF - Print Logo with TCPDF
Hi,
yes you are right.
How can I manage it?
Greetings
Martina
yes you are right.
How can I manage it?
Greetings
Martina
Please Log in or Create an account to join the conversation.
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 12934
- Thank you received: 1678
11 years 1 month ago #40223
by Mr. Dam
Replied by Mr. Dam on topic Re: Export PDF - Print Logo with TCPDF
Hi Martina,
In version 2.6, you can modify the layout of PDF export in file
components > com_osproperty > helpers > layouts > propertypdf.php
<table width="100%">
<tr>
<td>
<h1>
<?php echo $configs[0]->fieldvalue?>
</h1>
<BR />
<?php echo $configs[1]->fieldvalue;?>
<BR />
<?php echo $configs[2]->fieldvalue;?>
<BR />
<a href="mailto:<?php echo $configs[3]->fieldvalue;?>"><?php echo $configs[3]->fieldvalue;?></a>
<BR />
</td>
</tr>
</table>
You can edit to add the <img> tag (logo) into above code. For example:
<table width="100%">
<tr>
<td style="text-align:center;">
<center>
<img src="logo_path">
</center>
<h1>
<?php echo $configs[0]->fieldvalue?>
</h1>
<BR />
<?php echo $configs[1]->fieldvalue;?>
<BR />
<?php echo $configs[2]->fieldvalue;?>
<BR />
<a href="mailto:<?php echo $configs[3]->fieldvalue;?>"><?php echo $configs[3]->fieldvalue;?></a>
<BR />
</td>
</tr>
</table>
Good luck
Dam
In version 2.6, you can modify the layout of PDF export in file
components > com_osproperty > helpers > layouts > propertypdf.php
<table width="100%">
<tr>
<td>
<h1>
<?php echo $configs[0]->fieldvalue?>
</h1>
<BR />
<?php echo $configs[1]->fieldvalue;?>
<BR />
<?php echo $configs[2]->fieldvalue;?>
<BR />
<a href="mailto:<?php echo $configs[3]->fieldvalue;?>"><?php echo $configs[3]->fieldvalue;?></a>
<BR />
</td>
</tr>
</table>
You can edit to add the <img> tag (logo) into above code. For example:
<table width="100%">
<tr>
<td style="text-align:center;">
<center>
<img src="logo_path">
</center>
<h1>
<?php echo $configs[0]->fieldvalue?>
</h1>
<BR />
<?php echo $configs[1]->fieldvalue;?>
<BR />
<?php echo $configs[2]->fieldvalue;?>
<BR />
<a href="mailto:<?php echo $configs[3]->fieldvalue;?>"><?php echo $configs[3]->fieldvalue;?></a>
<BR />
</td>
</tr>
</table>
Good luck
Dam
Please Log in or Create an account to join the conversation.
Moderators: Tuan Pham Ngoc, Giang Dinh Truong, Mr. Dam
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.