VirtueMart Forum

VirtueMart 2 + 3 + 4 => Plugins: Payment, Shipment and others => Topic started by: Enni1983 on February 08, 2014, 21:09:12 PM

Title: new placeholder in the VM Invoice PDF (from plugin)
Post by: Enni1983 on February 08, 2014, 21:09:12 PM
Hello,

unfortunately I'm stuck (even after hours of research).

I'd like to expand VM Invoice PDF with a placeholder. The content of this should comes (if possible without hack) from a plugin.

I've probs with the following topics:

1.) Make placeholder from plugin in VM available
Coarse I know the Joomla plugin building structure. But I just do not I make the content displayable in a VM module. I presumably it is due to the following line in the XML, but do not know what I have to enter for VM.
<extension version="2.5" type="plugin" group="content">

2.) VM2 -> Shop -> Invoices
In the header and footer it is possible to following placeholders by default:
{vm:pagenum}, {vm:pagecount}, {vm:vendorname}, {vm:vendorimage}, {vm:vendoraddress}, {vm:vendorlegalinfo}, {vm:vendordescription}, {vm:tos}

I would now like to extend them by the return value from the plugin.

I hope someone can help me with a hint and/or with further topics on the net.

best regards
Enrico