While developing a custom frontend for Authors to manage their own content, we needed to let them delete their own items. The Quick & Dirty way of doing this is by executing some delete queries on zoo related tables. But that's not the right & elegant way to do it.
The right way is to use the Zoo API & do this in 3-4 lines of code against 20-30 lines of the dirty code.
In our last Post in the Zoo series, we looked at deleting records programmatically. Copying zoo item is not as easy as deleting records. You should have all the details including the zoo category of the zoo item which you want to copy. First, you should have all data of a zoo record. We have used the item API which gives zoo item's data & getRelatedCategoryIds which tells the relation of a zoo item to the categories.
Let's get the zoo records data first
Most of us have been in this scenario. We have spent hours tweaking our Joomla site using numerous tools like Google Page Speed, YSlow and made those adjustments to shelve those important milliseconds from page load times. You've added gzip, Joomla caching and also enabled month long caching via the .htaccess file. The site now works fast. Cool!
We've been using Transifex for more than a year now, and quite happy with the way crowdsourcing can help enrich the reach of your extensions. However, updating all the resources for all the extensions was a painful task and something everyone wanted to avoid. The tx-client eases some pain by allowing easy pushes & pulls of source files & translations. However, the tx-client relies on a 'config' file to be updated with all the resource slugs. With so many extensions and also with so many plugin language files getting added regularly, it's a tough task to keep on updating the config file.
JBolo Beta 1 with Group Chat is here! This version brings most awaited group chat feature to current JBolo. This blog will give you a quick overview of what to expect from JBolo 3.0 beta release. There's this & plenty more under the hood including an API based architecture which will allow us to release mobile apps for JBolo in the near future.
Everyone using Jomsocial like how they show those nice popup windows when you add friends, send a message or join a group.
In a project where you integrate more features or other extensions into Jomsocial, it's important to use the same look and feel for the popups so that there is a consistent look throughout the site. With Jomsocial's plugin architecture it is possible to add your own popups and actions. We're demonstrating here an example, which allows you to group your friends as Friends/Family/Acquaintances etc
Zoo is one of the most versatile CCK extensions available in Joomla. It's flexible & at the same time easy to use for end users. In spite of these positive points, there are times when you have to dive into development & Zoo APIs to develop your own custom views.
In this particular case, we wanted to develop a List/Grid view with Zoo ( of a particular Content Type) which showed all Zoo attributes in a table view for easier data viewing on the frontend for content managers. In this blog, we will tell you just how to go about doing that