Keyword

save k2 categories field in plugin configuration

More
3 years 5 months ago #177261 by asmaa
I try to develop plugin and I need to use field of type categoriesmultiple from k2 but when I try to select categories and click save my selections gone and not saved

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

More
3 years 5 months ago #177283 by JoomlaWorks
Replied by JoomlaWorks on topic save k2 categories field in plugin configuration
Use this:
<field name="yourVariableNameHere" type="k2modalselector" scope="categories" default="" label="Category selector" description=""/>

This is a flexible field which can easily be adapted to select items, tags & categories by changing "scope" to items, item, tags, tag & category or categories as in your case. When using item, tag or category the selection is single.

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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


Powered by Kunena Forum