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.

The $this->item->jcfields property is an array that holds the all the data of the field. For example,

  • [id]
  • [title
  • [name]
  • [checked_out]
  • [checked_out_time]
  • [note]
  • [state]
  • [access]
  • [created_time]
  • [created_user_id]
  • [ordering]
  • [language]
  • [fieldparams]
    • [buttons]
    • [width]
    • [height]
    • [filter]
  • [params]
    • [hint]
    • [render_class]
    • [class]
    • [showlabel]
    • [disabled]
    • [readonly]
    • [show_on]
    • [display]
  • [type]
  • [default_value]
  • [context]
  • [group_id]
  • [label]
  • [description]
  • [required]
  • [language_title]
  • [language_image]
  • [editor]
  • [access_level]
  • [author_name]
  • [group_title]
  • [group_access]
  • [group_state]
  • [value]
  • [rawvalue]