Elements are of utmost importance in Joomla development. Elements allows you to create custom parameter type that you can use in your metadata files. Metadata files are xml files that are used to provide configuration parameters to your component, module, plugin or even views. Metadata files for your views are used configure menu links that that will use that view.
In this short tutorial, I will tell about creating elements and using it differently on different places. Elements are special files that generally adds value to parameters. For this tutorial, I will create a color element that can be used in different components, modules, plugins where color selection is done through a color picker. I will use moorainbow as web color picker.
Also note, I am creating this element for my adsensebingo module. Hence this code has been tested and used.



Sanjeev is an avid Joomla lover and has been tweaking joomla since its inception. He is involved as CTO at