Your account
What a theme can show
Every value and block your theme's templates can use, view by view.
The Customize studio changes the colors, images and wording on every screen people see, against a live preview and with nothing to install. Start there.
Each file in your theme's views/ folder can print a fixed set of values, called drops, and include the blocks listed for it. To write the files, see Edit the templates behind your pages or Your theme on your own machine.
Printing values
- Use only the names on this page. Any other name is an error, and an error shows people the built-in page instead of yours.
- Printing an empty value is an error too. Guard anything that can be empty with
<figh-if test="event.venue">, or print it withevent.venue | default: ''. - Money comes in pairs.
totalis the amount written out in the page's language, andtotal_centsis the same amount as a whole number in the currency's smallest unit. Printtotal. Figh has no arithmetic. - Dates and times are already written out in the page's language, on the event's clock.
event.ends_atandticket.checked_in_atare the two exceptions, and they're Unix timestamps. {{ }}escapes every value it prints. Quote your attributes, and pass data to a script in a quoteddata-*attribute.- Receipts, pay buttons and file downloads come as blocks, listed under each view.
On every view
| Drop | What it holds |
|---|---|
locale | the page's language code, like en or fr |
account.name | your account's name |
account.slug | your account's short name |
account.url | /, your home page |
Two blocks work on every view. <figh-block name="lang_switch"/> is the language switcher, and <figh-block name="currency_switch"/> is the currency switcher. Each is empty when there's nothing to switch between.
Your layout, layout/layout.figh, has these too, and one more. view is the name of the view it wraps, like event. A file in views/ can't use view.
home view
The file is views/home.figh.
| Drop | What it holds |
|---|---|
series | one row for each listed series that has events to show |
events | your events that aren't on a series row |
Each entry in series:
| Drop | What it holds |
|---|---|
name, slug, intro | as you set them |
url | the series page's address |
count | how many events the series page lists, upcoming and past |
Each entry in events:
| Drop | What it holds |
|---|---|
name | the event's name in the page's language |
slug, venue, description, currency | as you set them |
url | the event page's address. Always link with this. For an event in a series, the address is different from slug |
starts_at | the date line, with the time zone named by city, like "Tue 6 Jul 2027, 6:00 pm, Dublin time" |
tickets | the tickets on sale, each with name, price, price_cents, price_hidden and currency |
A free ticket with Leave “Free” off this ticket on the event page and widgets switched on has price_hidden set to true and an empty price.
event view
The file is views/event.figh.
| Drop | What it holds |
|---|---|
event.name, event.venue | in the page's language |
event.slug, event.currency | as you set them |
event.description | the description as plain text, for a card or a <meta> tag. For the formatted description, use the event.description block |
event.venue_address | the venue's address, empty when there's none |
event.venue_lat, event.venue_lng | the map pin, like "53.343792", empty when there's no pin |
event.venue_map_links.google, event.venue_map_links.apple, event.venue_map_links.osm | links that open the venue in a maps app, empty when the venue has no location. osm also needs a map pin, so check each one |
event.calendar_links.file, event.calendar_links.google, event.calendar_links.outlook | add to calendar links, empty unless Let people add the event to their calendar from your event page is on and the page shows a date |
event.url | the event page's address |
event.starts_at | the date line, with the time zone named by city |
event.ends_at | when the event ends, as a Unix timestamp, or 0 when there's no end |
event.fields | the details you've added to the event, by their short name. See Fields a theme asks for, below |
tickets | the tickets on sale with no times to choose from, empty while sales are closed |
schedule | the tickets on sale with times to choose from, in groups, with their options |
register_url | the address the purchase form sends to. To sell tickets, use the event.purchase_form block |
Each ticket in tickets has name, description, price, price_cents, currency, sold_out, url and price_hidden. The description is plain text. A bullet is written as "• ", and a link is written as its words with its address in brackets.
Each entry in schedule:
| Drop | What it holds |
|---|---|
name | the group's name. A group with no name uses when it runs, like "Fri 5 Mar, 10:00–11:30" |
sessions | the options on sale in the group, earliest first |
zone | the time zone of the options' times, named by city, like "Dublin time" |
tickets | the tickets sold with those options, with the same values as tickets above |
Each option in sessions has:
| Drop | What it holds |
|---|---|
name, venue | in the page's language |
description | the option's description, empty when there's none |
starts_at | the date and the time it begins, like "Fri 7 Aug 2026, 10:00" |
ends_at | the time it ends, like "10:30" |
date | the date, like "Fri 7 Aug 2026", for grouping options by day |
time | both times, like "10:00–10:30" |
sold_out | true when the option is full |
discount_percent | the whole percent off the ticket's price for choosing this option. It's negative when the option costs more |
price_bps | what the option charges as a share of the ticket's price, in hundredths of a percent. 10000 is the ticket's own price |
A ticket with times to choose from is only in schedule. To show every ticket, loop through both tickets and schedule.
| Block | What it shows |
|---|---|
event.purchase_form | the form people buy tickets with, including quantities, options, add-ons, the discount code box, the summary and the button. If you leave it out, you see a warning when you save |
event.description | the description, formatted as on the built-in page |
event.notes | the pieces you've placed on the page in Content, each in an <event-notes> element with its name in data-piece. It's empty when you haven't placed any |
content view
The file is views/content.figh. It's used for a page written in Content that has its own address.
| Drop | What it holds |
|---|---|
content.title | the page's title. The built-in page doesn't show it |
content.address | the last part of the page's address, like getting-here |
content.name | the piece's name, the same one data-piece uses |
content.event | the event the page belongs to, with the same values as order.event. A page that belongs to your account has no content.event |
The view has to include <figh-block name="content.body"/>, which is the page's text. Without it, people see the built-in page.
order view
The file is views/order.figh. It's used for the buyer's order page.
| Drop | What it holds |
|---|---|
order.ref | the order's reference |
order.display_ref | the reference as the built-in page shows it |
order.state | the order's status, like paid or pending |
order.join_url, order.join_note | how to join an online event, empty until the order is paid |
order.name | the buyer's name, which can be empty |
order.email | the buyer's email address with most of the name hidden, like j***@example.com |
order.total, order.total_cents, order.currency | the order's total now, after anything removed or refunded |
order.amount, order.amount_cents | what the buyer paid at checkout |
order.type_summary | "3 × Adult" when every ticket is the same type, otherwise empty |
order.qr_url | the order's QR code image, empty when the event doesn't offer one |
order.apple_pass_url | the order's Apple Wallet pass, empty when there isn't one |
order.google_pass_url | the order's Google Wallet pass, empty when there isn't one. It can be empty when the Apple pass isn't, so check each one |
order.invoice_details_url | the buyer's page for changing who the invoice is made out to, empty when they can't use it |
order.invoice_details_until | the last day they can use that page, like "12 Nov 2026" |
order.tickets | the tickets on the order |
order.answers | the buyer's answers to your questions |
order.items | everything else on the order, like add-ons and donations |
order.item_answers | the buyer's answers about each item, with the item's heading |
order.discounts | the discount codes used on the order |
order.flash | the one-time messages the buyer sees after changing something |
order.event | the event, with name, slug, url, starts_at, venue, venue_address, venue_lat, venue_lng, description and currency |
Each entry in order.tickets:
| Drop | What it holds |
|---|---|
ref, type_name | the ticket's reference and type |
holder_name | the attendee's name, empty when nobody is named yet or the ticket collects no names |
anonymous | true when the ticket type collects no attendee details |
state | valid or void |
url | the ticket's own page |
number | its place in the order, starting at 1 |
sessions | the time chosen, with its time zone, empty when there's none |
Each item in order.items has name, quantity, kind, kind_label (the kind in the buyer's language), total, total_cents, currency, state and on_ticket. An item the buyer can remove also has remove_url and remove_label.
Each discount in order.discounts has code, amount, amount_cents and currency. Each entry in order.item_answers has a label and a list of answers.
order.flash has four values: details_saved, line_removed, add_on_added and invoice_updated. Each one is false or empty unless the buyer has just done that.
| Block | What it shows |
|---|---|
order.actions | the receipt, invoice and calendar links |
order.details | the buyer's email address and answers, with the links to change them |
order.manage | the changes the buyer can make to the order, including canceling it |
order.refund_receipt | the refund receipt link, once anything is refunded |
order.credit_notes | links to the order's credit notes |
The view has to include <figh-block name="order.actions"/>. Without it, people see the built-in page. order.actions, order.details and order.manage are empty until the order is paid.
ticket view
The file is views/ticket.figh. It's used for an attendee's ticket page.
| Drop | What it holds |
|---|---|
ticket.ref, ticket.type_name | the ticket's reference and type |
ticket.holder_name | the attendee's name, empty when nobody is named yet |
ticket.anonymous | true when the ticket type collects no attendee details |
ticket.join_url, ticket.join_note | how to join an online event, empty unless How to join online is on and the ticket is valid |
ticket.state | valid or void |
ticket.qr_enabled | true when the ticket type has a QR code |
ticket.qr_url | the QR code image, empty when qr_enabled is false |
ticket.code_ready | true once the QR code can be shown. Show it only when both this and ticket.qr_url are set |
ticket.apple_pass_url | the ticket's Apple Wallet pass, empty when there isn't one |
ticket.google_pass_url | the ticket's Google Wallet pass, empty when there isn't one |
ticket.checked_in_at | when the attendee checked in, as a Unix timestamp, or 0 before they check in |
ticket.schedule | the attendee's times, each with name, option, starts_at and ends_at |
ticket.answers | the attendee's answers to your questions |
ticket.event | the event, with the same values as order.event |
The view has to include <figh-block name="ticket.actions"/>, which shows the calendar, print and wallet links. Without it, people see the built-in page. ticket.actions is empty unless the ticket is valid.
When a ticket isn't anonymous and ticket.holder_name is empty, nobody has been named on it yet. The built-in page says a name is still needed and has a button to add one. Your theme can say a name is needed, but it can't show that button.
Answers
Each answer in order.answers and ticket.answers has a label, a value written as the built-in page shows it, and files, the names of any uploaded files. Answers to questions only your team can see aren't included.
checkout view
The file is views/checkout.figh. It's used for the page where a buyer pays.
| Drop | What it holds |
|---|---|
checkout.ref | the order's reference |
checkout.buyer_name | the buyer's name, which can be empty |
checkout.notice | a warning, like a declined payment, empty when there isn't one |
checkout.items | what's being bought, each with name, quantity and line_total |
checkout.total, checkout.total_cents, checkout.currency | what the buyer is being asked to pay |
checkout.event | the event, with the same values as order.event |
The view has to include <figh-block name="checkout.form"/>, which shows the pay button. Without it, people see the built-in page.
Fields a theme asks for
A view can ask for details about the event, like a photo credit, in a block at the top of the file between two +++ lines. Each detail has a key, a label and a kind. You accept them under Custom themes. Until you do, event.fields.<key> is empty.