Joomla

Joomla cachehandler Form Field Type

It provides a list of available cache handling options.

Continue Reading

Joomla checkboxes Form Field Type

The checkboxes form field type provides a set of checkboxes. Unlike most standard form field types, such as textfield or checkbox, this field is little different. It will create checkboxes, and submit their values in form of an array, but it will not store them in the database.

Continue Reading

Joomla chromestyle Form Field Type

It provides a drop down list of style options with the current option selected.

Continue Reading

Joomla color Form Field Type

It provides a color picker. Enter the color as #ff00ff or pick it from the palet.

Continue Reading

Joomla contentlanguage Form Field Type

It provides a list of content languages.

Continue Reading

Joomla repeatable Form Field Type

It provides a modal with rows of form fields that you specify. As many options can be added as the user desires. This form field has a jQuery based javascript file as a dependency.

Continue Reading

Joomla file Form Field Type

It provides an input field for files. When using the file input type, you should always add the attribute enctype="multipart/form-data" to your form tag. Otherwise, the uploaded files will not be attached correctly.

Continue Reading

Joomla folderlist Form Field Type

The folderlist form field type provides a drop down list of folders from a specified directory. If the field has a saved value this is selected when the page is first loaded. If not, the default value (if any) is selected.

Continue Reading

Joomla groupedlist Form Field Type

The groupedlist form field type provides a drop down list or a list box of custom-defined entries which has the ability to show grouped data. If the field has a saved value this is selected when the page is first loaded. If not, the default value (if any) is selected.

Continue Reading

Joomla headertag Form Field Type

It provides a drop down list of h1 to h6 as options.

Continue Reading

Joomla hidden Form Field Type

The hidden form field type provides a hidden field for saving a field whose value cannot be altered directly by a user in the Administrator. It can be altered in code or by editing the xml file.

Continue Reading

Joomla integer Form Field Type

The integer form field type provides a select box with a range of integer values. 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 selected.

Continue Reading

Joomla imagelist Form Field Type

The imagelist form field type provides a drop down list of image files in a specified directory. Only files with .png, .gif, .jpg, .bmp, .ico extensions are listed. If the field has a saved value, this is selected when the page is first loaded. If not, the default value (if any) is selected.

Continue Reading

Joomla media Form Field Type

The media form field type provides modal access to the media manager for the choice of an image. Users with appropriate permissions will be able to upload files. If the user is not authorised to view or add media they will see an error page in the modal popup.

Continue Reading

Joomla menu Form Field Type

The menu form field type provides a drop down list of the available menus from Joomla site. If the field has a saved value this is selected when the page is first loaded. If not, the default value (if any) is selected.

Continue Reading

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

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

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