Login or create new account.

By registering on joomprod.com, you will have immediate access to all our free products and to the public side of our support forum.

Enjoy our subscriptions.

Each of our subscriptions allow you to enjoy the private side of the support forum and all the update of our products for a period ranging from 3 months to 1 year.

Payment And immediate download.

After subscribing to one of our subscription, the products are immediately downloadable.

Login

Or Register
Accueil / forum / Support / Invoicing Support / PDF & Logo

Support Availability Because we must sleep sometimes

Working days: Monday to Friday.
Reply time: Depending on the complexity of your support issue it's usually between a few hours to 48 hours.

Support is only guaranteed to paid subscribers

AdsManager - End of life

It is with great regrets that we have chosen to end the developpement of Adsmanager and its other associated components.

AdsManager is born 10 years ago and, as of today, the number of new subscriptions and downloads have fallen and we cannot maintain the component anymore.

All active subscribers will be able to continue enjoying support until the end of their subscription.

The components will be free and no support will be provided anymore for the other users.

×

Notice

The forum is in read only mode.

PDF & Logo

More
11 years 2 months ago #3294 by _Pascal_
PDF & Logo was created by _Pascal_
Bonjour,

J'ai un soucis pour générer les PDF.

{vendor_logo} ne semble pas fonctionner correctement.

Joomla 3.2
Invoicing 2.9.8

PDF vide à cause de
<a href="{url_site}" target="_blank">
<img style="max-width : 300px;max-height : 300px" class="logo_vendor" alt="logo" src="{vendor_logo}" />
</a>
 
More
11 years 2 months ago #3307 by tompap
Replied by tompap on topic PDF & Logo
Le même tag fonctionne sur HTML ?
si vous supprimer cette ligne pour le PDF le PDF est généré ?
More
11 years 2 months ago #3316 by _Pascal_
Replied by _Pascal_ on topic PDF & Logo
Oui, sans cette ligne, le PDF est généré.
Sinon, il ne trouve pas l'image et ca bloque la génération du PDF.
More
11 years 2 months ago #3325 by tompap
Replied by tompap on topic PDF & Logo
Pouvez-vous editer:

administrator/components/com_invoicing/helpers/format.php

ajouter juste avant
$substitutions[$invoice->invoicing_invoice_id] = array(
(ligne 398)

$uri = JURI::getInstance();
$base = $uri->toString( array('scheme', 'host', 'port'));

puis remplacer en dessous
"{vendor_logo}" => JURI::root()."/media/com_invoicing/images/vendor/".$invoice->vendor->filename,
par
"{vendor_logo}" => $base."/media/com_invoicing/images/vendor/".$invoice->vendor->filename,
More
11 years 2 months ago #3326 by _Pascal_
Replied by _Pascal_ on topic PDF & Logo
Pas mieux:

"Image not readable or empty"

Alors que le lien quand je clique dans le PDF m'amène bien à l'image (elle est donc accessible via HTTP).
More
11 years 2 months ago #3357 by tompap
Replied by tompap on topic PDF & Logo
Bonsoir,

J'ai retesté de mon côté et le code d'origine est mieux et fonctionne correctement sur le site que nous sommes entrain de faire pour un client.

Est-ce que vous pouvez m'envoyer par email un lien vers ce post, + URL + super admin account pour faire des tests sur votre site ?
Time to create page: 0.139 seconds
Powered by Kunena Forum