Keyword

save k2 categories field in plugin configuration

More
1 month 2 days 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.

  • Fotis
  • Fotis's Avatar
  • Online
  • Administrator
  • JoomlaWorks Support Team
More
1 month 2 hours ago #177283 by Fotis
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.

If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

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


Powered by Kunena Forum