-
Notifications
You must be signed in to change notification settings - Fork 23
Theme Packaging Checklist
You can create your own theme from scratch, but starting with one of the default themes is usually easier. There’s one requirement: if you want to use the SCSS or LESS files included with a theme, you need to have Node.js and Gulp CLI (version 4 for now) installed on your computer.
-
Create a folder for your theme inside the
\DesktopModules\ActiveForums\themesdirectory (for example,custom-theme). -
On the project’s GitHub page, look for the
theme-source.zip.resourcesfile inside the theme folder you want to use as a base: https://github.com/DNNCommunity/Dnn.CommunityForums/tree/dev/Dnn.CommunityForums/themes -
Download this file and rename it to end with
.zip(remove.resources). -
Extract its contents into your
custom-themefolder. -
Open the folder in VS Code.
-
In the command window, type:
npm installThis will install all the Node modules required to build the theme. You can ignore any security warnings, as we’re not running this on a server.
-
Now type:
gulpand press Enter.
-
When you edit the
.scssfiles, thetheme.cssfile should be automatically re-generated. -
Place a test Forums module on your site.
-
Go to Module Settings > DNN Community Forums Settings:
- a. Under Theme, select your custom theme.
- b. Open Advanced Settings, and under Enable Template Caching, select No. (Do not disable this on a live site.)
-
You should now be all set to develop your own theme.
If you want to generate your own source file (like the one you downloaded earlier), you can run the following command:
gulp source
-
Copy existing
community-defaulttheme (using tool of choice)

-
If you want to test it within an existing DNN instance, copy it to the
themesfolder in YOUR DNN instance
You will then see it in the Community Forums module settings as an available theme:

-
Make any edits you want

-
Optional: Submit to dnncommunity (or git hub) If you want to donate to the community ....
This module is the official forums module for DNN and is used on the official DNN CMS Community website.
- Forums
- Email Notifications
- Polls
- Tags
- Categories
- Attachments
- Avatar injection (new in 9.1)
- Recycle Bin (new in 9.1)
- Badges (new in 9.2)
- User Mentions (new in 9.3)