[Skip to main content](#vessel-content)

#   Hikaserial Plugin params

##

- **[sadaf3d](/forum/user/46256-sadaf3d "View sadaf3d's Profile")**
- [![sadaf3d's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/46256-sadaf3d "View sadaf3d's Profile") Topic Author
- [ Offline](/forum/user/46256-sadaf3d)

Less More

- Posts: 221
- Thank you received: 8
-

2 years 3 months ago -  2 years 3 months ago [\#362679](#362679) by [sadaf3d](/forum/user/46256-sadaf3d "View sadaf3d's Profile")  *[Hikaserial Plugin params](/forum/17-serial-how-to/908509-hikaserial-plugin-params#362679 "hello I wrote a plugin for hikaserial with a configuration parameter. That configuration was just added by adding the 'api&#95;url' =&gt; array('API&#95;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")* was created by *[sadaf3d](/forum/user/46256-sadaf3d "View sadaf3d's Profile")*

hello
I wrote a plugin for hikaserial with a configuration parameter. That configuration was just added by adding the
'api_url' =&gt; 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](/forum/user/46256-sadaf3d "View sadaf3d's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE3LXNlcmlhbC1ob3ctdG8vOTA4NTA5LWhpa2FzZXJpYWwtcGx1Z2luLXBhcmFtcz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

2 years 3 months ago [\#362741](#362741) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Hikaserial Plugin params](/forum/17-serial-how-to/908509-hikaserial-plugin-params#362741 "hello I wrote a plugin for hikaserial with a configuration parameter. That configuration was just added by adding the 'api&#95;url' =&gt; array('API&#95;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")*

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 &amp; HikaSerial developer / HikaShop core dev team.

The following user(s) said Thank You: [sadaf3d](/forum/user/46256-sadaf3d "View sadaf3d's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE3LXNlcmlhbC1ob3ctdG8vOTA4NTA5LWhpa2FzZXJpYWwtcGx1Z2luLXBhcmFtcz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

Moderators: [Obsidev](/forum/user/7040-obsidev "View Obsidev's Profile")

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.045 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
