Keyword

k2 Article saving

  • maiky
  • maiky's Avatar Topic Author
  • Offline
  • Junior Member
More
9 years 4 months ago #149863 by maiky
k2 Article saving was created by maiky
Hello i'm looking for where the saving script for k2 item is located.

Here is what i want to do: i'm using a plugin in the content when creating a news article and i have to add this snippet at the end of the text. "{minipolls id="2661" title=""}
first||
second||
third
{/minipolls}"

Now i want to do it automaticly by generate the code by include it in database when saving the item and put the ITEM ID in the id=""

Can you please help me...

AJMG

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • User
More
9 years 4 months ago #149867 by Krikor Boghossian
Replied by Krikor Boghossian on topic k2 Article saving
Hello Maiky, you need to create a K2 plugin.
You can take a look at the example plugin for reference getk2.org/extend/extensions/90-example-k2-plugin-for-developers

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

  • maiky
  • maiky's Avatar Topic Author
  • Offline
  • Junior Member
More
9 years 4 months ago #149880 by maiky
Replied by maiky on topic k2 Article saving
Hello I get error with instal plugin: JFolder::create: Infinite loop detected

AJMG

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • User
More
9 years 4 months ago #149903 by Krikor Boghossian
Replied by Krikor Boghossian on topic k2 Article saving
With the default plugin or did you edit it?

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


Powered by Kunena Forum