Reverse relation
Relation Reverse field Plugin for FLEXIcontent
Plugin : relation_reverse — Relation - Reverse
:::info Source
This page is generated from plugins/flexicontent_fields/relation_reverse/relation_reverse.xml and the official FLEXIcontent 5.x language files.
:::
Reversing
List items related to 'current' item via the chosen field
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Reverse relation fieldreverse_field | Select an existing relation field for reversing | fields | — | — |
Editing
Related items list
Related items list
ITEM FORM: you can customize the display of the read-only items list (related to current item)
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Max listed itemsitemcount_form | Limit the maximum items to listed Number | text | — | — |
Editing
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Display labeldisplay_label_form | Display or hide label of this field | radio | 1 = Floated left2 = Cleared | 1 (Floated left) |
Labellabel_form | Enter a label to use for item form that is different than field label for viewing | text | — | — |
No access messageno_acc_msg_form | Leave this blank to use system's default no access message, or enter a custom message for this field | text | — | — |
Items Ordering
Select property or field to use for ordering the items
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Order by CORE field/propertiesorderby_form | Order items by CORE fields/properties | list | — = FLEXI_ORDER_DEFAULTdate = Added -- Oldest firstrdate = Added -- Most Recent firstmodified = Modified -- Most Recent firstalpha = Title -- Alphabeticalralpha = Title -- Alphabetical Reverseauthor = Author -- Alphabeticalrauthor = Author -- Alphabetical Reversehits = Popularity -- Most hits firstrhits = Popularity -- Least hits firstid = ID -- Highest Firstrid = ID -- Lowest Firstorder = Ordering in current category | alpha (Title -- Alphabetical) |
CUSTOM field ordering
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Enable *** overrides CORE order**orderbycustomfield_form | Enable this to order by the selected CUSTOM field. NOTE: This setting is ignored if you do not select a custom field | radio | 0 = No1 = Yes | 1 (Yes) |
Custom fieldorderbycustomfieldid_form | Select a custom field to use for ordering. Attention, some types of fields cannot be ordered (file and image fields for example). | fields | — | 0 |
Directionorderbycustomfielddir_form | Select to creating either an ascending (increasing) or a descending (decreasing) ordered list. | list | ASC = AscendingDESC = Descending | ASC (Ascending) |
Ordering Methodorderbycustomfieldint_form | Select to order alphanumerically (dictionary order) or numerically e.g. in alphanumerically '1000 my-title' is before '200 my-title' | list | 0 = Text1 = Integer2 = Float3 = Date | 0 (Text) |
Item HTML
Configure the HTML to use for displaying every item
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Item HTMLrelitem_html_form | Enter the HTML to use for each item, NOTE: you can use: display_text -- is replaced with custom text created according to parameters {{fieldname}} or {{fieldname##displayvar}} -- is replaced with HTML display of each field {{fieldname##label}} -- is replaced with label of each field %%language_string%% -- is replaced with the language string Finally, you can use item related replacements: item_url, item_title_escaped, item_tooltip and item properties like: {item->id}, {item->title}, etc | editor | — | __display_text__ |
Composition of display_text
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Custom Textdisplayway_form | Display Item ID (e.g. for use with Joomla plugin) or Item Title (e.g. for linking to the content item) | list | 0 = Item ID1 = Item Title | 1 (Item Title) |
Add Item Linkaddlink_form | Enable this add a hovering tooltip with e.g. read more message | radio | 0 = No1 = Yes | 1 (Yes) |
Add Link Tooltipaddtooltip_form | Enable this add a hovering tooltip with e.g. read more message | radio | 0 = No1 = Yes | 1 (Yes) |
Prefix - Suffix - Separator
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Every value prefixpretext_form | This text is placed immediately before every field value | text | — | — |
Every value suffixposttext_form | This text is placed immediately after every field value | text | — | — |
Value separator (item form)separator | Choose a separator to separate the values in backend/frontend item forms (placed between values) | list | 0 = Space1 = Line break2 = Pipe3 = Comma4 = Texts: Closing + Opening5 = Empty (No characters) | 1 (Line break) |
Opening text for Fieldopentag_form | This applied once at the START of the field. It is meant to create the start of the field HTML, but above you can choose to place it as SEPARATING text of the values too. But prefer to use parameters: Prefix/Suffix text of values if they exist for this field type. | text | — | — |
Closing text for Fieldclosetag_form | This applied once at the END of the field. It is meant to create the end of the field HTML, but above you can choose to place it as SEPARATING text of the values too. But prefer to use parameters: Prefix/Suffix text of values if they exist for this field type. | text | — | — |
Related items list
Editing
Viewing
Viewing
Basic
Display
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Show in clientsshow_in_clients | Select if the field will be created and shown to specific clients | fccheckbox | — | — |
Show in viewsshow_in_views | Select if the field will be created and shown to specific views | fccheckbox | — | — |
Label and access
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Display labeldisplay_label | Display or hide label of this field | radio | 0 = No1 = Yes | 1 (Yes) |
Show no access messageshow_acc_msg | When field is inaccessible a no access message will be shown. NOTE: IF this parameter is disabled, the field will be invisible to users with no access, without any message or warning that it exists | multilist | 0 = No1 = Yes | 0 (No) |
No access messageno_acc_msg | Leave this blank to use system's default no access message, or enter a custom message for this field | text | — | — |
Export
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Include in CSV exportinclude_in_csv_export | Select to include field in CSV export. Take care that not all fields support CSV export. Please test to determine if this field is included properly, since a special method is needed but not implemented yet by all fields | radio | 0 = No1 = Yes | 0 (No) |
Backend View
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Backend view appearancebackend_view_appearance | How this field's value is displayed in the admin items list. Overrides the global 'Custom columns appearance' setting when not set to Default. | multilist | 0 = Default1 = Check mark2 = Clean up HTML and trim | 0 (Default) |
Trim length (characters)backend_view_trim_chars | Number of characters to keep after stripping HTML tags. | text | — | 100 |
Layout
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Values layoutviewlayout | Please note: - do not modify default layouts, - custom layouts may need updating in future to respect new configuration and work properly - to create new copy (same folder): plugins/flexicontent_fields/FIELD_TYPE/tmpl/value_*.php as value_mytemplate.php - or to folder: /templates/SOME_NAME/html/flexicontent_fields/FIELD_TYPE/ and then modify | fcfilelist | — | — |
For configuration options, common to all layouts, please see other Tabs of this tab-set
Related items list
Display options: -- Item list (related to current item)
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Max listed itemsitemcount | Limit the maximum items to listed Number | text | — | — |
Items list viewableitemslist_acclvl | Only users that have this access level (belong to a usergroup that has it) will be able to view the items list | accesslevel | — | 1 |
Related items list
Filter items
Items matching all of the selected criteria will be items included, Note: Leave blank to ignore the specific limitation
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Categoryreverse_scope_category | Select Category | flexicategories | — | — |
Typesreverse_scope_types | Select types you want to include or exclude | types | — | — |
Other Scope Limits
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Same Language Onlysamelangonly | When this is enabled only items that have the same language as the item will be listed | radio | 0 = No limit1 = Yes | 1 (Yes) |
Use publish up/down datesuse_publish_dates | Will skip selected items when their publication dates expire | radio | 0 = No limit1 = Yes | 1 (Yes) |
Only published itemsonlypublished | If this is disabled unpublished items will be shown too | radio | 0 = No limit1 = Yes | 1 (Yes) |
Item owned byownedbyuser | Items owned by (a) any user or (b) by user currently editting the item by item owning the current item | radio | 0 = Any user1 = editing user2 = item owner | 0 (Any user) |
Items Ordering
Select property or field to use for ordering the items
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Order by CORE field/propertiesorderby | Order items by CORE fields/properties | list | date = Added -- Oldest firstrdate = Added -- Most Recent firstmodified = Modified -- Most Recent firstalpha = Title -- Alphabeticalralpha = Title -- Alphabetical Reverseauthor = Author -- Alphabeticalrauthor = Author -- Alphabetical Reversehits = Popularity -- Most hits firstrhits = Popularity -- Least hits firstid = ID -- Highest Firstrid = ID -- Lowest Firstcommented = Most Commentedrated = Best Ratedorder = Ordering in current categoryjorder = Ordering (Global)random = Random | alpha (Title -- Alphabetical) |
CUSTOM field ordering
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Enable *** overrides CORE order**orderbycustomfield | Enable this to order by the selected CUSTOM field. NOTE: This setting is ignored if you do not select a custom field | radio | 0 = No1 = Yes | 1 (Yes) |
Custom fieldorderbycustomfieldid | Select a custom field to use for ordering. Attention, some types of fields cannot be ordered (file and image fields for example). | fields | — | 0 |
Directionorderbycustomfielddir | Select to creating either an ascending (increasing) or a descending (decreasing) ordered list. | list | ASC = AscendingDESC = Descending | ASC (Ascending) |
Ordering Methodorderbycustomfieldint | Select to order alphanumerically (dictionary order) or numerically e.g. in alphanumerically '1000 my-title' is before '200 my-title' | list | 0 = Text1 = Integer2 = Float3 = Date | 0 (Text) |
Item HTML
Configure the HTML to use for displaying every item
NOTE: Configuration of this can be overriden for some views, via the 'Total info' TAB
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Item HTMLrelitem_html | Enter the HTML to use for each item, NOTE: you can use: display_text -- is replaced with custom text created according to parameters {{fieldname}} or {{fieldname##displayvar}} -- is replaced with HTML display of each field {{fieldname##label}} -- is replaced with label of each field %%language_string%% -- is replaced with the language string Finally, you can use item related replacements: item_url, item_title_escaped, item_tooltip and item properties like: {item->id}, {item->title}, etc | editor | — | __display_text__ |
Composition of display_text
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Custom Textdisplayway | Display Item ID (e.g. for use with Joomla plugin) or Item Title (e.g. for linking to the content item) | list | 0 = Item ID1 = Item Title | 1 (Item Title) |
Add Item Linkaddlink | Enable this add a hovering tooltip with e.g. read more message | radio | 0 = No1 = Yes | 1 (Yes) |
Add Link Tooltipaddtooltip | Enable this add a hovering tooltip with e.g. read more message | radio | 0 = No1 = Yes | 1 (Yes) |
Content Plugins -- You need this for description field, for other fields enable only if needed
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Trigger content pluginstrigger_onprepare_content | Enable this option if you want to trigger content plugin event: onPrepareContent. A small number of plugins may not work outside com_content. | multilist | 0 = No1 = Yes | 0 (No) |
Trigger inside categorytrigger_plgs_incatview | Trigger content plugins on this field when item is displayed in a category view | radio | 0 = No1 = Yes | 0 (No) |
Specific plugins onlyplugins | You can choose specific plugins in this list or leave empty to trigger all. This feature is useful in some cases to avoid conflicts, multiple displays or reduce the load. Keep in mind that once the plugin is imported for a field, it will automatically be executed on all following fields in the loop. | pluginlist | — | — |
Prefix - Suffix - Separator
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Preset configurationsprx_sfx_open_close_configs | This is a list of preset configurations, after loading them, you can click custom again to customize them | multilist | — = Customize1 = List: numbered2 = List (bullets)3 = List (circle)4 = List (square)5 = List (no marking) | — |
Remove spaceremove_space | Remove the space between prefix value and suffix. It's recommended for plugin use, for example {play}mysong.mp3{/play} | radio | 0 = No1 = Yes | 0 (No) |
Every value prefixpretext | This text is placed immediately before every field value | text | — | — |
Every value suffixposttext | This text is placed immediately after every field value | text | — | — |
Value separator (frontend views)separatorf | Choose a separator to separate the values in frontend views (placed between values) | multilist | 0 = Space1 = Line break6 = Horizontal line2 = Pipe3 = Comma4 = Texts: Closing + Opening5 = Empty (No characters)7 = Custom separator | 1 (Line break) |
Custom separatorseparatorf_custom | — | text | — | — |
Opening text for Fieldopentag | This applied once at the START of the field. It is meant to create the start of the field HTML, but above you can choose to place it as SEPARATING text of the values too. But prefer to use parameters: Prefix/Suffix text of values if they exist for this field type. | text | — | — |
Closing text for Fieldclosetag | This applied once at the END of the field. It is meant to create the end of the field HTML, but above you can choose to place it as SEPARATING text of the values too. But prefer to use parameters: Prefix/Suffix text of values if they exist for this field type. | text | — | — |
Related items list
Total count
Display options: -- Total counter ** A more compact display that allows skipping or compacting the item list e.g. in category view**
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Enable totalshow_total_only | Enable this to show only a total count of related items instead of showing the related items list. | multilist | 0 = No1 = Yes2 = Yes, hide zero | 0 (No) |
Enable in viewstotal_in_view | You can turn on/off the above parameter depending on current flexicontent view | fccheckbox | — | — |
Append texttotal_append_text | Enter to append some text to the total count | text | — | — |
Show extra information
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Submit related buttontotal_show_auto_btn | Enable to also show the Submit related button, (if enabled and configured above) | radio | 0 = No1 = Yes | 0 (No) |
Related items listtotal_show_list | Enable to also show items list, (below you can override item list configuration) | multilist | 0 = No1 = Yes | 0 (No) |
Override default
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Item HTMLtotal_relitem_html | Enter the HTML to use for each item, NOTE: you can use: display_text -- is replaced with custom text created according to parameters {{fieldname}} or {{fieldname##displayvar}} -- is replaced with HTML display of each field {{fieldname##label}} -- is replaced with label of each field %%language_string%% -- is replaced with the language string Finally, you can use item related replacements: item_url, item_title_escaped, item_tooltip and item properties like: {item->id}, {item->title}, etc | editor | — | __display_text__ |