Tribiq CMS

Choose your language

6.11 Event Template

Tribiq CMS supports 3 views of an event - you can view a Monthly Calendar, which gives an overview of all events this month, a Day View, which shows all events on a given day or Event view, which shows details for one event. To create the daily Calendar view, see Section 6.12, to create the monthly Calendar view, see Section 6.13.

An event must be assigned a template that is associated with the Event Content Type (EVNT).

You must create a template that has the following snippet. It will display an individual event's information.

Use this snippet in a file called EVNT-standard.tpl.php:

<?php include "templateincludes/event.inc.php";?>

However It is suggested that you copy the standard functionality include from /templateincludes/ to your new template family, and use this.

cp /templateincludes/event.inc.php /templates/mytribiqsite/newtemplatefamily/includes/

We can then include this file instead of the /templateincludes file.

<?php
include $template_path."/includes/event.inc.php";
?>

Top of Page