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.

Joomla Development with Eclipse: Tips, Tricks, and Best Practices

Joomla-Development-with-Eclipse

Every developer uses a set of tools that simplifies their life and without which their development life feels crippled! Over the years, I have developed my own set of tools which I have described in this blog.

The primary OS for my development related tasks is Ubuntu with Eclipse IDE, so the entire blog is targeted for Eclipse.

Continue reading
0
  437 Hits
  0 Comments
437 Hits
0 Comments

Beware of these mistakes while coding in PHP-Part 2

Beware-of-these-mistakes-while-coding-in-PHP

Mistake 2: Forgetting to unset the reference variable after the loop.

In the previous blog of the series we started with the isset function mistake and I have promised to post about the next mistake which is leaving dangling array references after foreach loop.

While working with arrays, we need foreach to iterate over arrays. In some case, we might be just displaying each array element while iterations but in some case, we might need to manipulate or operate on each element. When there is a case, where we need to operate on each element, using references in foreach loops can be useful. See below code snippet.

Continue reading
0
  1414 Hits
  0 Comments
1414 Hits
0 Comments

Avoid sending Emails while using JomSocial Notifications

Avoid-sending-Emails-while-using-Jomsocial-Notifications
This Blog is specially targeted for developers and people who use Jomsocial Jomsocial!   Which turns Joomla CMS into a full-fledged social networking website. While using your own component with Jomsocial you need to make sure that your component is tightly integrated with it and most important is you are notified of the activities happening.   In ...
Continue reading
1
  10166 Hits
  0 Comments
10166 Hits
0 Comments

Programatically delete Zoo items

Programatically-delete-Zoo-items

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.

Continue reading
3
  5728 Hits
  0 Comments
5728 Hits
0 Comments