Table of Contents

Event overview page

Matija Vojvodic Updated by Matija Vojvodic

The events overview page was created to help our clients display a list of selected events on their own website. This feature is targeted to our customers who have a lot of events which are open to public registration and which they want to share / list on their website.

mate-event-overview-example.netlify.com__iPad_Pro_.png

 

1. How does it work 

The event overview page is a javascript client included in your webpage (see next block) which pulls and shows all events which are configured to support the overview page. To activate an event for the overview page create a registration page and activate the publication in the step "Publication on Overview Page". You can also provide an alternative event name, an event description and an optional event image. 

Event overview pages are a premium feature of MATE. To get access, please contact the MATE sales team: sales@mateforevents.com

2. How do I activate an event for the event overview?

2.1. Adjustment of role rights and the creation of tags

Using tags, it is possible to narrow down the events displayed on the overview page according to certain subject areas or keywords.

NOTE: In order to be able to create tags and publish your event on an overview page, you must extend the rights in the roles (we recommend controlling this exclusively via the "Admin" role).
2.1.1 Tags

2.1.1.1 Extend Role Right

To do this, go to the menu "Users & Roles" to "Roles" and select the role you want to expand.

In the "Role", activate the right "Event tags" in the area "User and account" under the point "Configuration".

2.1.1.2 Create Tags

fter you have added the right, you can create as many tags as you like for your MATE account.

To do this, go to the "Settings" tab in the account dashboard and open the "Event tags" submenu. Here you can add one or more tags via the button "Create event tag".

2.1.2 Publish event on overview page

2.1.2.1 Extend Role Right

Here, too, the role (Admin) must be extended by a right. To do this, open the "Invitation and registration process" area in the role and activate the "Publish on overview" right under "Websites".

2.1.2.2 Publish event

To activate an event for the overview page, create a registration page and activate the publication in the step "Publication on the overview page".

2.1.3 Create event overview - Create data-ID (optional)
NOTE: This feature is only available to Enterprise customers who have activated the Puplishing Package plus feature.

In the Account Settings menu area, select the "overview pages" submenu. Now you can add a new data-ID by clicking on the button "create event overview".

You can make further adjustments to the key in the next steps.

Limit: Here you can define how many events on your website should be displayed in the overview. If you do not enter a value, all active events will be displayed.

Filter - visibility groups: Prerequisite: visibility groups have been created in advance. Only events assigned to the selected visibility groups are displayed. If no visibility groups are selected, all events are displayed.

Filter - tags: Prerequisite: event tags have been created in advance. Only events to which the selected event tags have been assigned are displayed. If no tags are selected, all events are displayed.

Filter - event name (regex): By supporting regex, I can use this filter to control which event names I want to have displayed. Example: Show me all events with the word "education" in the title.

3. The MATE Javascript Client

MATE offers you an easy-to-use Javascript client based on React, which you can embed in your site and easily customise.

3.1. How do I include the event overview page in my webpage?

You have to include a single html element (<div> with the id mate-overview-container) into your html code where you want the list to appear. The html element contains a unique ID to identify your account (if you are interested, feel free to contact MATE to get this ID). Furthermore you need to link two css-files and a javascript file. Here's an example of the code:

<html>
<head>
<title>MATE Veranstaltungsübersicht Beispiel</title>
<link
href="https://services.mateforevents.com/client/registration_page_overview/static/css/mate-main.css"
rel="stylesheet"

/>
<link
href="https://services.mateforevents.com/client/registration_page_overview/static/css/mate-brand.css"
rel="stylesheet"
/>
</head>

<body>
<div
id="mate-overview-container"
data-account-id="[YOUR ID]">
</div>

<script src="https://services.mateforevents.com/client/registration_page_overview/javascript">
</script>

</body>
</html>

 

3.2. Custom styling of the overview page

The overview page uses two separate css files: mate-main.css and mate-brand.css.

mate-main.css is holding the functional part of the overview app and must not be changed.

mate-brand.css is a possible implementation of you brand information. You can use it as a base to tinker around with the styling of the page overview. Either you link to it in your html page and overwrite parts of it or you can copy all the styles into your page / css file and change them according to your needs. The following settings are part of the mate-brand.css file:

  

3.2.1. OVERVIEW PAGE WIDTH
.mate-app-width {
max-width: 130rem;

 

3.2.2. COLOR
 background-color: #e9edf1;
border-color: #e9edf1;
}
.mate-secondary-color {
background-color: #cacdd2;
border-color: #cacdd2;
}
.mate-tertiary-color {
border-color: #fff;
background-color: #fff;
}
.mate-text-color {
color: #000;
}
.mate-light-text-color {
color: #777880;
}
.mate-search-icon-color {
fill: #000;
}
.mate-arrows-icon-color {
stroke: #000;
}
.mate-registration-btn {
background-color: #0a3054;
color: #fff;
}
.mate-fully-booked-btn {
background-color: #e12e2e;
color: #fff;
}
.mate-reg-deadline-over-btn {
background-color: #777880;
color: #fff;
}
.mate-tag:hover {
border-color: #cacdd2;
}
.mate-expand-line-phone {
border-color: #e9edf1;
}
.mate-loading-indicator {
background-color: #7e7e7e;
}

 

3.2.3. BORDER RADIUS (you can put it to 0px if you want your buttons to be sharp)
.mate-full-border {
border-radius: 2px;
}
.mate-left-border {
border-top-left-radius: 2px;
border-bottom-left-radius: 2px;
}
.mate-right-border {
border-top-right-radius: 2px;
border-bottom-right-radius: 2px;
}

  

Slice.jpg

The search field can be used to search in the title and description of an event. If tagging (optional feature) is used, the events can be filtered for certain tags. It's possible to group tags into sections. For information how to do this, please contact your MATE Support team: support@mateforevents.com

 

  • It's possible to hide events once they are fully booked by adding hide-fully-booked="true" to our div container when you are embedding him into your website:
<div id="mate-overview-container"
data-account-id="xxx-xxx-xxx-xxx"
hide-fully-booked="true"></div>

4. API / Interface

If you would like to integrate the events from MATE into an existing event overview or otherwise use them through your system (for example, to integrate them into the search function of your CMS), it is a good idea to access our event overview interface directly.

All that is needed is an HTTP GET request to the URL

https://app.mateforevents.com/api/webclient/v1/registration-pages?overview_ids=[event-overview-IDs]

omma-separated UUIDs that identify your account and that you can obtain from the MATE team. For test data, you can simply replace [UUIDs] with "testdata". In response, you will receive a JSON array with the following information:

Field name

JSON Data typ

Description

uuid

String

Unique identification number for an event

name

String

Internal name of the event

startDate

Date*

Start date and time of the event in ISO format

endDate

Date*

End date and time of the event in ISO forma

location

Object

Venue of the event consisting of:

  • latitude (number): latitude as double value
  • longitude (number): longitude as double value
  • textRepresentation (string): address or name of the place

title

String

Title for event overview

teaserText

String

Teaser text for event overview with potential line breaks

teaserImageUrl

String (URL)

URL to the teaser image for the event

publicRegistrationUrl

String (URL)

URL to the public registration page in MATE.

Use this URL to link to the event registration.

registrationClosedDate

Date*

Date from which the registration page is closed.

Zero if no registration deadline is set.

openRegistrationSlots

Number

Quantity of free places. At zero, no more registration is possible.

Zero if no limit has been set.

tags

List of objects

List of tag objects that can be defined for an event and are unique in the account. A tag object consists of these properties:

  • id (number): unique identifier assigned by the back end
  • externalId (string): freely selectable external ID that can be used for identification by the client
  • name (string): Tag name

*) Date is a string in ISO 8601 format yyyy-MM-dd'T'HH:mm:ss.SSSZ

5. Example JSON

[
{
"uuid":"95a6f8ca-4000-44d1-96a3-d9ad666fca9e",
"name":"MATE Release Party",
"startDate":"2021-04-23T12:00:00.000Z",
"endDate":"2021-04-23T14:00:00.000Z",
"location":{
"latitude":52.5020105,
"longitude":13.3303865,
"textRepresentation":"MATE Development GmbH, Rankestraße 9, 10789 Berlin"
},
"title":"TEST",
"teaserText":"Lorem Ipsum",
"teaserImageUrl":"https://www.mateforevents.com/assets/logos/mate-logo.svg",
"registrationClosedDate":"2021-01-20T18:00:00.000Z",
"openRegistrationSlots":500,
"tags":[
{
"uuid":"2639374c-b5ed-419c-bc07-3171e6a56468",
"name":"Tag2"
},
{
"uuid":"00a02349-ba99-490a-a84a-498e20681648",
"name":"Tag1"
}
],
"publicRegistrationUrl":"https://app.mateforevents.com/r/matereleaseparty"
}
]

How did we do?

The event tags

Create and edit customised templates for email & websites

Contact