Joomla

Joomla menuitem Form Field Type

The menuitem form field type provides a drop down grouped list of the available menu items from Joomla site.

Continue Reading

Joomla meter Form Field Type

It draws a progress bar based on Bootstrap. This form field is not an input type. It just creates a progress bar. It was introduced from Joomla 3.2 version.

Continue Reading

Joomla number Form Field Type

The number form field type provides a HTML5 text box with arrows. If the field has a value saved, this value is displayed when the page is first loaded. If not, the default value (if any) is used. This field is available from Joomla 3.2.

Continue Reading

Joomla range Form Field Type

The range form field type provides a horizontal slider for numeric input. While the default value can be set, there is no indication of the actual value being chosen, just the position of the slider’s thumb. It is available from Joomla 3.2 version.

Continue Reading

Joomla spacer Form Field Type

The spacer form field type provides a visual separator between parameter field elements. It is purely a visual aid and no field value is stored.

Continue Reading

Joomla tag Form Field Type

The tag field type provides a field where you can enter tags, either AJAX or nested.

Continue Reading

How to Get Form in Front End

A form to the site front end allows users to submit information that can be saved to the database or sent to emails. For example, front-end forms in Joomla are used to create article (com_content), contact form (com_contact), user registration form (com_users).

Continue Reading

Sending Email From Joomla Platform Using JMailer

Sending an email from any Joomla extension is straight forward process. You can put this code into your component's controller file or module's helper file.

Continue Reading

Joomla captcha Form Field Type

The captcha form field type provides the use of a captcha plugin.

Continue Reading

Access Control List (ACL) in Joomla

The Joomla ACL system is divided into two completely separate systems. The ACL for each is set up differently.

Continue Reading

How To Create Custom Form Field Type in Joomla

With the help of class JForm, you can easily create HTML forms in Joomla. Forms created using JForm consist of form fields, implemented as JFormFields. There is a JFormField for each different field type you can find in a form, such as a text field type and a date field type. There are many standard field types.

Continue Reading

How to Display Messages and Notices in Joomla

Errors, warnings and notices can be displayed from any component, module, plugin or template. The messages use the standard bootstrap CSS styles for alerts.

Continue Reading

How To Get Form in Joomla Component

The JForm class of Joomla can also be used to create complex forms with flexible layouts and dynamic properties.

Continue Reading

Adding Back-end Actions: Delete

The task for the 'Delete' action is: helloworlds.delete

Continue Reading

Adding Back-end Actions: New and Edit

Add and Edit actions both redirect to same form. Edit can come from either the Edit button or by clicking the title. If the id is 0, it indicates Add action. If the id is greater than 0, it indicates Edit action.

Continue Reading

How To Get and Sanitize Form Data In Joomla

Forms are extensively used in Joomla, both in administration and front-end. You can get data after form submission using JInput. It also provides various ways to filter and sanitise your input data.

Continue Reading

How to Handle Files in Joomla

The base for file handling is the JFile class.

Continue Reading

Add a Menu Type to Joomla Site Part

After the component is installed, you can create a menu Item to access it. This allows to access the component through a menu rather than having to remember what to type into the address bar. Each view and layout can have its own menu item.

Continue Reading

Add a Variable Request in Joomla Menu Type

You can add parameters to menu types. This is done in the default.xml file in tmpl folder.

Continue Reading

How to Access Joomla Menu Parameters for Component

When you create a menu for any view of component, there are many options in the menu you can configure. These values can easily be accessed in Joomla code.

Continue Reading

Adding Custom Back-end Actions

The task for the custom action is defined as compound tasks. For example, helloworlds.custom

Continue Reading

How To Add Configuration Options in Joomla Component

The Joomla framework allows the use of parameters stored in each component. The fields for the configuration options are stored in the XML file located at admin/config.xml.

Continue Reading

Different Types of Models in Joomla

There are multiple types of model that can be used in a component. You can find the code for all the models at libraries/legacy/model folder of Joomla installation.

Continue Reading

Working with Images in Joomla Component

In the back-end, administrators can select an image to be associated with each item. You can also display details of the image on the administrator's list of items. In the front-end, display the image associated with the item and also allow a user to upload an image when creating a new item.

Continue Reading

Add Alias Field to Joomla Component

An alias field is required for the SEF (Search Engine Friendly) URLs for accessing items on the website. SEF URLs are URLs which make sense to both humans and search engines.

Continue Reading

How To Create Router For Joomla Component

Joomla! has capability of creating and parsing URLs as SEF (Search Engine Friendly) URLs. The SEF URLs follow a certain fixed pattern. User can define a short descriptive text (known as alias) for each segment of the URL.

Continue Reading

Adding a Modal to Joomla Component

Modals are the pop-up-like windows which appear in several places within Joomla. For example, when as an administrator you create a new menu item, and select a Menu Item Type of Single Article, then when you click to select the article, a pop-up appears displaying the details of the articles available and allowing you to select one.

Continue Reading

Joomla JHtml::_ Class Loader Method

JHtml is utility class for all HTML drawing classes. The _ method of JHtml is a static function that grants quick access to a number of other static methods. The return value of this function depends on the return value of the method resolved by parsing the first parameter.

Continue Reading

Adding Ordering of Items in Back-end

Joomla allow the administrator to define ordering of items by clicking on the ordering symbol (a little up arrowhead above a down arrowhead) at the top left of the items table, and then clicking on one of the three vertical dots symbols and sliding the record up or down to reorder.

Continue Reading

How to Setup Title for Front-End Views

In the view file (view.html.php), the browser title is set in the protected function _prepareDocument() as:

Continue Reading

How to Create Joomla Template

To make a basic template, create a new folder in the templates folder. Name this folder after your template i.e. mynewtemplate.

Continue Reading

How to Add ACL in Joomla Component

With Joomla!'s Access Control, you can define which user groups are allowed or denied to do which actions in your component. In the database, these are stored in _assets table. You can also read the basics of Access Control Levels in Joomla.

Continue Reading

How to Create Joomla Content Plugin

Content events are triggered during the content creation process. The majority of these events are called in many views, many components and modules. They are generally not specific for the com_content component.

Continue Reading

Joomla! 3.9 - GDPR Release

Joomla Versions

The General Data Protection Regulation (GDPR) enters into force on 25 May, 2018. Joomla integrates a Privacy Tool Suite in the Joomla CMS to facilitate the compliance of the sites.

Continue Reading

How to Get URI in Joomla

The JUri Class can be used to get information about the Joomla URI.

Continue Reading

How To Create Joomla Component

Component is a type of Joomla extension (like Modules and Plugins). Unlike modules and plugins, components have two main parts - site and administrator. The site part is visible to visitors (front-end access). The administrator part is interface for managing extension from the back-end.

Continue Reading

Add Backend Toolbar and Actions in Joomla

In Joomla, the administrator interacts with components through a toolbar. Toolbar is a collection of action buttons. It also creates a title for the component.

Continue Reading

How to Create Joomla Custom Fields Override

The real power of custom fields is that you can use it in your own overrides. You can use the data or information stored in the custom fields the way you want. You have all the custom fields corresponding to the current item accessible through a property in $this->item variable called jcfields.

Continue Reading

Joomla Output Overrides

You can take over control of virtually all the output that is generated by Joomla. Except for files that are provided in the Joomla! distribution itself, overrides or customization eliminate the need to hack core files that could change when the site is updated to a new version.

Continue Reading

How to Remove Powered By Kunena 5.x Footer

If you use Kunena forum extension for Joomla, there is a simple way to remove the footer back link. The following method works for Kunena 5.x and later versions. Follow the steps if it is necessary for you to remove Powered By Kunena Forum Footer Link. This works as of Kunena version 5.0.14.

Continue Reading

Technical Requirements of Joomla 4

Joomla 4 has higher technical requirements when compared to previous versions.

Continue Reading

Database Tables After Fresh Joomla Installation

There are 72 tables in the database after you install new Joomla at your server.

Continue Reading

Files After Fresh Joomla Installation

After you extract Joomla package, you get 17 folders and 7 files in the root directory.

Continue Reading

How to Link Joomla Categories Component

You can link Joomla Categories functionality in your custom component where you can define a set of categories to use. This way, you don't need separate categories table for your component.

Continue Reading

Joomla! 3.8 - New Routing System & Other Features

Joomla Versions

Joomla! 3.8 is the ninth standard-term support release in the Joomla 3 series. It was released on 19 September, 2017. This release features over 300 improvements to the CMS, with two primary major features aimed at developers: the new routing system and the beginning of a forward compatibility layer with Joomla! 4.0. Additionally, two security issues have been resolved.

Continue Reading

How Joomla Plugins Work

A plugin is simply a PHP program that executes at one or more predefined points in the Joomla execution cycle. These points are called events and are triggered from within Joomla. Plugins are tied to events.

Continue Reading

Joomla! 3.1 - New Tags Extension & Other New Features

Joomla Versions

Joomla 3.1 the second minor release in the Joomla 3.x series.

Continue Reading

Joomla! 3.2 - List of New Features

Joomla Versions

Joomla 3.2 version is released with many new features.

Continue Reading

Joomla! 3.3 - Enhanced Security & Microdata Implementation

Joomla Versions

The Joomla 3.3 release introduces new features into the CMS such as improved password hashing and microdata and optimizes the code with performance improvements to the routing system and the continued conversion of MooTools based JavaScript to jQuery. More than 115 bugs have also been resolved with the 3.3 release of the Joomla! CMS.

Continue Reading

Joomla! 3.4 - New Features & Moving Towards Lighter Core

Joomla Versions

The Joomla! 3.4 release introduces new features into the CMS such as improved front end module editing, decoupling of web links, composer integration, Google new reCaptcha and security improvements by implementing UploadShield code which can detect most malicious uploads by examining their filenames and file contents.

Continue Reading

Joomla! 3.5 - Support for PHP 7 and Other Highlights

Joomla Versions

Joomla 3.5 introduces 34 new features, including support for the PHP 7 scripting language, which significantly increases web site speed. This version of Joomla! supports the most recent release of PHP, the most popular programming language for developing web applications. PHP 7 was recently announced with significant performance improvements and is now available for use by the general public. With Joomla! 3.5 users can now enjoy the benefit of that performance improvement.

Continue Reading

Joomla! 3.6 - UX improvements & New Features

Joomla Versions

Joomla! 3.6 is the seventh standard-term support release in the Joomla 3 series. Joomla! 3.6 introduces more than 400 improvements, including many features which make administration of Joomla! Web sites easier and more feature-rich, as well as many UX (user experience) improvements.

Continue Reading

How to Create Plugin for Joomla 3.x

Plugins are powerful way of extending the functionality of the Joomla. Plugins provide functions which are associated with trigger events. Joomla has a set of core plugin events. Plugin code is executed when certain events are triggered.

Continue Reading

How Joomla Code Works

When you type a URL that points to an article in the front page of Joomla site,  the first thing that happens depends on the web server (Apache or IIS), not Joomla. The web server first tries to find a file or folder. Failing that, it tries to find a file called index.php. Since this file exists, it is executed.

Continue Reading

Joomla: defined('_JEXEC') or die;

The following line is found at the start of Joomla PHP files.

Continue Reading

Creating and Managing Joomla Database Tables

In Joomla, components usually manage content using the database. During the install, update or uninstall phase of a component, you can execute SQL queries through the use of SQL text files.

Continue Reading

Joomla Manifest Files for Extensions

All Joomla extensions have manifest files (manifest.xml or <extension_name>.xml). This file is located in the root directory of the installation package. It include general installation information and parameters for the extension.

Continue Reading

How to Validate Forms in Joomla

Forms in Joomla can be validated in two ways: (i) Client-side and (ii) Server-side.

Continue Reading

Joomla! 3.0 - New Features and Many Improvements

Joomla Versions

Joomla 3.0 was released on 27 September, 2012. This is the next major release of the Joomla CMS.

Continue Reading

Joomla! 2.5 - New Features and Quick Updates

Joomla Versions

Version 2.5 is the second release made within the new six-month release cycle that started with the delivery of Joomla 1.6 in January 2011.

Continue Reading