Keyword

[SOLVED] Listing K2 categories in module parameter

More
10 years 6 months ago #126514 by Nuno
Hi,

Is it possible to list K2 categories in module parameters using something like the default Joomla category field type?
<field name="mycategories" type="category" extension="com_content" multiple="true" label="Category" description="" />


Thanks in advance.

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

More
10 years 6 months ago #126515 by Lefteris
Replied by Lefteris on topic Re: Listing K2 categories in module parameter
Hi. You can take a look at how K2 modules do this. Add to the fieldset:
addfieldpath="/administrator/components/com_k2/elements/"
and then you will be able to use all fields that are located under administrator/components/com_k2/elements.

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

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

More
10 years 6 months ago #126516 by Nuno
Thanks!

That's exactly what I want.

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

More
10 years 6 months ago #126517 by Lefteris
Replied by Lefteris on topic Re: Listing K2 categories in module parameter
You are welcome.

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