This example component com_example showcase how to integrate basic custom fields support and more advanced stuff like multi-context support (think of this like multiple elements that can have theirs own custom fields and groups of custom fields). Eg: A hotel that wants to manage their customers activities during the 4 seasons of the year.

"context 1" : Spring
  Custom field group: "Spring activities"

  • Custom field: Swimming

"context 2" : Summer

Custom field group: "Summer activities"

  • Custom field: Volley Ball


With multi-context custom fields, each seach is listed in a dropdown list in the custom fields filter and in custom fields group filter in Joomla! backend.

Voici le code source du composant d'exemple com_example

That's it for today. Take care Super Joomlers!