SaaS Module for Concord CRM
๐Ÿ‘‰ Get it now!Concord CRM modules ยป
  • ๐Ÿ™ŒSaaS module for Concord CRM
  • Getting Started
    • โšกRequirements
    • ๐Ÿ› ๏ธActivating the module
    • ๐Ÿ”ŒConfiguring the module
      • ๐Ÿ’ป1) Webhost Configuration
        • cPanel
        • Plesk
        • CloudPanel
        • Virtualmin
        • All other / No Panel (nude) setups
        • MySQL Root
      • ๐ŸŒ2) DNS & SSL Settings
        • cPanel DNS settings for Wildcard Subdomain + SSL Support
        • Plesk DNS settings for Wildcard Subdomain + SSL Support
        • CloudFlare DNS settings for Wildcard Subdomain + SSL Support
        • All other providers / Self hosted
      • โš™๏ธ3) Module's General Settings
      • ๐Ÿ”—4) Module's Integration Settings
  • How to use saas module
    • ๐ŸŽฏCreating a quota
    • ๐Ÿ“ฆCreating a package
    • ๐Ÿ›๏ธTenant Self-Registration (frontend)
    • ๐Ÿ—๏ธCreating a Tenant (backend)
    • โœ๏ธEditing a Tenant
    • โŒDeleting a Tenant
    • ๐ŸŒCustom Domain support
    • Common Tenant operations
    • ๐Ÿ“„Page & template management
    • ๐Ÿ“ฆInvoice Module Integration โ€“ Enabling monitization features
Powered by GitBook
On this page
  • ๐Ÿงญ Navigating to Page Management
  • โž• Creating a New Page
  • ๐Ÿ‘๏ธ Preview and Upload Template
  • โœจ Dynamic Template Variables
  • ๐Ÿ› ๏ธ Using Blade Syntax in Templates
  • โœ๏ธ Editing Page with Page Builder
  1. How to use saas module

๐Ÿ“„Page & template management

PreviousCommon Tenant operationsNextInvoice Module Integration โ€“ Enabling monitization features

Last updated 2 months ago

The Page & Template Management feature provides a centralized way to create, customize, and manage public-facing pages for your SaaS application. These pages often include pricing, features, or promotional content and are crucial for tenant acquisition.


๐Ÿงญ Navigating to Page Management

To access page management:

  1. Click on the SaaS menu on the sidebar.

  2. Click on the Pages item in the sub-menu item.

This will bring you to the list of all existing pages.


โž• Creating a New Page

  1. Click on the Create Page button.

  2. In the form:

    • Name: Provide a name for the page.

    • Status: Choose between Draft or Archived or Published.

โš ๏ธ Note: Only pages with the status Published can be selected and used as Landing Pages.

Click Save to create the page.


๐Ÿ‘๏ธ Preview and Upload Template

Once a page is created, actions are available in the rightmost Action column:

  • Preview (Eye Icon): View the current version of the page in a new tab.

  • Upload Template: Upload a .zip file to override the design/content of the page.

Uploading Templates

You can upload a fully custom template by clicking the Upload Template button.

  • Upload a .zip file that includes an index.html and all related assets (CSS, JS, images).

  • After upload, the system will use the uploaded content instead of the visual editor.


โ”œโ”€โ”€ index.html
โ”œโ”€โ”€ assets/
โ”‚   โ”œโ”€โ”€ css/
โ”‚   โ”‚   โ””โ”€โ”€ style.css
โ”‚   โ”‚   โ””โ”€โ”€ responsive.css
โ”‚   โ”‚   โ””โ”€โ”€ ......
โ”‚   โ”œโ”€โ”€ js/
โ”‚   โ”‚   โ””โ”€โ”€ main.js
โ”‚   โ”‚   โ””โ”€โ”€ utilities.js
โ”‚   โ”‚   โ””โ”€โ”€ ......
โ”‚   โ””โ”€โ”€ images/
โ”‚       โ””โ”€โ”€ logo.png
โ”‚       โ””โ”€โ”€ background.jpg
โ”‚       โ””โ”€โ”€ .......

Important Notes:

  • index.html must be in the root of the archive.

  • All styles, scripts, and images must reside inside the respective assets subfolders.

  • Ensure all content is sourced from trusted origins, including any external files or CDNs.

Once uploaded, the page will use this custom template instead of the visual editor content and can be customized via the visual editor.


โœจ Dynamic Template Variables

Uploaded templates support Blade-style templating with predefined variables.

โœ… Available Variables

[
    // Global Variables
    'PAGE_BUILDER_BASE_URL',
    'PAGE_BUILDER_PAGE_URL',
    'SAAS_LOGO',
    'PACKAGES',

    // Package Variables (within each item of PACKAGES)
    'name',
    'description',
    'base_price',
    'recurring_period',
    'trial_period',
    'db_scheme',

    // Quota Variables (within each package's 'quotas')
    'quotas' => [
        'name',
        'description',
        'models',
        'limit',
    ]
]

๐Ÿ› ๏ธ Using Blade Syntax in Templates

You can use standard Blade syntax to dynamically generate content within your uploaded HTML templates.

๐ŸŒ€ Looping Through Packages

@foreach($PACKAGES as $package)
    <div class="package">
        <h2>{{ $package['name'] }}</h2>
        <p>{{ $package['description'] }}</p>
        <p>Price: {{ $package['base_price'] }}</p>
    </div>
@endforeach

โœ… Conditionals

@if($package['trial_period'])
    <p>Includes trial period support.</p>
@else
    <p>Subdomain only.</p>
@endif

๐Ÿ“ฆ Accessing Nested Quotas

@foreach($package['quotas'] as $quota)
    <div class="quota">
        <h4>{{ $quota['name'] }}</h4>
        <p>{{ $quota['description'] }}</p>
        <p>Limit: {{ $quota['limit'] }}</p>
    </div>
@endforeach

โœ๏ธ Editing Page with Page Builder

You can also visually customize a page using the Landing Page Editor.

  • Click on the Page Name from the list.

  • This will open the Page Builder.

  • Use the drag-and-drop interface to add or modify sections, text, and images.

  • Click Save when you're done editing.