Skip to content

Dependencies

johnhenley edited this page Dec 6, 2023 · 5 revisions

DNN Community Forums Dependencies

The Community Forums module requires:

  • DNN version 09.09.00 or higher

The Community Forums module loads external libraries:

FontAwesome 4.7

Is used for the edit icons etc. As of version 8 of the module this dependency is installed to ~/DesktopModules/ActiveForums/Resources and loaded using the DNN Client Resource Management APIs from code.

If you have a CSS Include tag, like this, you no longer need it: <dnn:DnnCssInclude runat="server" FilePath="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" Priority="10" Name="fontawesome" Version="4.7.0" />

If you do want to use a different version of FontAwesome, you can add your own tag and load a different version of FontAwesome instead.

Example:

<!-- FontAwsome 5 + 4 shim--> <dnn:DnnCssInclude runat="server" FilePath="vendors/fontawesome-free-5.15.4-web/css/all.css" Name="fontawesome" Version="5.15.4" Priority="15" PathNameAlias="SkinPath" /> <dnn:DnnCssInclude runat="server" FilePath="vendors/fontawesome-free-5.15.4-web/css/v4-shims.min.css" Name="fontawesome-shim4" Version="5.15.4" Priority="15" PathNameAlias="SkinPath" />

The DNN Client Resource Management will do a comparison for all extensions with the same "Name" attribute entries and only load the one with the highest "Version" attribute. This avoids loading two versions of the same library.

More information: DNN Client Resource Management documentation