Get any property of the active menu item class in Joomla! 3

When a menu item is clicked, Joomla! 3 loads a lot of information for the programmers in a standard class object variable about the current menu item. Programmers can query the class object by key to find its corresponding value, like, id, menutype, title, alias, note, route, link, type, language, component_id, component, query, _errors, etc. from it.

Continue Reading ...


Different sample data set of Joomla 3 default installation: None, Blog, Brochure, Default and Learn Joomla type

Joomla! let us install the Content Management System with its default template named, "protostar" and let us choose a sample data set among 5 different options. On the step 3, "Finalization" step of Joomla! installation process, users are asked to choose a sample data from the following options:

  • None (Required for basic native multilingual site created)
  • Blog English (GB)
  • Brochure English (GB)
  • Defualt English (GB), and
  • Learn Joomla English (GB)

Continue Reading ...


Joomla 3.6 installation stuck at the database creation level

After release of a new Joomla! version, enthusiat Joomla! users install it on their local web server in personal computers, laptops, or even on sub-domain of live server to take a taste of new features of the new release. On Windows 7, 8, and 10 operating system, a large number of developers and users use their popular website development server package, like Xampp, Wamp (Apache web-server based). This article will discuss on a particular problem where Joomla 3.6 fresh installation was stuck on level 2 i.e. database creation level and its solution on Xampp 5.6 or 7. On Joomla! and Apache forum, many developers reported about this problem.

Continue Reading ...


Almost every component in Joomla! ships with a set of parameters (or, params). Using "Options" button, we can easily alter the params values of a component. What if we want to change values of some parameters programmatically, i.e., using Joomla! codes.

Continue Reading ...


Component Parameter, Module Parameter

At the time of Joomla! custom component development, we need to get a component params for use in different places like in component itself, modules, plugins.

Access component params from inside own component

To access component params in component itself, I use JFactory::getApplication() like below:

$app = JFactory::getApplication();
$params = $app->getParams();
$param = $params->get('show_create_date');

Continue Reading ...