A bit of code in a plugin to generate the same output as the configuration tab

Started by rvbgnu, February 23, 2019, 21:08:07 PM

Previous topic - Next topic

rvbgnu

Hi everyone,

I am exploring in backend areas that I don't know well in VirtueMart and Joomla.
I am looking at a way to catch the HTML output of a payment plugin in the VirtueMart backend: the one that displays in the Configuration tab.

It will use method(s) in the same plugin, or another one triggered by an event. It could be an event method similar to the frontend ones: onContentBeforeDisplay(), onAfterRender()...

Initially, I wanted to parse or to get the language files output, in order to generate a Documentation page for the plugin Configuration. As there are already several language files, it would help to create and update a Documentation in several languages. This would give the fields names, options, descriptions and tool tips. And then a bit of HTML change with find/replace, with the functions used to modify the frontend HTML would give me block of code to create the page I want.

Please could you point me to where I should look? And which class(es) I could override to achieve that?

Kind regards,
Hervé
Best Regards, Hervé Boinnard - Irish Time (GMT)
Joomla! multilingual website and online business made easy - https://www.puma-it.ie

3D Secure v1 (3DS1) & Strong Customer Authentication (SCA)! Stripe.com payment plugin for VirtueMart 3: https://www.puma-it.ie/en/joomla-and-virtuemart-extensions/stripe-for-virtuemart
Authipay (AIB Merchant Services) for VirtueMart 2 & 3: https://www.puma-it.ie/en/joomla-and-virtuemart-extensions/authipay-aib-merchant-services-for-virtuemart

rvbgnu

This is more clear with screenshots.

Here is the plugin configuration:



and the typical result I want in the Documentation page:



Does it make sense for you?
Best Regards, Hervé Boinnard - Irish Time (GMT)
Joomla! multilingual website and online business made easy - https://www.puma-it.ie

3D Secure v1 (3DS1) & Strong Customer Authentication (SCA)! Stripe.com payment plugin for VirtueMart 3: https://www.puma-it.ie/en/joomla-and-virtuemart-extensions/stripe-for-virtuemart
Authipay (AIB Merchant Services) for VirtueMart 2 & 3: https://www.puma-it.ie/en/joomla-and-virtuemart-extensions/authipay-aib-merchant-services-for-virtuemart