Skip to content

Templates

Timo Breumelhof edited this page Oct 21, 2021 · 15 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.
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 to edit the .txt files in the folder mentioned above as they will be overwritten on an upgrade of the module.
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).

Template Types

Email Template

Forum View Template

ModEmail Template

PostInfo Template

Reply Form Template

System Template

Topic Form Template

Topic View Template

Topics View Template

User Profile Template

Clone this wiki locally