Unleash your creativity and give your website a unique identity by learning how to customize and override existing section types in Lagom WHMCS Website Builder. Your website should be a reflection of your brand and vision, and with Lagom's powerful tools, you can tailor every aspect to suit your needs. In this comprehensive documentation article, we will guide you through the process of customizing and overriding section types, providing you with the knowledge and skills to make your website truly your own.
Whether you are looking to tweak the appearance, add new functionality, or integrate your own design elements, we've got you covered. Join us on this journey, where you'll discover the freedom to shape your website according to your unique preferences, without limitations. Let's get started and unlock the full potential of Lagom WHMCS Website Builder to create a website that stands out from the crowd.
Before diving into the process of customizing your section types in Lagom WHMCS Website Builder, it is essential to be aware that such modifications require a foundational understanding of HTML, CSS, PHP, and Smarty code. These fundamental skills are necessary to ensure a smooth and effective customization process.
If you are not proficient in these languages, we strongly advise against attempting any customization. Please be aware that our Technical Support team does not provide assistance with code customization for our products, as this goes beyond the scope of typical support services.
However, if you lack the necessary coding expertise but still wish to pursue customizations, we offer custom development services at an hourly rate. Our dedicated development team is available to assist you in bringing your vision to life. Do not hesitate to reach out for professional assistance to make your Lagom Website truly your own.
The section types in Lagom WHMCS Website Builder are conveniently stored on your WHMCS server within the directory /templates/lagom2/core/cms/sections/config
. Within this directory, you will discover a range of folders housing various section types, offering you a diverse selection of options to enhance your website.
/banner/
- Banner Default/banner-domain/
- Banner Domain/banner-form/
- Banner Form/call-to-action/
- Section Call To Action/compare packages/
- section in progress/domain-search/
- Section Domain Search/faq/
- Section FAQ/featured-tlds/
- Section TLD List/features-sides/
- Section Features Sides/features/
- Section Features/graphics/
- Section Graphics/kb-popular-articles/
- section in progress/legal/
- Section Legal/location-map/
- section in progress/predefined-section/
- section required for "Predefined Sections", ignore that folder./product-groups/
- Section Product Groups/products/
- Section Products/screen-slider/
- section in progress/stats/
- Section Stats/testimonials/
- Section Testimonials/tld-table/
- Section TLD TableTo overwrite existing section type files, you have to duplicate the file, which you'd like to overwrite, and add __overwrites
at the end of its name. For example, if we decide to overwrite the banner
section files, we have to go to the /templates/lagom2/core/cms/sections/config/banner/
folder, and then duplicate and rename the files:
banner__overwrites.tpl
section__overwrites.tpl
In the Lagom WHMCS Website Builder, the "Common" folder, located in /templates/lagom2/core/cms/sections/common
folder, plays a pivotal role in streamlining your customization process. This folder contains essential .tpl
files that are frequently used across multiple section types. By centralizing these shared resources, we eliminate the need for duplicating code and simplify the customization of multiple section types simultaneously.
It is important to note that, when making changes to these files, it is best practice to create an override file. Implementing alterations directly to the core theme files may lead to potential issues, as these changes can be overwritten by subsequent product updates. Safeguard your customizations and ensure their longevity by using override files for a seamless and efficient website-building experience.
Overwrite function for common files, works exactly the same, as overwrites for Lagom WHMCS Client Theme (opens new window). For example, if you decide to create an overwrite for /templates/lagom2/core/cms/sections/common/package/price.tpl
file:
/templates/lagom2/core/cms/sections/common/package/overwrites/
,/overwrites/
folder which you created in first step,{/if}
tag: