Global Template Preferences

Control Panel Location:  Templates > Global Template Preferences

This section of the Control Panel allows you to define global preferences which globally affect all Templates.

404 Page

This determines which template should be displayed when someone tries to access an invalid URL. If you choose "None", your default index page will be shown when an invalid URL is requested.

Note: If you use this option you must make sure that all your "path" variables in your templates specify the template group and the template, like this: {path=weblog/index}

Save Template Revisions

If this preference is set to "Yes", then any changes you make to one of your Templates will be saved. This allows you to keep a record of all changes made so that you can easily revert back to an earlier version of a Template if you need to do so.

Maximum Number of Revisions to Keep

The maximum number of revisions that should be kept for each template. For example, if you set this to 5, only the most recent 5 revisions will be saved for any given template. This setting helps ensure that your database does not get too large due to storing Template revisions.

Allow Templates to be Saved as Files?

This determines whether your Templates are saved out to a flat text file when you save them. See the Flat File Templates section for specific information.

Basepath to Template File Directory

This is the server path to the folder you have created to hold the Template files. It is important that you use the server path for the preference and not a URL. A server path often looks similar to:

/home/usr/domain.com/http_docs/system/template_files/

Server paths will vary from server to server, so you should contact your Host or server admin if you are unsure of what your setting should be.

See the Flat File Templates section for more information.

Top of Page

User Contributed Notes

You must have an ExpressionEngine license and have attained a forum rank of "Lab Assistant" (100 posts) to contribute notes to the User Guide