Joomla! content plugin to create custom fields for articles, modules and menu items.
This is a work in proggress, feel free to use it, collaborate, report issues or request new features. We don't have any release schedule or planification "yet", we will release/update as soon as we require/desire.
Why this plugin and not the default Joomla! custom fields: The target audience for this plugin are developers, this plugin offers more flexibility and lets you add custom fields to menu items, modules and articles.
Create your custom form files at plugins/content/jnfields/custom-forms/
. The form file will be loaded automatically if it meets the following name formats:
- Articles
- load form by form name
- Format:
article-form-name={name}.xml
- Example:
article-form-name=lorem.xml
- Format:
- load form by alias
- Format:
article-alias={alias}.xml
- Example:
article-alias=lorem.xml
- Format:
- load form by category path
- Format:
article-category-path={path}.xml
- Example: 1 level category example:
article-category-path=lorem.xml
- Example: 2 levels category example:
article-category-path=lorem+ipsum.xml
- Format:
- load form by parent category path
- Format:
article-parent-category-path={path}.xml
- Example: 1 levels parent path example:
article-parent-category-path=lorem.xml
- Example: 2 levels parent path example:
article-parent-category-path=lorem+ipsum.xml
- Format:
- load form for all
- Format:
article-all.xml
- Format:
- load form by form name
- Menu Items
- load form by form name
- Format:
menu-item-form-name={name}.xml
- Example:
menu-item-form-name=lorem.xml
- Format:
- load form by alias
- Format:
menu-item-alias={alias}.xml
- Example:
menu-item-alias=lorem.xml
- Format:
- load form by menu type
- Format:
menu-item-menu-type={menu-type}.xml
- Example:
menu-item-menu-type=lorem.xml
- Format:
- load form by path
- Format:
menu-item-path={path}.xml
- Example: 1 level path example:
menu-item-path=lorem.xml
- Example: 2 levels path example:
menu-item-path=lorem+ipsum.xml
- Format:
- load form by parent category path
- Format:
>menu-item-path={path}.xml
- Example: 1 levels parent path example:
>menu-item-parent-path=lorem.xml
- Example: 2 levels parent path example:
>menu-item-parent-path=lorem+ipsum.xml
- Format:
- load form for all
- Format:
menu-item-all.xml
- Format:
- load form by form name
- Modules
- load form by form name
- Format:
module-form-name={name}.xml
- Example:
module-form-name=lorem.xml
- Format:
- load form by type
- Format:
module-type={type}.xml
- Example:
module-type=mod_custom.xml
- Example:
module-type=mod_articles_category.xml
- Example:
module-type=mod_menu.xml
- Format:
- load form for all
- Format:
module-all.xml
- Format:
- load form by form name
We suggest to use the forms at plugins/content/jnfields/core-forms/
as template or exmaple for your new forms. Do not modify this form files create a copy instead.
Fork it up bro!
- V 1.1.0 - 2017-06-01
- New folder to store custom forms "custom-forms"
- Now works on frontend and backend
- Added support to load custom fields for articles, menu items and modules by the core field form name
- Added support to load custom fields by article parent category path
- Added support to load custom fields by menu item parent path
- Added support to load custom fields by menu item menu type