• Hello Fabrik Community

    Fabrik is now in the hands of the development team that brought you Fabrik for Joomla 4. We have recently transitioned the Fabrik site over to a new server and are busy trying to clean it up. We have upgraded the site to Joomla 4 and are running the latest version of Fabrik 4. We have also upgraded the Xenforo forum software to the latest version. Many of the widgets you might have been used to on the forum are no longer operational, many abandoned by the developers. We hope to bring back some of the important ones as we have time.

    Exciting times to be sure.

    The Fabrik 4.0 Official release is now available. In addition, the Fabrik codebase is now available in a public repository. See the notices about these in the announcements section

    We wish to shout out a very big Thank You to all of you who have made donations. They have really helped. But we can always use more...wink..wink..

    Also a big Thank You to those of you who have been assisting others in the forum. This takes a very big burden off of us as we work on bugs, the website and the future of Fabrik.

Problems with PDF Template

csantof

Member
Hi ,

I've created a PDF Template but I have 2 problems:

1/ I need to put a logo into my PDF header

2/ I need to reduce the font size

but I do not find where and how I can do this.
Can you help me?

Tof
 
Yes I understood , in fact I have created a new template in the details template.
It's work perfectly but when I want to insert a logo into my PDF header it doesn't work.
I put <img src="/images/imagsite/sklogo.jpg"> but I do not see the logo just a empty square with image not found.
If I put this code in my navigator I see the picture.

For the font size I do not see how doing.

thanks

Tof
 
PDF needs an absolute path for the image.
Fabrik should convert your relative path automatically.
Which exact Fabrik version are you running?
 
Some news I do not why but it worked 2 times and after the logo disappeard.
It is very strange, I have tested with firefox an chrome but the result is the same.

I Hope we find the solution
thankx for your help
 
Firefox and Chrome are browsers, no PDF files.
Did you try to set the absolute path to the image in your template?
 
I used them to test their plug in PDF to see if it does not get any of that.

I also put the relative path for reading the image and it's exactly the same.
I changed the access rights to the logo. Same thing nothing works
I tried on Apple and Windows. Same thing.
 
Can you post the full URL to your logo? (You need the URL, not the internal server path).
 
this is my php file where I have put my logo
But that do not work
<?php
/**
* Bootstrap Details Template
*
* @package Joomla
* @subpackage Fabrik
* @copyright Copyright (C) 2005-2016 Media A-Team, Inc. - All rights reserved.
* @license GNU/GPL http://www.gnu.org/copyleft/gpl.html
* @since 3.1
*/

// No direct access
defined('_JEXEC') or die('Restricted access');
?>

<img src="/images/sklogo.jpg" width="130" height="63" >
 
Did you try to add the full URL as src?
Did you try with DebugPDF on (in Fabrik Options)?
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top