Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This article page aims to describe the different property fields that are involved when creating a new template. 

Template Properties

...

  • Gives access to a record set via a token.
  • Semicolon separates list of data sources e.g. <Products.All>;<User.FirstName>
  • Data source must be strongly typed business object in the format of Name.Function (e.g. Products.All)  


Widget names:

  •  If widgets are used on the template, entering the specific widget names (comma separated) here will automatically load the widget settings. (This field is used by Commerce Vision staff)

 


Widgets used on template:  

  • This box can be ticked instead of listing widget names in the previous field, if widgets are used on the template but the specific names are unknown. Using this method, the page content will be scanned and the system will automatically detect which widgets are in use, and therefore which settings to load. (This field is used by Commerce Vision staff)

...


Invoke Type: Allows campaigns to be set up as Sub Templates (campaigns that are dependent on FormProcessPostBack to handle the button clicks / add to cart postback). This enables the calculation of the 'Total Product Views Direct From Campaign' value. (This field is used by Commerce Vision staff). 


PDF Orientation: Layout orientation of either Portrait or Landscape, for use in PDF Catalogue Exports. Defaults to Portrait if no orientation is selected.
 

...

Parent Report: This field is only used when creating a SubReport Template. When 'SubReport Template' is selected during creation, this field becomes a drop-down list of Report Templates which can be assigned as the Parent. 

 


Word Template:  Microsoft Word documents may be added here to generate templates. (No longer in use)

 


Disable Design Mode: If this box is ticked, design mode (Content Editor tab) of the Content editor will be disabled and only html view (Code Editor tab) will be accessible. 

 


Is Template Branch Customizable: If this box is ticked, the template will be accessible for editing by Branch Administrators on websites with branch-configuration enabled.

...

Content Type: The Template editor page should only be allowed to run templates of a certain "type". This restriction can be managed in this field, effectively creating a filter for records in Template Editor. The template can be set to either 'Content' or 'Layout' type.
 


Template TypeDescription
Product Template

Product Templates are used to format the display of products in detail. A product template can be set at the following levels:

    • System Default Product Template. The product template that is used to display product details across the whole site.
    • Role Level Product Template. The product template that is used for the role. If this is not set, the 'System Default Product Template' is used.
    • Product Category Template. The product template that is used for the products in the category. If this is not set, the 'Role Level Default Product Template' is used.
    • Product Template. The product template that is used for the product. If this is not set, the 'Product Category Template' is used.
    • Campaign Product Template. The product template that is used for the products in the campaign. If this is not set, the 'Role Level Default Product Template' is used.
    • Auction Product Template. The product template that is used for the products in the Auction. If this is not set, the 'Role Level Default Product Template' is used.
Group Template

Group templates are used to display lists of products when browsing categories. When viewing a list of products in a category the way the products are listed is defined using a 'Group Template'. A Group Template can be set at the following levels:

    • System Default Category Template. The template that is used to display lists of products across the whole site.
    • Role Level Default Category Template. The template that is used for the role. If this is not set, the 'System Default Category Template' is used.
    • Product Category Template. The template that is used for the category. If this is not set, the 'Role Level Default Category Template' is used.
    • Catalogue Category Template. The template that is used for the catalogue category. If this is not set, the 'Role Level Default Category Template' is used.

Page Template

Page templates are used for Custom pages and content pages such as the Home page. Custom pages can be displayed with or without navigation controls; this allows a Custom page to be displayed with a completely different look to the rest of the site.
Report TemplateReport templates allow for Report data to be formatted by html, rather than exported to CSV. The output is displayed according to the template, and can be printed by the user if required.
SubReport TemplateSubReport templates are used within Report templates, in a Parent/Child hierarchy.
Viewable TemplateTemplate type no longer in use.
Navigation Template

Navigation templates are used for defining the menu and navigational links around the content on the site. The navigation templates can be set at the following levels:

    • The following settings are used to define the template that is used for navigation. (Navigation sections are the frames around the content that is usually displayed in the middle of the screen.)
      • System Default Header Template.
      • System Default Footer Template.
      • System Default Left Nav Template.
      • System Default Right Nav Template.
    • The following settings are used to define the navigation around the payment pages:
      • System Default Top Payment Template.
      • System Default Bottom Payment Template.
    • The following settings are used to define the the navigation within the content frame:
      • System Default Page Bottom Template.
      • System Default Page Left Template.
      • System Default Page Right Template.
      • System Default Page Title Template.
    • The following settings are used to override the system navigation settings at a role level:
      • Role Level Header Template.
      • Role Level Footer Template.
      • Role Level Left Nav Template.
      • Role Level Right Nav Template.
Email TemplateAll system-generated emails can be formatted using an Email type template. This allows the email to be customised with company logo and fonts or to match emails from another system.
Data Export TemplateTemplates which assist in capturing pre-defined data on the page for serving later.
PDF Catalogue Export TemplateA template used for the generation of a PDF catalogue file.
Page Layout TemplateSimilar to Page Templates, but used when configuring Menu items. A Menu Code has a 'Default Layout Template', which is selected from Page Layout Template types.
Kendo UI TemplateSimilar to Page Templates, but structured to run Kendo scripts and utilise Kendo logic. (Used by Commerce Vision staff)
CSV Catalogue Export TemplateDefines the CSV file format for Catalogue Exports when using the Price Book Export function. (Used by Commerce Vision staff)
Alert TemplateA template used for Alerts within the Article Maintenance module.

...


Related

...

help

Content by Label
showLabelsfalse
max5
spacesKB
showSpacefalse
sortmodifiedshowSpacefalse
reversetrue
typepage
cqllabel in ("templates","template") and type = "page" and space = "KB"
labelstemplate templates properties