Documentation
Orbit
< Menu

M2M Simple List

### Description
The M2M Simple List widget displays a list of entries using an Orbit Content Source.

### Instance Options
| Option | Property | Comments | Default Value | Source |
| ----- |:-----| ---- | ---- | ---- |
| Content source| `source` | The content source from which to pull published content items. | `null` | Options Schema |
| Encoded query| `encoded_query` | The filter to be applied to the content source. | `null` | Options Schema |
| Limit| `limit` | The maximum number of content items to show. | `null` | Options Schema |
| Order by| `order_by` | The field used to order the items in the list. | `sys_updated_on` | Options Schema |
| Descending order| `order_desc` | Option to order items in descending (true) or ascending (false) order. | `True` | Options Schema |
| Column class| `column_class` | Identifies (in bootstrap) what the widget considers to be the column (e.g. col-md-5). | `null` | Options Schema |
| Show images | `show_images` | Enables images to be displayed and adds space for it to show. | `3000` | Options Schema |
| Image width | `image_width` | Sets the width of the image displayed in the list (in pixels). | `null` | Options Schema |
| Image height | `image_height` | Sets the height of the image displayed in the list (in pixels). | `null` | Options Schema |
| Secondary fields | `secondary_fields` | Allows the user to select extra fields to show beyond the default. This is a comma separated list. | `null` | Options Schema |
| Short description text limit | `short_description_limit` | The maximum number of characters to be shown for the short description. | `null` | Options Schema |
| Display page | `sp_page` | The page to navigate to when an item is clicked. Orbit will append the underlying record's sys_id to the URL. | `null` | Options Schema |
| View all page | `view_all_page` | The page to show the full list. This will control the "View All" button link. | `null` | Options Schema |
| Container class | `container_class` | Enables you to add a bootstrap column class for the M2M Simple List containing <div> tag. | `null` | Options Schema |

### CSS/SASS Variables
*Dependencies are included and configured as part of the provided Update Set.*
| Variable | Comments |
| -------- |:---|
| `$orbit-list-image-width` | Globally controls the width of the images in lists. |

### Templates
| Name | Comments |
| -------- |:---|
| `orbit-simple-list-m2m.html` | Default template. |

Want to Learn More? Talk to an Expert
Contact Us