DotNetNuke Wiki


SiteMap provider for the Events Module

Modified on 2011/07/16 04:35 PM by cathal Categorized as Provider
DotNetNuke delivers a SiteMap provider which automates the generation of a sitemap for your sites core menu structure. Fortunately the core also allows for extensibility of SiteMaps.

In Events 5.2.0 we have added the functionality to take advantage of the core extensibility. The SiteMap can be enabled in the module settings under SiteMap Settings. This section also allows you to set the following options:-
  • SiteMap Priority - The priority set for the calendar item in the sitemap
  • Days Before - The number of days before the current date to be included in the sitemap
  • Days After - The number of days after the current date to be included in the sitemap

The following line will be added to the sitemap section of your web.config when you install Events 5.2.0, and is required to enable the provider:-
<add name="DNNEventsSitemapProvider" type="DotNetNuke.Modules.Events.Providers.SiteMap, DotNetNuke.Modules.Events" providerPath="~\DesktopModules\Events\Components\" />
 

After your have upgraded the module and enabled the sitemap in the module settings, you should then be able to go to the Search Engine Sitemap page in the Admin menu and see that the DNNEventsSitemapProvider is enabled. Once you clear the cache using the option on the page, you should be able to click on the sitemap link at the top of the page and see your entries in the sitemap.

Attend A Webinar
Start  Professional Edition Trial
Have Someone Contact Me

Like Us on Facebook Join our Network on LinkedIn Follow DNN Corporate on Twitter Follow DNN on Twitter

Advertisers

Sponsors

DotNetNuke Corporation

DotNetNuke (DNN) provides a suite of solutions that make designing, building and managing feature-rich sites and communities fast, easy and cost-effective. The DotNetNuke Platform CMS is the foundation for more than one million websites worldwide. DNN Social, our newest solution, enables businesses to create immersive, interactive communities. Thousands of organizations like True Value Hardware, Bose, Cornell University, Glacier Water, Dannon, Delphi, USAA, NASCAR, Northern Health and the City of Denver have leveraged DNN to deploy highly engaging business- critical websites. Our rapid growth in product sales and deployments resulted in DotNetNuke Corp. being named one of the fastest growing private companies in America by Inc. Magazine in 2011 and 2012.