Keyword

save k2 categories field in plugin configuration

More
4 years 6 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
4 years 6 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.

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


Powered by Kunena Forum