Hikaserial Plugin params

  • Posts: 201
  • Thank you received: 7
3 months 1 week ago #362679

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

Attachments:
Last edit: 3 months 1 week ago by sadaf3d.

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
3 months 4 days ago #362741

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.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
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.060 seconds
Powered by Kunena Forum