Keyword

K2 Link item plugin rewrite to K2 Link Category

  • Aristos Aristodemou
  • Aristos Aristodemou's Avatar Topic Author
  • Offline
  • New Member
More
12 years 8 months ago - 12 years 8 months ago #61138 by Aristos Aristodemou
K2 Link item plugin rewrite to K2 Link Category was created by Aristos Aristodemou
I want to overwrite the plugin so instead of selecting an item to be shown in an itemlist or in item. I want to show a whole category.

i can easily change linkitem.php line 86
from: $query .= " AND i.id={$id}"; to $query .= " AND c.id={$id}";

but in backend when i go to an item to select a valid category is still shows the select item option.

How can i change that code? Where do i need to make changes?
Attachments:

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

  • Aristos Aristodemou
  • Aristos Aristodemou's Avatar Topic Author
  • Offline
  • New Member
More
12 years 8 months ago #61139 by Aristos Aristodemou
Replied by Aristos Aristodemou on topic Re: K2 Link item plugin rewrite to K2 Link Category
i just add the plugin code. It's not my code but i will use it to make a little different plugin if its possible.

Also i will publish the code with the the name of the original owner of the plugin and the new plugin will be also free. I want to contribute to K2 because it give us so much in turn.

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


Powered by Kunena Forum