Venti 2

Documentation

Groups

Groups give you the ability to organize your events. Each group can have its own field layout for it's events and locale support.


{% set events = craft.venti.groups() %}

{% for group in groups %}
{% endfor %}

Group Model#


color

The color associated with the group. Returns in hexidecimal color format. (#ffffff)

{{ group.color }}

description

Description of the group.

{{ group.description }}

fieldLayoutId

Id of the feild layout for the events associated with the group.

{{ group.fieldLayoutId }}

handle

The handle of the group.

{{ group.handle }}

id

The id of the group.

{{ group.id }}

name

The name of the group.

{{ group.name }}

Group Methods#


getLocales()

Retrieves the locales turned on for this group.

{{ event.getLocales() }}

getUrlFormat()

Retrieves the group's event detail url format

{{ event.getUrlFormat() }}