Keyword

add extra field with example plugin

  • jsmith
  • jsmith's Avatar Topic Author
  • Offline
  • New Member
More
12 years 11 months ago #57301 by jsmith
add extra field with example plugin was created by jsmith
So far I've been able to figure out how to add extra fields with modifying sample plugin right under the content tab which is great. However, I just want the extra fields from the plugin shows only in the category that I want. Does anyone know how to do that?

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

More
12 years 11 months ago #57302 by Garzarath
Replied by Garzarath on topic Re: add extra field with example plugin
Hi Jsmith,

Can you share the plugin with the community?
In order to solve my problem about relating k2 items I maybe will use an extended field.
I will save time if I can take a look on your plugin.

Thanks

Note: If I do it Iwill share mine too

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

  • jsmith
  • jsmith's Avatar Topic Author
  • Offline
  • New Member
More
12 years 11 months ago - 12 years 11 months ago #57303 by jsmith
Replied by jsmith on topic Re: add extra field with example plugin
I was just using Example K2 Plugin and try to modify from there. You can download that from K2 Extend (KED) getk2.org/extend

Extended field has very limited features and you can't customise much. This is the only drawback from K2.

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

More
12 years 11 months ago #57304 by Garzarath
Replied by Garzarath on topic Re: add extra field with example plugin
I took a look on Sherpa extenxion for K2. It seems to solve the limitation on extended field.
www.jiliko.net/home/item/34-sherpa-the-k2-ultimate-extension

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

  • jsmith
  • jsmith's Avatar Topic Author
  • Offline
  • New Member
More
12 years 11 months ago - 12 years 11 months ago #57305 by jsmith
Replied by jsmith on topic Re: add extra field with example plugin
That doesn't fix my problem. What I want is to be able to have my plugin with the extra fields appear on the category I want. I also want put it under content tab or create extra tab.

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

More
12 years 11 months ago #57306 by Jiliko.net
Replied by Jiliko.net on topic Re: add extra field with example plugin
Hi,

I'm not sure you'll be able to do that (i mean having your plugin displayed on selected categories) cause categories can be changed via the select list.

The extra fields are reloaded via Ajax on category list change, not the plugins.

Olivier

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

  • jsmith
  • jsmith's Avatar Topic Author
  • Offline
  • New Member
More
12 years 11 months ago #57307 by jsmith
Replied by jsmith on topic Re: add extra field with example plugin
Thats what I have done on my first K2 plugin which inspired by what it currently does on extra fields. I've added ajax call so now my pluging only appear on where I want.

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

  • jorge mejia gallegos
  • jorge mejia gallegos's Avatar
  • Offline
  • Junior Member
More
12 years 8 months ago - 12 years 8 months ago #57308 by jorge mejia gallegos
Replied by jorge mejia gallegos on topic Re: add extra field with example plugin
I have been trying to figure this out my self but but haven't gotten anywhere. it would be awesome if you can share your plugin, or tell us how you did it.
Thanks

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


Powered by Kunena Forum