Skip to content

Templates

johnhenley edited this page Sep 5, 2023 · 9 revisions

Template Usage

In the Control Pane and Module Settings you can select what Templates the module should use.

When you select "Default" the default Templates stored in the "\DesktopModules\ActiveForums\config\templates" folder are used.

Control Panel Select Template

The other Templates you can select / create are stored in the database (in the "activeforums_Templates" table).
When you create a custom template it's better not use the .txt files in the folder mentioned above as they will be overwritten on an upgrade of the module.

Beginning with version 8.0, templates are now stored and retrieved from the file system See Editing Templates

You can however use these to create a new template, although you should realise that you must clear the DNN cache for every change as the file's content is cached for performance reasons.
When you are done testing, copy the templates to a "custom template" using the template editor. (if you forget this step your work will be lost on the next module upgrade).

Control Panel

Template Types

Email Template

Forum View Template

ModEmail Template

PostInfo Template

Quick Reply Template (new in 08.00.00)

Reply Form Template

System Template

Topic Form Template

Topic View Template

Topics View Template

User Profile Template