Theme System

The Theme System implements the frontend presentation layer for the Hotelaro hotel management system. It provides a component-based architecture for rendering public-facing hotel websites using the "Moonlit" theme. This system handles page templates, reusable UI components, and asset management for the hotel's public website.

For information about the website builder functionality that customizes these themes, see Website Builder. For details about the backend administrative interface, see Administration System.

Theme Architecture Overview

The Moonlit theme follows a modular component-based architecture where pages are composed from reusable components. The theme is organized hierarchically with pages, components, and assets.

Page Templates

Component Categories

View Organization

Theme Structure

inc/themes/frontend/Moonlit/

Views/

assets/

Pages/

components/

Index/

header/

footer/

hero/

about/

rooms/

popupmodel/

gallery/

blog.php

about.php

room-*.php

resturant.php

activities.php
    

Component System

The component system provides reusable UI elements that can be included in page templates. Components are organized by functionality and include headers, footers, hero sections, room cards, galleries, and more.