Skip to content

Templates

John Henley edited this page Oct 17, 2024 · 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.

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

SubscribedEmail

ForumView

ModEmail

PostInfo

QuickReply (new in 08.00.00)

PostActions (new in 08.02.00)

ReplyEditor

SearchResults (new in 08.02.00)

System Template

TopicEditor

Toolbar

ToolbarSearchPopup (new in 08.01.00)

TopicActions (new in 08.02.00)

TopicResults (new in 08.02.00)

TopicSplitButtons (new in 08.01.00)

TopicView

TopicsView

UserProfile

Clone this wiki locally