kiosk_nav
Kiosk Navigation is a helper module designed to enable kiosk-like navigation for Drupal sites.
This module simplifies the process of transforming your site into kiosk interface by loading specific entity view modes based on query parameters.
How it works
Kiosk Navigation currently supports two kiosk modes:
- Horizontal: kioskh
- Vertical: kioskv
By adding the appropriate query parameter (e.g., ?kioskh) to a URL, the module performs the following actions:
- Attempts to load the entity's kiosk-specific view mode (e.g., kioskh). If no such view mode is defined for the entity, no changes will be applied, and the default behavior persists.
- The query parameter is retained across navigation to ensure the kiosk mode remains active. For instance, links clicked within the kiosk interface will automatically include the query parameter, maintaining the kiosk-specific view mode, if available.
- Disables external links for a more controlled kiosk experience.
Basic example
Article content type with a Full Content (full) view mode for its detail page located at: /articles/lorem-ipsum-dolor-sit-amet
To display this page in kiosk mode, simply append the ?kioskh query parameter to the URL: /articles/lorem-ipsum-dolor-sit-amet?kioskh
When the query parameter is present, the module will:
Look for a full_kioskh view mode for the Article entity and render it if defined.
If full_kioskh is not available on Articles, the default full view mode will be used.