Hi @Aniekan-Akai ,
The layout.tpl file works as the main frontend layout wrapper in QloApps. The line:
{if !empty($template)}{$template}{/if}is used to load the dynamic page content assigned by the controller, such as the homepage, CMS page, booking page, room page, etc.
In simple terms:
layout.tpl controls the overall page structure
$template contains the actual page content
header.tpl manages the header section of the website
So, for UI changes:
Use layout.tpl for overall page layout changes
Use page-specific .tpl files for content section changes
Use header.tpl for header-related customization
If you face any difficulties, kindly create a ticket with detailed requirements/screenshots so our team can assist you further: