My Content & Workflow version 3.13.0 can be integrated with plugin content in order to add custom field automatically. This will help providing more flexibility when working with articles and at the same time comply with Joomla! standard. There shall be no consequences affected to database or core file.
In order to display “add custom field”, users must install plugin content. Plugin content will help display the field that users want. Plugin must be created based on what users want. In this article, we will advise roughly on how to create plugin to be used on your website.
Taking this food rating article as an example, we have modified official document from Joomla! to plugin. The codes for Plugin are written in order to be able to use on Joomla! 2.5 only. Hence, we have adjusted and add more capability for the possibility of using it with My Content & Workflow system on Joomla! 3.0 and can work from the frontend of Joomla!.
Users can read the original of this article from this link: http://docs.joomla.org/Adding_custom_fields_to_the_article_component
Accessing the additional fields through the frontend
Articles Manager (Backend only) of Joomla! is also supported this kind of plugin.
Data will be recorded in field attributes of table #__content
Users who wish to design their own “field” on their website, they can modify the XML files (file forms/rating.xml). Once users open the file, they will find a custom field structure which will appear on articles editing page. For more information about Standard form field types of Joomla!: http://docs.joomla.org/Standard_form_field_types
All display results will work with “event onContentPrepareForm()”, “Component Articles (com_content)” of Joomla! and My Content & Workflow (com_mycontent) under this condition (on rating.php file):
To keep files of an extra field, users will be able to use My Content & Workflow with Workflow without any additional settings for both revision and comparison information. All files can be displayed together with other information. However, it is able to change the display result (layout override) based on this manual: http://docs.joomla.org/Adding_custom_fields_to_core_components_using_a_plugin