This project is read-only.
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:
    <sectionGroup name="disgrafic">
      <section name="sitemapProvider" requirePermission="false" type="Disgrafic.Modules.Sitemap.SitemapProviderSection, Disgrafic.Provider.SitemapProvider" />
  • 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:
      <add name="SitemapHandler" path="Sitemap.aspx" verb="*" type="Disgrafic.Modules.Sitemap.SitemapHandler, Disgrafic.Provider.SitemapProvider" preCondition="integratedMode,runtimeVersionv2.0" />
      <add verb="*" path="Sitemap.aspx" type="Disgrafic.Modules.Sitemap.SitemapHandler, Disgrafic.Provider.SitemapProvider" preCondition="integratedMode,runtimeVersionv2.0" />
  • at the end of the web.config file, just before </configuration> closing node add:
    <sitemapProvider defaultProvider="coreSitemapProvider">
        <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" />
  • 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 10:01 AM by vmasanas, version 7


No comments yet.