Keyword

Developing with k2

  • Ibis Computer
  • Ibis Computer's Avatar Topic Author
  • Offline
  • New Member
More
4 months 3 weeks ago #172553 by Ibis Computer
Ibis Computer created the topic: Developing with k2
Hi,

We need to develop a webservice that will upload information from a ERP against a Joomla with k2 as CCC.

I would like if there is any documentation about how to develop with k2, import libraries, insert new content, upload images, etc, etc

thanks,

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

  • Fotis
  • Fotis's Avatar
  • Online
  • Administrator
  • JoomlaWorks Support Team
More
4 months 2 weeks ago #172598 by Fotis
Fotis replied the topic: Developing with k2
The K2 code is all the documentation you need really.

Start with the Example K2 Plugin github.com/joomlaworks/example-k2-plugin if you wish to use K2 specific plugin events. Or you can just build a "regular" system plugin for Joomla.

Inserting content is a matter of calling the K2 item table instance. See how we do it in the Fill It Up component - and more specifically here github.com/joomlaworks/fill-it-up-for-joomla/blob/master/plugins/fillitup/k2/k2.php#L292 - which is used to generate dummy K2 (and other) content for quick prototyping.

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