The Techjoomla Blog

Stay updated with all the latest happenings at Techjoomla. From news about the developments in your favourite extensions to Tips & Tricks about the Joomla CMS, Framework & Development.

How to Copy Zoo Items programmatically

How-to-Copy-Zoo-Items-programmatically

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

Continue reading
3
  7230 Hits
  0 Comments
7230 Hits
0 Comments

Rendering Zoo Records flexibly - Example with Record lists

Rendering-Zoo-Records-flexibly

Rendering a List view of Zoo items using Code

 

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

Continue reading
4
  9098 Hits
  0 Comments
9098 Hits
0 Comments