Skip to main content

Creating Templates

Start a New Template

  1. Log in to your website's admin panel.
  2. In the admin panel, navigate to the Components menu and select PDF Generator.
  3. Click on Templates in the dropdown menu to access the template management section.
  4. Click on New to begin creating a new template.

Template Information

When creating a template, you'll need to provide the following details:

  • Title: (required) Give your template a descriptive title to easily identify it.
  • Type: (required) Select the type of template you are creating. The default type is "Content," but you can also create "Header" and "Footer" templates. This feature allows users to categorize templates and conveniently reuse headers and footers when creating files.
  • Data Type: (optional) Choose the data type based on the support plugin you are using:
    • If you are using the Joomla support plugin, select "Joomla!" as the data type.
    • If you are using the FLEXIcontent support plugin, choose "FLEXIcontent" as the data type.
  • Content Type: (optional) Choose the content type that corresponds to the specific article/item you want to create a PDF for. The available content types are dynamically retrieved based on the selected data type:
    • For Joomla support plugin users, this refers to Joomla categories (e.g., "Courses," "Events," "Products").
    • For FLEXIcontent support plugin users, this refers to FLEXIcontent types (e.g., "Training Course," "Invoice").
tip

You are not obligated to associate a template with a specific data and content type. If you wish to create a PDF template unrelated to any article/item, such as cover pages or other custom elements, you are free to do so. The editor allows you to design templates for various purposes, offering flexibility in your PDF generation projects.

Template Creation

To start editing your template go to the Editor tab, which provides an intuitive drag-and-drop interface for building your template. Check the next section "Template Editor" for more information.

Save Your Template

Once you've designed your template, click "Save" to save your changes.

Your template is now ready to be used to generate PDFs.