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.
Data Mappings
- The header text is stored in the module Headline. To swap - replace the headline here:
https://tetaurawhiri.nationbuilder.com/admin/sites/6/pages/47132/edit - The header image is stored in the module page attachments. To swap - remove the current one upload a new one here:
https://tetaurawhiri.nationbuilder.com/admin/sites/6/pages/47132/attachments
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.
Data Mappings
- The buttons are generated based on the table data from the attached XLSX file. To swap - remove the current one and upload a new one here:
https://tetaurawhiri.nationbuilder.com/admin/sites/6/pages/47132/attachments- category_english - The English category name
- category_maori - The Te reo Maori category name
- NOTE: there are images hosted on AWS for each category. If you ever need to add, remove, or update any category images - Please contact For Purpose for assistance.
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.
Data Mappings
- The translation tables are generated based on the table data from the attached XLSX file. To swap - remove the current one and upload a new one here:
https://tetaurawhiri.nationbuilder.com/admin/sites/6/pages/47132/attachments- category_id - a unique index number for each table (sequential).
- category_english and category_maori - determine which table the term appears in.
- type - "category", "word", or "phrase" - determine which subheader the term appears beneath in the table.
- term_english and term_maori - the two terms for the row in the table.
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.