Menu Content

Podpora

> Diskusní fóra, FAQs & placená podpora
Welcome, Guest
Username Password: Remember me

Integrating downloadable PDF
(1 viewing) (1) Guest
Support forum for customers who have purchased this product. Archive only, no new post can be added.

NOTE: This category has been locked. If you have purchased paid version, please, use our Support Ticket system instead. If you are using free edition, please see the Community Support section.
  • Page:
  • 1

TOPIC: Integrating downloadable PDF

Integrating downloadable PDF 10 years, 10 months ago #42316

Hi,

I am having some problems trying to integrate the downloadable PDF. I have followed the instructions from here:
www.artio.net/support-forums/vm-invoice/...er-frontend-with-vm2

And I also edited the list.php file in the template.

However, I run into problems when creating the delivery/invoice note.

Referring to step 5, do I add this code into the delivery note:

<a href="index.php?option=com_vminvoice&controller=invoices&task=pdf&cid=<?php
echo $row->virtuemart_order_id
?>" target="_blank">
<img src="<?php echo JURI::root()?>media/media/images/mime-icon-16/pdf.png">
</a>

However, when I do this, the picture (PDF) icon is missing. Furthermore, the link does not work when the note is emailed. I found that for any <a href="....."> - the link is never clickable in the email, even though it is in the delivery/invoice note editor.

Finally, after manually entering the URL - I get the error: "You do not have permission to view this resource."

chrisjackson.biz/joomlanew/en/?option=co...id=%3C?php%20echo%20$row-%3Evirtuemart_order_id%20?%3E

But when I put in the order ID manually, I am able to download it:

chrisjackson.biz/joomlanew/en/?option=co...ask=pdf_dn&cid=3

Therefore, I believe my problem lies in this part of the code (THE ORDER ID PART)
<?phpecho $row->virtuemart_order_id?>

Could you please suggest a way to fix this and also the hyperlink problem I mentioned earlier. I am using Virtuemart 2.0.26 if this of any help.

Thank you very much.
The topic has been locked.

Re: Integrating downloadable PDF 10 years, 10 months ago #42421

Anyone??
The topic has been locked.

Re: Integrating downloadable PDF 10 years, 10 months ago #42472

  • mitk
Hello,

this feature is described in our documentation here:
www.artio.net/vm-invoice/documentation#d0e1298

Please, try to compare it with your procedure, if it is the same.
The topic has been locked.
  • Page:
  • 1
Přihlášení uživatele Prázdný