Knowledge Base

File extensions

Last Modified:
10 Dec 2018
User Level:
Administrator

Description

TERMINALFOUR allows you to define additional file extensions for publishing various types of content. For example, if you wish to publish a Channel using HTML, PHP and XML, this can be done by creating new file extensions.

The extensions created can be applied to Channels, Page Layouts and Content Layouts. Extensions are defined on a system-wide basis and then selected by channels. For example, one Channel may publish both PHP and HTML and a different Channel can be created to only publish XML.

TERMINALFOUR comes with several pre-loaded file extensions for use in the system. These file extensions are used by a Channel when publishing a site.

To configure the list of available file extensions, go to System Administration > System Settings > File Extensions

Examples of additional filename extensions would include:

  • .php
  • .xml
  • .aspx

When you click File extensions, the existing configured file extensions are displayed.

Create new file extension

To add a new File extension, click Create new file extension and enter the details:

ItemDescription
Allow conflicting updates to file extensions

It is recommended to leave this unchecked.

If checked, you can create conflicts between Channels, Page Layouts and Content Layouts using alternative extensions. For example, if a page layout applied to a section needs a PHP extension, you can mirror content that requires a JSP extension into the section, creating a conflict.

Name Sets the name of the file extension
Description Sets the description of the file extension
Extension Sets the suffix file extension without the dot (examples: csv, xml, php)