Enabling composite files on web.config

Overview

Administrators will be required to adjust the web.config file for enabling composite files for the Client Resource Management module. 

Step-By-Step Guide

  1. Access the web.config file for editing. Please follow the steps in our article Access web.config for further instructions.
  2. Note and perform any edits to add/update the composite files dependency according to your needs (please note the web farms configuration option below):
    <compositeFiles defaultFileProcessingProvider="DnnCompositeFileProcessor" compositeFileHandlerPath="~/DependencyHandler.axd">
    <fileProcessingProviders>
    <!-- <add name="CompositeFileProcessor" type="ClientDependency.Core.CompositeFiles.Providers.CompositeFileProcessingProvider, ClientDependency.Core" enableCssMinify="false" enableJsMinify="true" persistFiles="true" compositeFilePath="~/App_Data/ClientDependency" bundleDomains="" urlType="MappedId" /> -->
    <!-- For webfarms remove the above CompositeFileProcessor and uncomment this section -->

    <add name="CompositeFileProcessor" type="ClientDependency.Core.CompositeFiles.Providers.CompositeFileProcessingProvider, ClientDependency.Core" enableCssMinify="false" enableJsMinify="true" persistFiles="true" compositeFilePath="~/App_Data/ClientDependency" bundleDomains="" urlType="Base64QueryStrings" />

    <add name="DnnCompositeFileProcessor" type="DotNetNuke.Web.Client.Providers.DnnCompositeFileProcessingProvider, DotNetNuke.Web.Client" enableCssMinify="false" enableJsMinify="true" persistFiles="true" compositeFilePath="~/App_Data/ClientDependency" bundleDomains="" urlType="Base64QueryStrings" />
    </fileProcessingProviders>
    </compositeFiles>
  3. Click on the Save Changes button to save your modifications.

Confirmation

The user will now be able to install any new modules and enable the Client Resource Management module on their website.

 

Related Articles:

 

Content Contributor: Michael Ayoub

 

Comments

0 comments

Please sign in to leave a comment.