Skip to main content

MEC-Templates – Options in the Website Tab

The MEC templates A, D, Grooss, Green provide their center admins with a growing collection of tabs in the dashboard under Center → Website, allowing them to adjust the look of their center page without coding. This page gives you an overview of where each option is located and what it does.

Note: The availability of the tabs depends on the selected website template. You can find the selection under Website → Activation → Website Template.


Page Layouts (New Tab)

Each of the four MEC templates has a tab “Page Layouts” in the website tab. Here you can choose from several display variants for each subpage. If you don't select anything, the template default will apply – this corresponds to the live parity (as it appears on the original live center).

What variants are available?

PageVariantsWhen to use?
News“Classic” (3-column list, Template-A-Live) or “Flex-Grid” (large tiles, Grooss/Green/D-Live)Classic looks tidy for news centers with lots of text; Flex-Grid highlights images
Offers“Classic” (4-row with inline detail, Template-A-Live) or “Flex-Grid” (2 columns with price badge, Grooss/Green-Live)Classic for lists with many offers; Flex-Grid for standout promotions
Jobs“Classic” (standard container, Template-A-Live) or “Grooss-Style” (spacing lines between shops, Grooss/Green-Live)Grooss-Style with lines is clearer for multiple shops with job postings; Classic is more compact
Service“Classic” (Template-A-Live), “Grooss-Style” (Grooss-Live) or “Green-Style” (Green-Live with service wrapper)Green-Style shows additional subtitles per service

How do I use this?

  1. Open Website → Page Layouts.
  2. Click on a variant for each page. The active variant is highlighted in color; below it is the template default, which applies when nothing is selected.
  3. Save – the center website will render the new variant upon the next visit.
  4. “Reset to Template Default” discards the center-specific selection.

Technically: The value is stored under templateContent[<template-key>].pageLayouts.<page> (e.g., templateContent['mec-template-grooss'].pageLayouts.offers = 'classic'). If the field is not set or deleted, the template default from the code applies – see Developer-Guide: _mec-shared components.

Which template has which options?

TemplateNewsOffersJobsService
Aclassic ↔ flexclassic ↔ flexclassic ↔ groossclassic ↔ grooss ↔ green
Dclassic ↔ flex— (D uses its own implementation)
Groossclassic ↔ flexclassic ↔ flexclassic ↔ groossclassic ↔ grooss ↔ green
Greenclassic ↔ flexclassic ↔ flexclassic ↔ groossclassic ↔ grooss ↔ green

Template D has a separate, hardwired implementation for offers/jobs/service outside of the shared components; therefore, there is no layout choice.


Managing Page Hero Images and SEO

For the most important subpages, there are specific tabs per template where you can manage page titles, subtitles, a hero image (via file upload, with stock images as an alternative), and SEO meta fields:

  • Page: News
  • Page: Offers
  • Page: Jobs
  • Page: Service
  • Page: Contact
  • (Page: Shops – has existed for some time)
  • (Page: Voucher / Page: Impressions / Page: Offers (Detail) – only Template D)

The contents are independent of the template and stored in the database (API page-content with pageType). If a center changes the template, the hero image and meta texts remain intact.

Tip: MEC templates have their own Page: ... tabs – “Page Texts” (dropdown) is hidden for this purpose (Navigation in the Website Tab). Directions in the “Directions” tab (all MEC templates). Imprint, Data Protection, and Legal Notices for MEC templates in the “Legal” tab (see below).


For all MEC templates (A, C, D, Grooss, Green, ShopBox), there is a common tab “Legal” in the website tab.

PageRouteContent
Imprint/impressumFree text optional; otherwise structured fields from the Legal tab
Data Protection/datenschutzlike Imprint
Legal Notices/rechtliche-hinweiseFree text/HTML (only A/C/D/Grooss/Green; ShopBox without this route)

Company data (operator, register, data protection officer, imprint address) remains in the Legal tab under “Legal & Preview.” In the Legal tab, you can optionally manage the free text mode per page, formatted content, and SEO (meta title, meta description).

Legacy: Previously, the terms and conditions/notices text was under pageType agb (route /agb). MEC links in the footer /rechtliche-hinweise. Existing agb texts will continue to be displayed on the website until you save them under Legal → Legal Notices.


Directions (Tab “Directions”)

For all MEC templates (A, C, D, Grooss, Green, ShopBox), there is a specific tab “Directions” in the website tab.

Template GroupWhat you manage there
A / C / D / Grooss / GreenPage title (h1) and transport blocks (car, public transport, bicycle…) with optional icons and nested text blocks – as in Legacy MEC Repeater
ShopBoxSection title, map embed, address lines, and arrival blocks (heading/body, optional link)

Map & Coordinates: The map on the directions page uses the center coordinates from the master data (which are taken from address or directions.address during MEC import, if available).

MEC Import: During import from the Legacy MEC, the repeater fields directions.<language>.transport[] including textblock[] are automatically written to this tab (ShopBox additionally as flat blocks). Details: Developer-Guide: MEC Import.


Hotspot / Wi-Fi (Tab “Hotspot / Wi-Fi”)

For MEC Template A, C, D, Grooss, Green (not ShopBox), there is a tab “Hotspot / Wi-Fi” in the website tab. The public page is located at /hotspot – without the regular center header/footer (captive portal as in Legacy MEC).

AreaContent
ActiveHotspot open vs. closed (slogan/text “closed”). Additionally, the center opening hours apply (Europe/Berlin); the window can be extended by the shop “real” – as in Legacy MEC (isOnline()).
ImagesPerson, provider logo, slogan open/closed
TextsSubheader, two checkbox texts, button, opt-out (HTML possible)
MerakiOptionally fixed continue URL instead of query parameters from Meraki

Storage location: themeOverrides.templateContent.hotspot (template-wide).

MEC Import: Endpoint /hotspot?center_id=… is uploaded during import under Website Configuration to Bunny and written to this tab.

Meraki: The form posts to POST /api/[center-slug]/hotspot/grant and redirects to the Meraki grant URL when both checkboxes are active.


MEC ShopBox – Chrome colours (tab “Header & Navigation”)

In Header & Navigation → block Appearance, you can adjust the dark brand surfaces of the header, footer, logo carousel, and subpage headers.

FieldStorageDefaultEffect
Chrome backgroundcolors.chromeBackground#1e2733Header, footer, logo strip, opening-hours modal, subpage hero (shops, news, legal, directions, center plan, …)
Chrome text (optional)colors.chromeTextautomaticNavigation, footer links, modal text
Accent colour (optional)colors.chromeAccent#f97316Nav hover, clock icon, highlighted links

Automatic contrast: If Chrome text is empty, the system picks light or dark text based on the background. Borders and secondary surfaces are derived from the background colour.

Empty = live parity: If all three fields are empty, the previous look is unchanged.


MEC ShopBox – Light Subpages (Tab “Header & Navigation”)

For mec-shopbox there is a switch “Light Subpages” in the tab Header & Navigation under Options.

StateEffect
Off (default)As before: dark subpages (#1e2733 / #0f1720), light tiles on shops/news/opening hours, dark page header. Live parity remains intact.
OnSubpages with a light background (#f8f9fa), white header area, and dark text; tiles and forms remain readable (white cards / adjusted text colors).

Affected include: Shops, News, Opening Hours, Directions, About Us, Rental, Center Plan header, Imprint, Data Protection, Contact.

Technically: templateContent['mec-shopbox'].subpageTheme = 'light' (only when active; if the field is missing → dark).

Passage & Access (Opening Hours Page)

In the same tab Header & Navigation → Options, the switch “Passage & Access on Opening Hours” controls the white info card at the top of /oeffnungszeiten (“Your Visit to the Center,” optional center times from the master data).

StateEffect
On (default)Card is displayed (as before / live parity).
OffOnly the block Business Hours (and possibly services) remains visible.

Technically: templateContent['mec-shopbox'].passageInfoEnabled = false disables it; if the field is missing → on.


For MEC Template A, C, D, Grooss, Green and MEC ShopBox, there is a specific tab “Rental” in the website tab. Here you control the menu item Rental in the main navigation – independent of the later page layout under /vermietung.

OptionEffect
Show menu itemOn/Off (corresponds to the optional link in the MEC original header.tpl)
Label in menue.g., “Rental”
Own page in cockpit (/vermietung)Off (default): external link. On: link to cockpit page /vermietung (layout to follow later)
External linkURL that opens in a new tab (target=_blank), default: MEC portal

Technically: templateContent[<template-key>].header.rental with label, externalUrl, useInternalPage, enabled. The older key header.rentalUrl (Template D) is still read.

MEC ShopBox: In the tab “Rental,” additionally, the homepage section (title, intro, form) and the navigation options.


Cross-references

Nutzungsstatistik: Seitenaufrufe werden anonymisiert erfasst. Im Umami-Dashboard nach diesem Pfad filtern: /en/center-website/mec-webseiten-tab-optionen