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.

Packaging system for Joomla extensions

packagingsystemforjoomlaextensions

Joomla extension package is a combination of core, sub-extension, libraries, layouts, core folder, etc.

Many of Techjoomla’s extensions are shipped with other Techjoomla extensions and infrastructure extensions. For eg:-JTicketing is shipped with JLike along with TJ Vendor, TJ Notifications and TJ Reports. Let's assume that each extension code is maintained in separate GitHub repositories.

Continue reading
0
  1729 Hits
  0 Comments
1729 Hits
0 Comments

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.

Continue reading
0
  2607 Hits
  0 Comments
2607 Hits
0 Comments

Using Cookies and CSRF tokens effectively

Using-Cookies-and-CSRF-tokens-effectively

What is CSRF?

CSRF (Cross-Site Request Forgery) is a type of attack which tricks the victim to do a task on the victim authenticated web-application on behalf of the interests of the attacker. An application vulnerable to CSRF enables attackers to perform any actions on the victim’s behalf without his/her knowledge.  

Continue reading
0
  1969 Hits
  0 Comments
1969 Hits
0 Comments

Joomla! Development - Common Mistakes To Avoid

Joomla-Development---Common-Mistakes-To-Avoid

In this series of blogs, we will talk about common mistakes to avoid while building extensions for Joomla!.

In this particular blog, we will talk about these four common mistakes:

  • Not using language constants and instead of hard coding language strings
  • Not using JInput and instead directly accessing $_POST or $_GET
  • Not using the Joomla Database layer and writing plain database queries instead
  • Wrong usage of loadObjectList / loadAssocList() (Using loadObjectList() when just 1 row is needed)
Continue reading
0
  2649 Hits
  0 Comments
2649 Hits
0 Comments

TJ UCM - Yet another Joomla Universal Content Manager

Universal-Content-Manager-is-here

Joomla has tried to create a content manager / CCK for several years now. Though the project has been inactive, there are a few database tables that Joomla still uses, mainly for storing content history. Although the original UCM in its spirit isn’t part of Joomla, similar functionality has been introduced by article fields. 

Continue reading
0
  1484 Hits
  0 Comments
1484 Hits
0 Comments

The right way to build a Joomla site - Part I

Foodies-Vocabular_20190903-130925_1

I recently happened to have a client approach us to build a mobile app. What should have been a fairly quick job turned out into a mid sized development project. The reason ? They had created almost half a dozen custom components where articles could have served the purpose.

Continue reading
1
  4561 Hits
  0 Comments
4561 Hits
0 Comments

Joomla: Using JLayout 'Search Tools' on Joomla 3.x at admin backend for list views

Using-JLayout-Search-Tools-on-Joomla-3.x-at-admin-backend-for-list-views

Are you building admin list-view in your Joomla Extension? Do you want to include Search Tools in your Joomla 3.x extension? Here is a quick guide to doing so in easy steps.

First, we will check the folder structure needed, and then we will see sample code.

Continue reading
6
  63763 Hits
  0 Comments
63763 Hits
0 Comments

TJ Queue - A message queue for Joomla

TJ-Queue-is-here

As we go on in our pursuit to use Joomla in never-seen-before use cases a few interesting problems came forth.

  • A web-hooks implementation: Similar to how plugins can declare triggers they want to listen to, webhooks allow external applications to register URLs that can receive a JSON payload when an action happens in an application. Since there could be multiple webhooks, each webhook call is queued as a message and happens asynchronously.
  • In Shika: Recalculating user progress in the background. When a new lesson is added to a course, Shika recalculates each enrolled user’s progress to take into account the newly added lesson. When there are a lot of lessons and a large number of users enrolled in the course, this recalculation cannot happen in real time. In this case, a recalculation job does this in the background once the lesson is saved.
Continue reading
1
  7123 Hits
  0 Comments
7123 Hits
0 Comments

TJ Notifications is here!

TJ-Notifications-is-here-1

Over the years we have received numerous requests to create a 'real manager’ or a way to edit system email notifications. We decided to go one step further. Enter TJ Notifications, our next 'horizontal’ or 'infrastructure’ extension.

This extension will eventually allow all our products and any other products who integrate it to centrally manage all notifications in your Joomla site. While we will start with emails, eventually we shall be adding support for SMS/Text notifications, Web Push (browser notifications) as well as native site notifications.

Continue reading
1
  7498 Hits
  0 Comments
7498 Hits
0 Comments

Some JavaScript code snippets in Joomla worth keeping in your stash

Some-Joomla-Javascript-Code-Snippets-Worth-Keeping-in-your-Stash

In this blog, I will be explaining some JavaScript snippets which are very useful while developing extensions in Joomla. Let’s start one by one.

Continue reading
1
  6340 Hits
  0 Comments
6340 Hits
0 Comments

Catching JomSocial Ajax Calls for modifying flows

Catching-JomSocial-Ajax-Calls-for-modifying-flows

When you are custom developing on top of JomSocial, you sometimes need to Catch Ajax calls for modifications. This Quick tutorial will take you through how you can do this.

Continue reading
0
  5682 Hits
  0 Comments
5682 Hits
0 Comments

Using Joomla logging to easily debug MySQL issues

Using-Joomla-logging-to-easily-debug-MySQL-issues
Sometimes, you might have operations like crons running PHP scripts behind the scenes. If there are any errors in it, it can become difficult to debug them since they might not affect the entire website. Whether you are doing this with any PHP framework or in a Joomla component, logging can help you debug such issues.Here is how you can use Joomla'...
Continue reading
1
  13089 Hits
  0 Comments
13089 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 socialnetworking 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 Jo...
Continue reading
1
  10602 Hits
  0 Comments
10602 Hits
0 Comments

Developing a Payment Plugin For HikaShop

Developing-a-Payment-Plugin-For-HikaShop

Recently, we had a chance to develop a Payment gateway plugin for HikaShop. We thought this would be a good chance to share a small overview with everyone!

Let's Get started. 

Continue reading
4
  17821 Hits
  0 Comments
17821 Hits
0 Comments

Joomla 3.0 conversion changes needed when converting a common installable package for “Joomla 1.5.x & 2.5.x” to “Joomla 3.0"

Joomla-3.0-conversion-changes
This is the first of our Blogs in the Joomla 3.0 Discovery series. Joomla 3.0 is an awesome release & we are discovering new stuff with it as we use it every day. We hope to share our new found knowledge with the community through this series. The series will cover topics for end users, administrators as well as developers.  Converting Joomla E...
Continue reading
19
  178908 Hits
  0 Comments
178908 Hits
0 Comments