> For the complete documentation index, see [llms.txt](https://docs.jollyany.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.jollyany.co/templates/varaham/events.md).

# Events

### Create Joomla articles for Events

The Courses page of the template is built with Joomla articles, and you're supposed to create categories and articles for events

* Please go to Admin > Content > Articles > Create new articles
* Assign them to your event category
* Go to the tab "Article Type Options" > Select Article Type > *Regular / Video / Gallery / Audio / Review / Quote*

### Create an event information

* After that, please go to the tab "Event Options", you'll see the event's options
* Enter the information of the event including Location, Phone, Guest Number, Call-To-Action text, URL, Latitude & Longitude&#x20;
* Set the start time and end time for the event

{% hint style="info" %}
The Call-To-Action button is only visible when you set the start time after the current time. \
Ex: Current time: July 3rd, 2021 -> the start time should be later than July 3rd, 2021
{% endhint %}

{% tabs %}
{% tab title="Demo" %}
![](https://3301969549-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoBBXF4uM9fQS8Kd3Rdft%2Fuploads%2FcP3ThFOJOVbxDRvrmO1K%2Fevent-info.jpg?alt=media\&token=37fa23d3-4615-4f33-980c-afa8ea6cb5da)
{% endtab %}

{% tab title="Event Options" %}
![](https://3301969549-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoBBXF4uM9fQS8Kd3Rdft%2Fuploads%2FfXGMqfw0HMCJocW8GVL0%2Fevent-options.jpg?alt=media\&token=eed3aa17-e5ab-44a5-8f32-a0b5aca00a34)
{% endtab %}
{% endtabs %}

### Show the map

* In the tab "Event Options", you're able to enter both the Latitude and Longitude of the map
* Go to Admin > Extensions > Templates > Styles > tz\_varaham - Default > Article / Blog > Enable Event Data
* Then you can configure options for the map: Add Google API key, Map type, Map Zoom, Map height ...

![Enable event data](https://3301969549-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoBBXF4uM9fQS8Kd3Rdft%2Fuploads%2FBGgWq6utgU6bJPvsrhl5%2Fsingle-article-enable-event-data.jpg?alt=media\&token=da30d2be-efb5-46fd-9e01-f9196f299d21)

### Add a new menu item

This step is to add a new menu item for the Events page so that it can display properly in the main menu

* Go to **Admin > Menus > Main menu > Add new**
* Menu item type: Articles > Category Blog
* Select your event category
* Template style: **tz\_varaham - Default**

![](https://3301969549-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoBBXF4uM9fQS8Kd3Rdft%2Fuploads%2FHcBrScdzHlsJ15jYxl6I%2Fevents-menu.jpg?alt=media\&token=93304e14-91cd-4900-a4ca-c025af791982)
