# JTicketing

### Insert events in an email

{% tabs %}
{% tab title="One by one" %}
![](https://963725040-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-L_D4iy53WFAtKVs3BPA-3566562695%2Fuploads%2FbhWvkrXAD1EDIVZgnyCQ%2Fone%201.png?alt=media\&token=1a2eb63d-bb97-42eb-917e-cc366c6a7572)

* **Content to insert**: The listed events are ordered by starting date. You can search by name and category.
* **Display**: Choose here the content you want to be inserted in your email.
* **Format**: You will have the choice between various default layouts. You can also create your own layout.

![](https://963725040-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-L_D4iy53WFAtKVs3BPA-3566562695%2Fuploads%2F4P2tAMkQTjPx6S4ZEjUr%2Fone%202.png?alt=media\&token=dec463e3-8c8b-4209-9729-d0e1168f92cd)

* **Pictures**: You can resize or remove pictures included in the description part of the event you insert in your email.
* **Clickable title**: A link will be added on the event's title, leading to this event's detail page on your site
* **Clickable image**: A link will be added on the event's main picture, leading to this event's detail page on your site
* **Truncate the text**: This will cut the description part of the event you insert
* **Custom view**: You can edit the view of the events that you insert
  {% endtab %}

{% tab title="By category" %}
If you select "By category", you will be able to insert multiple events at a time.

![](https://963725040-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-L_D4iy53WFAtKVs3BPA-3566562695%2Fuploads%2FJKRxhU1To4TFHlc97RNJ%2Fcat%201.png?alt=media\&token=76ae2c5b-08f0-4091-bed0-de5620379c26)

* **Content to insert**: You can insert events of one or more categories, or all events if you don't select anything
* **Display**: Choose here the content you want to be inserted in your email.
* **Format**: You will have the choice between various default layouts. You can also create your own layout. The Alternate option switches the image position for every other event.
* **Pictures**: You can resize or remove pictures included in the description part of the event you insert in your email

![](https://963725040-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-L_D4iy53WFAtKVs3BPA-3566562695%2Fuploads%2F9wegkNt7GKJcsBMolDP4%2Fcat%202.png?alt=media\&token=e4dc9800-f2a0-4bf4-ab27-5e6e22b21277)

* **Clickable title**: A link will be added on the event's title, leading to this event's detail page on your site
* **Clickable image**: A link will be added on the event's main picture, leading to this event's detail page on your site
* **Truncate the text**: This will cut the description part of the event you insert
* **Only featured elements**: Activate this option to only insert the events marked as featured
* **Order by**: By default, events are sorted by starting date to show the ones about to begin first
* **Time specifications**: Choose which events need to be inserted based on their starting date
* **Group by category and show category name**: groups the inserted events by category, no mater their starting date
* **Min. start date**: Filters out the events starting before the specified date
* **Min. publishing date**: Filters out the events published before the specified date
* **Columns**: You can insert for example 2 events per row in your email&#x20;
* **Column horizontal padding**: Allows you to adjust the horizontal padding between 2 columns
* **Column vertical padding**: Allows you to adjust the vertical padding between 2 columns
* **Max.number of elements**: This is the maximum number of events inserted in your email

<figure><img src="https://963725040-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-L_D4iy53WFAtKVs3BPA-3566562695%2Fuploads%2FXoReMVPrgnNpDMo3fN1P%2Fcat%203.png?alt=media&#x26;token=5892b28d-8a5c-40d5-9f36-43a3ad857995" alt="" width="563"><figcaption></figcaption></figure>

These options are only visible in an automatic campaign.

* **Date**: You can choose to only insert events that were created after the previously generated campaign
* **Min. number of elements**: You can choose to prevent the campaign from being generated if not enough events are inserted
  {% endtab %}
  {% endtabs %}

### Settings

Here are the settings available for this add-on:\
**Custom view**: override the content inserted in your email\
**Front-end access**: this settings allows you let your users access to this add-on in the frontend campaign management or not\
**Menu ID**: This option allows you to specify the menu item ID used when generating links to your events
