### HTML Example with Integrated Feature Tooltips Source: https://lagom.rsstudio.net/docs/website-builder/section-products This comprehensive HTML example integrates Bootstrap tooltips into a product feature list. Each list item can optionally include a tooltip for extra details, enhancing user information. ```html ``` -------------------------------- ### Replace Single Table Engine with InnoDB SQL Source: https://lagom.rsstudio.net/docs/order-form/installation This SQL query allows you to change the storage engine of a specific table to InnoDB. It requires you to know the table name and have access to phpMyAdmin or a SQL client. Ensure you replace `table_name` with your actual table name. ```sql ALTER TABLE `table_name` ENGINE = InnoDB ``` -------------------------------- ### Apache Configuration for Lagom Order Form Source: https://lagom.rsstudio.net/docs/order-form/installation Configure Apache's .htaccess file to handle order redirects for the Lagom WHMCS One Step Order Form. This involves adding RewriteRule directives to map custom order URLs to the order.php script. Adjustments are needed for installations in subfolders. ```apache RewriteBase / #one-step-order RewriteRule ^order/(.*)$ order.php?m=OneStepOrder&gid=$1 [L] ``` ```apache RewriteBase / #one-step-order RewriteRule ^order/(.*)$ order.php?m=OneStepOrder&gid=$1 [L] ``` ```apache RewriteBase / #one-step-order RewriteRule ^store/order/(.*)$ order.php?m=OneStepOrder&gid=$1 [L] ``` -------------------------------- ### Nginx Configuration for Lagom Order Form Source: https://lagom.rsstudio.net/docs/order-form/installation Configure Nginx to properly route requests for the Lagom WHMCS One Step Order Form. This includes setting up location blocks for order processing and API requests. Two alternative configurations are provided to ensure compatibility. ```nginx location /order { rewrite ^/order/(.*)$ /order.php?m=OneStepOrder&gid=$1; } location /modules/addons/LagomOrderForm/api/ { try_files $uri $uri/ /modules/addons/LagomOrderForm/api/index.php?$args; } ``` ```nginx location /order { rewrite ^/order/(.*)$ /order.php?m=OneStepOrder&gid=$1 break; } location /modules/addons/LagomOrderForm/api/ { try_files $uri $uri/ /modules/addons/LagomOrderForm/api/index.php?$args; } ``` -------------------------------- ### HTML for Inline Product Description List Source: https://lagom.rsstudio.net/docs/website-builder/section-products This HTML code provides an example of an inline product description using an unordered list with specific classes. It highlights product specifications with icons and values. ```html ``` -------------------------------- ### Check WHMCS Database Engine using SQL Source: https://lagom.rsstudio.net/docs/order-form/installation This SQL query is used to check the database engine for all WHMCS tables, ensuring that the InnoDB engine is being used as required by the Lagom module. This is typically performed via phpMyAdmin. ```sql show table status; ``` -------------------------------- ### HTML for Product Feature List Source: https://lagom.rsstudio.net/docs/website-builder/section-products This snippet demonstrates how to create an unordered HTML list for product features. It uses `
  • ` tags and includes an example of a premium features divider with a specific class. ```html ``` -------------------------------- ### HTML Custom Icon Implementation Source: https://lagom.rsstudio.net/docs/website-builder/section-product-comparison This code snippet demonstrates how to implement custom icons within the Product Comparison section using HTML. It shows examples for Font Awesome icons and custom LS icons, including inline styling for color and margin. This allows for visual customization of feature listings. ```html ``` ```html Feature name ``` -------------------------------- ### Replace All MyISAM Tables to InnoDB SQL Source: https://lagom.rsstudio.net/docs/order-form/installation This set of SQL queries helps in changing the storage engine of all MyISAM tables within a specified database to InnoDB. It involves two steps: first, generating the `ALTER TABLE` statements, and second, executing them after prefixing with a `USE` statement. Replace `WHMCS_DATABASE_NAME` with your actual database name. ```sql SELECT CONCAT('ALTER TABLE ',TABLE_NAME,' ENGINE=InnoDB;') FROM INFORMATION_SCHEMA.TABLES WHERE ENGINE='MyISAM' AND table_schema = 'WHMCS_DATABASE_NAME'; ``` ```sql USE WHMCS_DATABASE_NAME; ALTER TABLE mod_invoicedata ENGINE=InnoDB; ALTER TABLE tblaccounts ENGINE=InnoDB; ALTER TABLE tblactivitylog ENGINE=InnoDB; ALTER TABLE tbladdonmodules ENGINE=InnoDB; ALTER TABLE tbladdons ENGINE=InnoDB; ALTER TABLE tbladminlog ENGINE=InnoDB; ``` -------------------------------- ### Configure WHMCS .htaccess for Subfolder Installation Source: https://lagom.rsstudio.net/docs/website-builder/installation This configuration is necessary when WHMCS is installed in a subdirectory. It involves adding a RewriteBase rule to the .htaccess file to correctly set the base directory for URL rewriting within the subdirectory. ```apache RewriteBase/whmcs ```