# JTicketing

### Insert events in an email

{% tabs %}
{% tab title="One by one" %} <img src="/files/Nl3PsSMGsQLW5M1LR6hb" alt="" width="563">

* **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.

<img src="/files/28aFZRAxSdFhDqXr0htT" alt="" width="563">

* **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.

<img src="/files/JygR5ZxlVNaptuY4t00Z" alt="" width="563">

* **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

<img src="/files/tuZaW3Yvv8FtuIh2FPfz" alt="" width="563">

* **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="/files/CeUp60dzaxj1d9iOgHg7" 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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.acymailing.com/addons/joomla-add-ons/jticketing.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
