Joomla! is a free and open-source content management system (CMS) for publishing web content. It is built on a model-view-controller (MVC) web application framework that can be used independently of the CMS that allows you to build powerful online applications.
Frontend List of Items
The concept of displaying the list of items at the frontend is very similar to displaying the list of items at the backend. The View file gets the items from the Model and then the Layout file displays the list of items. You can display in tabular layout or blog layout or any other layout.
How to Add Sorting & Ordering of Columns in Joomla Component
The state variables list.ordering and list.direction are used to store the ordering column and ordering direction (ascending or descending). The filter form is used for the ordering and sorting field. In the model, you have to allowable columns in the $config array.
How Joomla MVC Component Works
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 (frontend access). The administrator part is interface for managing extension from the backend.
How to Access Joomla Menu Parameters for Component
When you create a menu item for any view of the component, there are many options in the menu you can configure. These values can be accessed in Joomla! code.
How to Add Configuration Options in Joomla Component
The Joomla 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.
Joomla calendar Form Field Type
The calendar form field type provides a text box for entry of a date. An icon next to the text box provides a link to a pop-up calendar, which can also be used to enter the date value. If the field has a saved value this is shown in the text box. Otherwise the default value, if any, is displayed.
Joomla HTMLHelper::_ Class Loader Method
The HTMLHelper is utility class for all HTML drawing classes. The _() method of HTMLHelper 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.
Accessing Global Configuration Information in Joomla
Like user information, accessing global configuration of Joomla (like site name, from name) is a very simple process. You can use getConfig() method of Factory class in any part of the Joomla extension or template.
Page 1 of 4