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.

Some useful custom validators for Client-side form validation in Joomla!

Some useful custom validators for Client-side form validation in Joomla!
Note: This blog is targeted for Joomla! DevelopersDoing validation on client side, before form is submitted to server is always recommended. If you have developed a Joomla! extension you might have used some of the validators that Joomla! provides, which are listed below. Joomla! provides these basic form validators which you can use in your Joomla...
Continue reading
4
  11101 Hits
  0 Comments
11101 Hits
0 Comments

How to access Module parameters anywhere inside Joomla code?

How to access Module parameters anywhere inside Joomla code?
In Joomla, Module configurations are stored as Module parameters. Typically you only need to use parameters in the module itself. However, sometimes you might need to access them from other places like your component or a plugin. And this can get especially tricky when you have multiple copies of the module. A live case example for this is Soc...
Continue reading
1
  7490 Hits
  0 Comments
7490 Hits
0 Comments

How to provide live updates for extensions in Joomla?

How to provide live updates for extensions in Joomla?

As a Joomla extension provider, we are always rolling out updates for our extensions. Whether they are minor bug fixes or major feature releases, its always recommended that customers stay up-to-date so that they get the best of features, bug fixes as well as security fixes.

Normally the only way to notify them would be via Blogs and Newsletters. However this needs the customer to do the process of updation manually. 

With Joomla however, there is a much easier and smarter way of doing this using the Updates system. This is already baked into the core of Joomla and can be used by any Joomla extension. There is a core way to achieve both notifications and automatic updates which you can read about here. It works pretty well for free extensions but needs you to manually maintain the updates manifest. We have updated the blog with some inputs from weebler to also demonstrate how you can do this with core Joomla. 

The Akeeba Release System from the awesome Akeeba team however can give this system a major shot in the arm by completely automating Manifest generation and maintenance and also support updates for commercial extensions

Here’s a quick tutorial on how you can use ARS to automate extension update notifications and live updates in your extensions.

In fact since Joomla 3x has become the standard, your end users might be completely missing your updates if you are not using the Joomla 3x notification system and rely on your own ‘In extension notifications’ Read more about this in our earlier blog.

Note: This Blog is purely targeted to developers!

Continue reading
8
  9019 Hits
  0 Comments
9019 Hits
0 Comments

How to access Joomla menu parameters anywhere inside Joomla code?

How to access Joomla menu parameters anywhere inside Joomla code?
 Screenshot shows menu item parameters for Joomla - Content - Featured Articles Menu Here are two code snippets inside Joomla that lets you access menu parameters anywhere inside Joomla! 1. To access Current Menu parameters$app = JFactory::getApplication();// Get active menu$currentMenuItem = $app->getMenu()->getActive();/...
Continue reading
4
  9752 Hits
  0 Comments
9752 Hits
0 Comments

Passing filter values via the url to Joomla Admin List Views

Passing filter values via the url to Joomla Admin List Views
We have already seen how you can introduce filters to list views in the Joomla admin & collate them under the Search tools menu previously in our Blog  last year. The Search tools filters are extremely useful to admins especially if your extension manages a lot of data. As a usability feature, Joomla retains the st...
Continue reading
1
  5519 Hits
  0 Comments
5519 Hits
0 Comments

Joomla Extension Devs ! Not using Joomla Update can cost you and your users !

Joomla Extension Devs ! Not using Joomla Update can cost you and your users !
 Not using the native Joomla Update mechanism could be a Major security issue as newer Joomla users are seen to be relying more and more on the active method to keep track of updates. Not having the latest version of extensions can be a major security issue as users might keep using old insecure versions without knowing that a new update has b...
Continue reading
2
  8715 Hits
  0 Comments
Tags:
8715 Hits
0 Comments

How to access Joomla plugin parameters anywhere inside Joomla code?

How to access Joomla plugin parameters anywhere inside Joomla code?
When developing a new Joomla extension or making changes to existing extension, you might need to access plugin parameters of a Joomla plugin outside the plugin code. There can be cases where you want to access plugin parameters in some Joomla module or component. Now the question is - How to get plugin parameters outside the plugin code?Here is a ...
Continue reading
8
  10064 Hits
  0 Comments
10064 Hits
0 Comments

Our experiments with quality

Our experiments with quality

Last year was quite fruitful for us in terms of setting up several systems and processes to make sure our releases are more sharp and our code is much better. After several great suggestions and some oops! moments, we decided to pull up our socks and kicked off the slow but disciplined process of code review and infusing good quality into our products and projects. These are experiments and we are of course measuring what works best and will continue to tweak our quality process to further strengthen it

We've taken some great steps and implemented several automated checks which will reject bad code. We also thought of sharing them with everyone so everyone can benefit. Here's a list of things that are already implemented or are in the process of being implemented

Continue reading
6
  3269 Hits
  0 Comments
3269 Hits
0 Comments

Extend your Zoo's functionality using some awesome applications!

Extend your Zoo's functionality using some awesome applications!
Joomla - CMSAS we already know Joomla is one of the most widely used content management system. We can easily manage the content of the site using Joomla's Article manager, ACL etc features.Content management extensionsThird party extensions makes Joomla even more powerful. There are many widely used extensions like K2, Zoo, etc. These makes the co...
Continue reading
5
  4150 Hits
  0 Comments
4150 Hits
0 Comments

Adding a parameter to Joomla component's menu item is as easy as pie!

Adding a parameter to Joomla component's menu item is as easy as pie!
Hey Guys, In this blog we are going to see how to add a parameter to a Joomla component's menu item. This parameter can be used while referring view level in Joomla 2.5.x or 3.x.Following are the steps to achieve this.Step 1:You have to specify parameter / option in your_layout.xml file in your component.Lets say, you have to add “pageLimit” parame...
Continue reading
9
  22982 Hits
  0 Comments
22982 Hits
0 Comments

Adding validation in Joomla for post_max_size and memory_limit

Adding validation in Joomla for post_max_size and memory_limit
Hey Guys,In this blog we will see how to handle validation for ‘post_max_size’ and 'memory_limit' in Joomla for file uploads. Sometimes when dealing with file uploads in Joomla or in any PHP frameworks, form post size can exceed the max allowed ‘post_max_size’ (set in php.ini in your server configuration). If the size of post data exceeds post_max_...
Continue reading
4
  6907 Hits
  0 Comments
6907 Hits
0 Comments

Jomsocial gets DISQUS'ed

Jomsocial gets DISQUS'ed
In a recent project we had to implement a uniform commenting system across the site, Jomsocial included. Now obviously, Jomsocial comes with it’s own commenting system, and to make matters worse, there were already thousands of comments already present that needed to be migrated to the new platform.We suggested the use of Disqus, which is a cloud b...
Continue reading
5
  6859 Hits
  0 Comments
6859 Hits
0 Comments

3 ways to do RESTful APIs in Joomla

3 ways to do RESTful APIs in Joomla
There has been a growing trend to start offering RESTful services for any web product, and Joomla is no exception. With Joomla, however, there is no "preferred" way of writing RESTful services so everyone (that includes us) is trying to build their own component and plugin to enable RESTful services in Joomla. We did the very first REST implementat...
Continue reading
20
  33329 Hits
  0 Comments
33329 Hits
0 Comments

Make the Joomla Modal Popup Responsive

Make the Joomla Modal Popup Responsive
Today, its critical that your site is mobile friendly. More and more people are accessing the web via their mobile devices. The Joomla native Joomla modal popup is not responsive by default. Here’s how you can make it responsive. The Code to make it happen !1. Import following library at the start of the page. Please make sure you embed this c...
Continue reading
4
  26688 Hits
  0 Comments
26688 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 JomsocialJomsocial!  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 Jomso...
Continue reading
1
  10257 Hits
  0 Comments
10257 Hits
0 Comments