Skip to main content

Hikaserial Plugin params

2 years 3 months ago - 2 years 3 months ago #362679 by sadaf3d
hello
I wrote a plugin for hikaserial with a configuration parameter. That configuration was just added by adding the
'api_url' => array('API_URL', 'input')
in the $pluginConfig array. How can I get the value of that configuration?
You can see my try In line 53 of file danehmembership.php

(My plugin type was 'subscriber' and config was not saved. To solve this problem, I changed my plugin type to 'plugin')

Please help me
Last edit: 2 years 3 months ago by sadaf3d.

Please Log in or Create an account to join the conversation.

2 years 3 months ago #362741 by Jerome
Replied by Jerome on topic Hikaserial Plugin params
Hello,

I did not take a look at your plugin since it would be a bit far from our support.
Please understand that there is a line between "custom development" and support on the product (and you're using an account without licence attached).

If you want to make a subscription plugin, you should take a look at existing subscriptions plugins.
And you will see that the variable "$pluginConfig" is not used in theses plugins, since the configuration is displayed directly in the subscription edition page.
Regarding the fact that you want a setting for an API URL, you should use the Joomla configuration part, via the XML file for such thing.

HikaSerial plugins internal types change how the plugin is used by HikaSerial regarding the integration.
But for every types, you have access to all triggers. Just that you won't have access to the same "integrations" via the HikaSerialPlugin class.

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
The following user(s) said Thank You: sadaf3d

Please Log in or Create an account to join the conversation.

Moderators: Obsidev
Time to create page: 0.056 seconds
Powered by Kunena Forum