Disgrafic
Home | Setup | Configuration | Adding new providers

How to proceed:
  • Download the module and install on your DotNetNuke site as a regular module.

The module will modify the web.config file of your DotNetNuke installation adding the nodes that are required
In case you need to edit the web.config file manually, follow the next steps:
  • Edit the web.config file as follows:
    • at the top of the file, just before the closing </configSections> node add the following lines:
  <configSections>
      ...
    <sectionGroup name="disgrafic">
      <section name="sitemapProvider" requirePermission="false" type="Disgrafic.Modules.Sitemap.SitemapProviderSection, Disgrafic.Provider.SitemapProvider" />
    </sectionGroup>
  </configSections>
  • on the system.webServer (for IIS 7) and system.web (IIS 6) add the following lines on the handlers section, just before the respective closing tags:
  <system.webServer>
    <handlers>
      ...
      <add name="SitemapHandler" path="Sitemap.aspx" verb="*" type="Disgrafic.Modules.Sitemap.SitemapHandler, Disgrafic.Provider.SitemapProvider" preCondition="integratedMode,runtimeVersionv2.0" />
	</handlers>
  </system.webServer>
  <system.web>
    <httpHandlers>
      ...
      <add verb="*" path="Sitemap.aspx" type="Disgrafic.Modules.Sitemap.SitemapHandler, Disgrafic.Provider.SitemapProvider" preCondition="integratedMode,runtimeVersionv2.0" />
    </httpHandlers>
  </system.web>
  • at the end of the web.config file, just before </configuration> closing node add:
  <disgrafic>
    <sitemapProvider defaultProvider="coreSitemapProvider">
      <providers>
        <clear />
        <add name="coreSitemapProvider" 
             type="Disgrafic.Providers.Sitemap.CoreSitemapProvider, Disgrafic.Provider.CoreSitemapProvider"
             providerPath="~\DesktopModules\SitemapProvider\Providers\CoreSitemapProvider" />
        <add name="dnnBlogSitemapProvider"
             type="Disgrafic.Providers.Sitemap.DNNBlogSitemapProvider, Disgrafic.Provider.DNNBlogSitemapProvider"
             providerPath="~\DesktopModules\SitemapProvider\Providers\DNNBlogSitemapProvider" />
        <add name="bigSitemapProvider"
             type="Disgrafic.Providers.Sitemap.BigSitemapProvider, Disgrafic.Provider.BigSitemapProvider"
             providerPath="~\DesktopModules\SitemapProvider\Providers\BigSitemapProvider" />
      </providers>
    </sitemapProvider>
  </disgrafic>
  • Save the web.config file
  • Start your site and create a new page, name it "Sitemap Configuration" and place the new module on it. The module will be listed as SitemapProvider on the list of available modules

Last edited Nov 8, 2009 at 9:01 AM by vmasanas, version 7

Comments

No comments yet.