Item submission form
:::info Source
This page is generated from site/views/item/tmpl/form.xml and the official FLEXIcontent 5.x language files.
:::
Required parameters
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Form Typetypeid | Either set a specific Form Type that you wish to display, OR let your submitting user to select out of the Content Types that are allowed to him/her via ACL 'create items' privilege (please set this in Content Type manager) | types | — | — |
NOTE: in order to configure submit/edit item form, these are used: -- Form Configuration in component and content type, -- 'Create' / 'Edit' ACL for Category and Types, etc -- Author/User group limitations, etc Enable/use parameters in this menu item only if needed, -- the above mentioned configuration and ACL should be checked and configured anyway
General Form Behavior
(effects only initial submission)
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Item form layoutform_ilayout_fe | — | fclayout | Built-in layoutstabs = tabs (Default)flat = flat | — |
General Form Behavior
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Optional buttonsallowbuttons_fe | Select the optional buttons that you want to appear in frontend form | fccheckbox | — | — |
Placement of buttonsbuttons_placement_fe | Select to display form buttons at the top or bottom of the form | radio | — = Use Global0 = Top1 = Bottom2 = Left3 = Right | — |
Display approval needed warnings
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Inside formapproval_warning_inform_fe | Enable this, to show a message inside item form, whether current user can publish new items or if they can self-approve changes to existing items | radio | — = Use Global0 = Hide1 = Show | — |
After form submitapproval_warning_aftersubmit_fe | Enable this, to show an after form submit warning, saying if approval is needed for new item being published or for the changes to existing item becoming active | radio | — = Use Global0 = Hide1 = Show | — |
If you leave these blank, then please check default values at item configuration type type
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Requires version reviewalversion_reviewal_msg_fe | Please note that your new document version will be reviewed and approved by a site administrator | textarea | — | — |
Requires document approvaldocument_approval_msg_fe | Please note that your new content will be reviewed and accepted by a site administrator | textarea | — | — |
May require version reviewalmr_version_revial_msg_fe | Please note, your new document version might need to be reviewed and approved. This may depend on the content's category AND/OR the content's type. You will be notified whether approval is needed, after you save this content. | textarea | — | — |
May require document approvalmr_document_approval_msg_fe | Please note, that your new content might require approval before being accepted. This may depend on the content's category AND/OR the content's type. You will be notified whether approval is needed, after you save this content. | textarea | — | — |
Changes applied immediatelychanges_applied_immediately_msg_fe | Please note, that document versioning is disabled, thus any changes that you make to this content will be accepted/activated immediately and the previous version will be permanently overwritten | textarea | — | — |
Instructions / URL redirections / etc
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Submit Instructionssubmit_message | These instructions will be placed at the top of the form, after the form buttons NOTE: This can be a language string (add it to your language files) | textarea | — | — |
Submit Redirect URL hides preview buttonsubmit_redirect_url_fe | You can set a custom URL that the user will be redirected after submitting new content. NOTE: This will work with even if you click 'Add' or 'Apply' buttons before closing the item NOTE: Setting this will hide the preview button while submitting new items | text | — | — |
Unauthorized Page User can not submit MORE or ANY contentnotauthurl | Specify the URL / Menu Item ID of the page you wish your registered users to land if they don't have enough rights to create more (or any) content. This could be (for example) the subscriptions plans page if you sell your published content. NOTE: If you don't set anything here they the general unauthorized page will be used. | menuitem | — | — |
Form Security Field Display criteria for CAPTCHA
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Use captchause_captcha | Select when to display a captcha security field, to protect the form from robots | multilist | — = Use Global0 = Disable1 = Guests (Recommended)2 = Any user | — |
Captcha plugincaptcha | Select a specific captcha plugin, to override the default setting | plugins | — = Use Global0 = Disable | — |
Optional Form Data
(effects only initial submission)
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Intro / Full Imagesuse_jimages_fe | Show intro/full images | radio | — = Joomla's default0 = Disable1 = Enable | — |
Urlsuse_jurls_fe | Show urls | radio | — = Joomla's default0 = Disable1 = Enable | — |
Basic Editing
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Use titleusetitle_fe | Select to display or hide item title - you can set to automatic in type parameters | radio | — = Use Global0 = Hide if automatic1 = Yes | — |
Use Aliasusealias_fe | Allow the user to enter the Alias field | radio | — = Use Global0 = No1 = Yes | — |
Use typeusetype_fe | Display type selector to allow changing type of item | fcradio | — = Use Global0 = No1 = Yes | — |
Use stateusestate_fe | Display state selector to allow changing publication state of the item | fcradio | — = Use Global0 = No1 = Yes | — |
Use accessuseaccess_fe | Display access selector to allow changing access level of the item | fcradio | — = Use Global0 = No1 = Yes | — |
Use featuredusefeatured_fe | Display featured selector to allow changing featured flag of the item | fcradio | — = Use Global0 = No1 = Yes | — |
Use tagsusetags_fe | Allow tags to be hidden, for user groups that have the Can-Tags Privilege, note the item can still have tags managed | radio | — = Use Global0 = No1 = Yes2 = Display only | — |
Allow disabling commentsallowdisablingcomments_fe | Here you can give the ability to authors/editors to disable comments on Content Items they can edit. If you allow this it is recommended not to show item advanced parameters | radio | — = Use Global0 = No1 = Yes | — |
Categories
Note: You still need ACL to prevent multi-category changes. Just hiding them, does not prevent users from changing them ...
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Use categoryusemaincat_fe | If you disable this you need to also set a default category in the type configuration (typically you will create a category with the same name as the type and set it as default) | fcradio | — = Use Global0 = No1 = Yes | — |
Secondary categoriesshow_seccats_fe | — | fcradio | — = Use Global0 = Hide1 = Hide if non-editable2 = Show | — |
Featured Categoriesshow_featcats_fe | — | fcradio | — = Use Global0 = Hide1 = Hide if non-editable2 = Show | — |
Language
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Use languageuselang_fe | Allow the user to select language. NOTE: select a default language before disabling this | radio | — = Use Global0 = No1 = Yes3 = Yes, without associations2 = Display only | — |
Default languagedefault_language_fe | This is the language that will be pre-selected, particularly useful if you hide the language | fclanguage | _author_lang_ = Use editor's Language_site_default_ = Use site default Language | — |
Disable languagesdisable_languages_fe | For example you may want to disable language 'ALL' | fclanguage | — | — |
Language selector
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Display aslangdisplay_fe | You can display it e.g. as drop-down select or radio buttons | radio | — = Use Global2 = Drop-down select3 = Radio buttons | — |
Show flags (radio)langdisplay_flags_fe | Show flag icons | radio | — = Use Global0 = No1 = Yes | — |
Show text (radio)langdisplay_texts_fe | Enable to show text such language code | radio | — = Use Global0 = No Text1 = Language code2 = Title3 = Native title4 = Title + Native title | — |
Advanced Editing
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Publication Detailsusepublicationdetails_fe | Select here to allow either: -Basic- Publication Details: (start & finish publishing dates & author alias) to people that can -EDIT- the item. or -All- publication details: (item author & creation date) are available ONLY to Super Admin users. | radio | — = Use Global0 = No1 = Basic (recommended)2 = All * | — |
Metadata Detailsusemetadata_fe | Recommended to hide or only allow -basic- META data (description and keywords), the rest will be unnecessary & confusing to the users | radio | — = Use Global0 = No1 = Basic (recommended)2 = All * | — |
SEO Configurationuseseoconf_fe | Select here to allow user to edit SEO parameters, like custom page title tag | radio | — = Use Global0 = No (Recommended)1 = Yes | — |
Display optionsusedisplaydetails_fe | Select which item display parameters groups you want to be editable in the frontend | radio | — = Use Global0 = No (Recommended)1 = Basic2 = Advanced | — |
3rd party display optionsuse3rdpartyparams_fe | Select to show the display options from 3rd party extensions | radio | — = Use Global0 = No1 = Yes | — |
Template Selectionselecttheme_fe | Enable selection and configuration of template for frontend user groups with the Templates-Manage Privilege. | radio | — = Use Global0 = No (Recommended)1 = Select2 = Select and Configure | — |
Permissions (ACL)permsplacement_fe | Select here to show permissions to user if these are editable | radio | — = Use Global0 = Hide always (even if editable)1 = Inline2 = Slider | — |
Versionsversionsplacement_fe | Inline: open the version comparison in a new browser tab. Popup: open the version comparison in a modal window. The version history table is always shown in the Versions tab. | radio | — = Use Global0 = Hide always (even if editable)1 = Popup2 = Inline | — |
Styling and behaviour
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Label classform_lbl_class_fe | A class to style the label of the fields | text | — | — |
Form Container CSSform_container_css_fe | Set some CSS rules for the form container e.g. 'width:800px;' to avoid fitting problems in the frontend | text | — | — |
Add CSS to edit formform_extra_css_fe | Add extra CSS rules to the submit/edit form. - This can be overridden per Content Type (along with the other parameters) and thus allow different customization for every Type of content. | editor | — | — |
**Add JS to edit form for developers only ***form_extra_js_fe | Add extra JS code to the submit/edit form. - Usually you would add JS code executed on DOM Ready Event. - Take care not break JS execution of your Form. - This can be overridden per Content Type (along with the other parameters) and thus allow different customization for every Type of content. | editor | — | — |
Override: Submit/publish ACL
(effects only initial submission)
Unauthorized Users
- Override 'create' permission (ACL) of TYPES. - CATEGORIES 'create' permission (ACL) is still enforced
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Unauthorized submit Ignores ACL 'create' ()**allowunauthorize | This allows unauthorized users to submit new content items, effectively ignoring the ACL 'create' privilege ! NOTE: 1. This effects current menu item only 2. The preferred way is to use ACL 'create' privilege, which: ** - effects submitting everywhere, - can allow even guest users to submit items** | radio | 0 = No, use ACL1 = Yes2 = Yes, exclude guests (unlogged) | 0 (No, use ACL) |
Auto publish override
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Auto publishautopublished | Auto publish the submitted items | multilist | 0 = No, show state (based on ACL)1 = Yes, hide state (regardless privilege) | 0 (No, show state (based on ACL)) |
Message about Auto-Publishingautopublished_message | The message will be placed at the top of the form, after the form buttons, NOTE: This can be a language string (add it to your language files), also you may use 2 replacements: PUBLISH_UP_DAYS_INTERVAL and PUBLISH_DOWN_DAYS_INTERVAL | textarea | — | — |
Publish UP interval (minutes)autopublished_up_interval | If auto-publishing is enabled, then the publish UP date will be set to current time plus the interval, a value of 0 will publish the content immediately NOTE: This is IGNORED for users that can publish NOTE: e.g. For 24 hours enter 1440 (that is 24*60) | text | — | 0 |
Publish DOWN interval (minutes)autopublished_down_interval | If auto-publishing is enabled, then the publish DOWN date will be set to current time plus the interval, a value of 0 will not set a publish down limit NOTE: This is IGNORED for users that can publish NOTE: e.g. For 30 days enter 43200 (that is 302460) | text | — | 0 |
Override: Category ACL
(effects only initial submission)
Categories
- Override 'create' permission (ACL) of CATEGORIES. - TYPES 'create' permission (ACL) is still enforced
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Enable overrideoverridecatperms | If this is disabled then the categories that user has 'CREATE' (=add) permission will be displayed. NOTE this will not override user's permission for submitting to multiple categories. | multilist | 0 = No, use ACL1 = Yes | 0 (No, use ACL) |
Allowed categoriescid | You may select multiple categories. If you LEAVE BLANK then permissions override will be disabled, and only the categories that the user has 'CREATE' permission will be displayed | flexicategories | — | — |
Main category
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Default Main Categorymaincatid | Optionally, you can set the category that will be selected as default main category on form load. - this will be added to the allowed categories | flexicategories | — | — |
Enable selectormaincat_show | Hide / Show main category selector. NOTE: you must select a default value | radio | 1 = Hide2 = Show | 2 (Show) |
Secondary categories (= multi-category assignments)
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Enable selectorpostcats | Enable / disable multi-category submit (enable / disable selector of secondary categories). Or lock the selector and submit in all categories | multilist | 1 = Hide2 = Show0 = Locked (submit in ALL) | 2 (Show) |
Note: Users are not allowed to submit into multiple categories, unless they have ACL (COMPONENT) permission 'Assign multiple categories to items'
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Allow to ALL usersoverride_mulcatsperms | Select to ignore user's privilege of assigning an item to multiple categories | radio | 0 = No, use ACL1 = Yes | 1 (Yes) |
Display category titlespostcats_show | Select to display main category or all category titles | radio | 1 = Hide2 = Show | 1 (Hide) |