<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[What is the value of $template &#x5C;themes&#x5C;hotel-reservation-theme&#x5C;layout.tpl]]></title><description><![CDATA[<p dir="auto">To make UI changes to the front page, I understand I would need to make changes to the layout.tpl for my UI changes, but I don't understand where the page layout information that is expected to be in the line</p>
<pre><code>{if !empty($template)}{$template}{/if}
</code></pre>
<p dir="auto">Can some one please provide me some insight on this? I will also be making changes to header.tpl, I'm expecting this information wouldcome in handy there too.</p>
]]></description><link>https://forums.qloapps.com/topic/8045/what-is-the-value-of-template-themes-hotel-reservation-theme-layout-tpl</link><generator>RSS for Node</generator><lastBuildDate>Tue, 19 May 2026 05:13:39 GMT</lastBuildDate><atom:link href="https://forums.qloapps.com/topic/8045.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 12 May 2026 06:44:40 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to What is the value of $template &#x5C;themes&#x5C;hotel-reservation-theme&#x5C;layout.tpl on Mon, 18 May 2026 07:37:57 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="https://forums.qloapps.com/uid/7517">@Aniekan-Akai</a> ,</p>
<p dir="auto">The <strong><strong>layout.tpl</strong></strong> file works as the main frontend layout wrapper in QloApps. The line:</p>
<pre><code>{if !empty($template)}{$template}{/if}
</code></pre>
<p dir="auto">is used to load the dynamic page content assigned by the controller, such as the homepage, CMS page, booking page, room page, etc.</p>
<p dir="auto">In simple terms:</p>
<ul>
<li>
<p dir="auto">layout.tpl controls the overall page structure</p>
</li>
<li>
<p dir="auto">$template contains the actual page content</p>
</li>
<li>
<p dir="auto">header.tpl manages the header section of the website</p>
</li>
</ul>
<p dir="auto">So, for UI changes:</p>
<ul>
<li>
<p dir="auto">Use <strong>layout.tpl</strong> for overall page layout changes</p>
</li>
<li>
<p dir="auto">Use page-specific .tpl files for content section changes</p>
</li>
<li>
<p dir="auto">Use header.tpl for header-related customization</p>
</li>
</ul>
<p dir="auto">If you face any difficulties, kindly create a ticket with detailed requirements/screenshots so our team can assist you further:</p>
<p dir="auto"><a href="https://webkul.uvdesk.com/en/customer/create-ticket/" rel="nofollow ugc">Create Ticket - QloApps Support</a></p>
]]></description><link>https://forums.qloapps.com/post/10089</link><guid isPermaLink="true">https://forums.qloapps.com/post/10089</guid><dc:creator><![CDATA[Aradhana Singh]]></dc:creator><pubDate>Mon, 18 May 2026 07:37:57 GMT</pubDate></item></channel></rss>