News:

Support the VirtueMart project and become a member

Main Menu

new placeholder in the VM Invoice PDF (from plugin)

Started by Enni1983, February 08, 2014, 21:09:12 PM

Previous topic - Next topic

Enni1983

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