Skip to content

Joomla 3.7+ Use Case to explain how to add Custom Fields support in our owns components

Notifications You must be signed in to change notification settings

garstud/IntegrationCF

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

IntegrationCF

Joomla 3.7+ Use Case to explain how to add Custom Fields support in our owns components

We assume your component is well-developped with MVC and normal Joomla features (Model XML form mapping and loader, Table store, admin standard layout ...)

1st point : add Fields sub-menus

helper : 2 submenus ... (TODO)

Now the administration of you component supports Custom Fields !

2nd point : load Fields in you Backend edition

/models/forms/record.xml : add params fields with Fields fieldset (TODO)

/views/record/tmpl/edit.php : JLayoutHelper::render ... params ? (TODO)

/views/record/tmpl/edit_params.php (TODO)

3rd point : save Backend Fields input

/tables : store : params (TODO)

4th point : Frontend Fields rendering and display

... (TODO)

Last point : Global Parameters for Integration

Optionnal. Like the Joomla Core components you can provide a paraméter to activate or deactivate the Ciustom Fields support

... config.xml : fieldset integration + field custom_fields_enable (TODO)

... helper ... if ... 2 sub-menus (TODO)

Conclusion : what scripts to modify ?

(TODO)

About

Joomla 3.7+ Use Case to explain how to add Custom Fields support in our owns components

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages