• Register or
  • Sign In
    • Forgot your password?
    • Forgot your username?
    Or sign in with your account on:
    Facebook
    Twitter
    Google
    LinkedIn

K2 | The powerful content extension for Joomla! developed by JoomlaWorks

  • home
  • about
  • blog
  • documentation
  • extend K2
  • showcase
  • community
  • demo
The 'de facto' content solution for Joomla! professionals!
You are hereBlog K2 v2.5.7 released - introduces JSON & JSONP content output

K2 v2.5.7 released - introduces JSON & JSONP content output

09 May 2012, 18:49 by Fotis Evangelou
Start your update engines! K2 v2.5.7 is now available to download.

If you're in Joomla! version 1.7 to version 2.5, you can update from 2.5.5 or 2.5.6 to this latest build directly via the built-in Joomla! updater. If you're on Joomla! 1.5 or if you use a version prior to K2 v2.5.5, just grab the zip file and upload on top.

There are no template changes since 2.5.4 so you can safely upgrade with no need to check you MVC overrides on your template.

This is a maintenance release. Compared to v2.5.6, we fixed warnings/bugs/annoyances/gremlins mainly appearing in Joomla! 2.5.
Most notable changes are:
  • We are introducing JSON & JSONP content output. This is phase 1 towards a true REST capable K2 release coming in version 3. We want you to be able to turn your Joomla! & K2 website into a source of content ready to be consumed or updated by third-party applications, e.g. a mobile application that reads and posts content to your K2 powered Joomla! website. Or simple stuff like AJAX calls are now a piece of cake for developers. To quickly set you up, just append 'format=json&limit=X&page=Y' to any K2 generated URL, replacing X with the number of items you want to fetch (with a forced limit of 100) and Y as the page number (if you wish to break your results in pages). At its simplest form, just append 'format=json' to get the default K2 output in JSON. The additional GET parameters mentioned above only work in categories, user pages, tags etc. If you append 'format=json' to an item URL you will get all the item's contents in JSON format. Additionally, you can pass a callback function to the above URLs in case you want to wrap the output in a function. The format is 'format=json&callback=Z', replacing Z with your callback function name.
  • We have fixed a nasty bug where Flickr galleries set via Simple Image Gallery Pro where not displaying the frontend of your site, but had no problem rendering in the backend! I know, some of you almost got insane with this stupid bug. All sorted now of course.
  • We now allow 'content' plugins in Joomla! 2.5 to be properly rendered in the category description. Previously this was only possible in Joomla! 1.5. So now you can -for example- execute the 'loadposition' plugin in your category descriptions.
  • When deleting an item that contains audio files, these audio files are now properly deleted.
  • Fixed a bug in category inheritance. Now when a category is set to inherit the parameters from another category, it will NOT also inherit the metadata from this other gallery but maintain its own unique metadata.
  • Fixed issue regarding the email button on item view (only affecting Joomla! 1.5 websites).
For any other geek, see the detailed changelog on the SVN server here: http://code.google.com/p/getk2/source/list

Tags:

  • release ,
  • json ,
  • jsonp ,
  • rest ,
  • api
Tweet
Author
Fotis Evangelou

Fotis Evangelou

getk2.org

JoomlaWorks is developing and supporting some of the most respected and popular extensions in the Joomla! community, including the groundbreaking K2, AllVideos, Simple Image Gallery and Frontpage Slideshow.

Since 2006 we have developed more than 26 extensions for the Joomla! CMS, all of which have been used in hundreds of thousands of Joomla! sites across the world.

Mid 2011, our extensions had been downloaded more that 4.5 million times, out of which AllVideos and Simple Image Gallery had more than 1.5 million downloads each and K2 more than 500,000!

Innovation and the open source philosophy are the two things that motivate us!

Social Profiles

Facebook Twitter Google Plus YouTube Vimeo Flickr
Comments

Blog Tag Cloud

announcement bugs fixed community eyal fan google israel joomi joomla joomla 30 joomla extensions jquery k2 K2 team news normalization performance improvements poster release ronel search engine friendly sef site site updates spam tel aviv top 10 list urls user yalionline
Advertisement
  • Contact us
  • Join the K2 Expert Companies list
  • Privacy Policy
back to top
Copyright © 2006 - 2013 JoomlaWorks Ltd.. All rights reserved. K2 is a joint project by JoomlaWorks Ltd. & Nuevvo Webware Ltd., released under the GNU/GPL v2 license.
Joomla! is a registered trademark of Open Source Matters, Inc. JoomlaWorks/Nuevvo are not affiliated with or endorsed by Open Source Matters or the Joomla! Project.
designed by Nuevvo