Olympics Kupu

module_olympics_kupu

The Olympics Kupu module - activated by tag module_olympics_kupu on a basic subpage_layout module - was created specifically for the 2024 Olympic Glossary. You can find this page here:

This module has a couple components that work together. the header (contains keyword search filter), the sport category buttons, and the translation tables.

#Olympics Kupu Header

The header appears at the top of the module. It contains the header text, the keyword search filter, and a header image (on desktop - hidden on smaller screens).

When a user interacts with the uses the keyword filter or clicks one of the sport category buttons - the header content is replaced with the search results header - which displays the current active filter.

default view
category search view
keyword search view

Data Mappings

Sport Category Buttons

The sport category buttons are visible beneath the header. A sport category button will be added for each translation table loaded into the module. As an alternative to using the keyword filter to search - users can click one of these buttons, which will load the selected translation table.

The sport category buttons.

Data Mappings

Translation Tables

The translation tables are visible beneath the header when a user has performed a keyword search or clicked a sport category button.

When a user performs a keyword search - all matching terms and their table headers will be visible.

When a user clicks one of the sport category buttons - an entire single translation table will be visible by itself.

Translation tables when there are matching results.

Data Mappings

No Matching Terms

If the user has used the keyword search filter and no matching terms exist - the following message will be displayed in place of the translation tables.

Message when search term has no matches.