More in this section

Forums / Developing with Sitefinity / URL REWRITE - Extening Contacts Module

URL REWRITE - Extening Contacts Module

17 posts, 0 answered
  1. Nauman
    Nauman avatar
    23 posts
    Registered:
    02 Jun 2010
    24 Jun 2010
    Link to this post
    Hi Team Telerik,

    I want to extend the intrasite Contacts Module, as of now it provides with two controls for public view those are ContactsListView and SingleContactsView, one have to create 2 pages one for Contacts list and second for Contacts Single view, I need to make couple of changes

    1)I want to categorize contacts based on departments that is i'll make 2 menu items IT and Marketing, selecting any of them will present a page with all the contacts in respective department rather than displaying all the contacts added.

    2)The single view page should work similar as the news module's pages i.e. clicking on a news open the single news page with its own name such as news_whatever.aspx, i want to have the same ability in contacts module, clicking on one contact should open its own page, i think that is achievable via URL Rewrite, but how ??

    TIA

    Nauman
  2. Nauman
    Nauman avatar
    23 posts
    Registered:
    02 Jun 2010
    24 Jun 2010
    Link to this post
    BTW i'm using SF 3.7 SP3
  3. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    25 Jun 2010
    Link to this post
    Hello Nauman,

    The Contacts Module is not Generic Content based module. The functionality - List / Detail mode is specific for ContentView based controls.

    Features like Categories, Tags and DynamicMetafields are available out of the box only for GenericContent based modules.
    To categorize the contacts items you have to create a custom data table where you persist values about the content item and your custom category. Then you need to rebind the controls and filter them

    You can achieve the List / Detail mode functionality  by using url rewriting and add the item content ID to the QueryString of the url ( we do the same in ContentView controls, but the Query String is hidden, because the url is rewritten)

    So in list mode you should append QueryString with the item id to the title of this item. When you click on the title you will make a post back and append the QueryString with the ID to the url. Then you will have a control that reads the ID from the QueryString and shows the item specific data.

    Greetings,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  4. Nauman
    Nauman avatar
    23 posts
    Registered:
    02 Jun 2010
    25 Jun 2010
    Link to this post
    Hi Ivan,

    Thanks for the reply, for list/detail view, should i keep the detail control on the same page or it should be something like a single control with multiple views, on postback I should check the querystring and show the detail view, and will this approach be able to index the detail content for search?

    Regards,

    Nauman
  5. Nauman
    Nauman avatar
    23 posts
    Registered:
    02 Jun 2010
    25 Jun 2010
    Link to this post
    Regarding categorization kindly see the attached image, here in this control i've a property that takes category id, all i want is the property to act something like a selection control where I can select a category populated from the custom table i have in db, and on the display the category name should be displayed.

    Regards,

    Nauman
  6. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    25 Jun 2010
    Link to this post
    Hi Nauman,

    Actually you can use a single control with two  Panels - one will show the  all items and the second panel will show single item. If the QueryString is empty  - you will not do anything in the second panel - there will be no binding and you will not set any data. When there is a data in the QueryString you have to hide the first panel and show the appropriate data for the second.
    As for the category you can crate WebUITypeEdtor to make the selector and then proper binding.

    All the best,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  7. Nauman
    Nauman avatar
    23 posts
    Registered:
    02 Jun 2010
    25 Jun 2010
    Link to this post
    woohoo you guys rock, that's great, well still one question remained unanswered, will my detail content be indexed for search control ?

    Regards,

    Nauman
  8. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    25 Jun 2010
    Link to this post
    Hi Nauman,

    If you index the html, the single content will not be indexed. You have to index the contacts items that have been create and build the link to this item by appending the ID of each item in the url. When you perform search the results will contain the contacts item from the whole module.

    Greetings,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  9. Nauman
    Nauman avatar
    23 posts
    Registered:
    02 Jun 2010
    25 Jun 2010
    Link to this post
    Hi Ivan,

    I tried adding URL ReWriting using URL Rewriting with Sitefinity's AdvancedUrlRewriter but it gives me error. Kindly have a look at the attached image for error.
  10. Nauman
    Nauman avatar
    23 posts
    Registered:
    02 Jun 2010
    27 Jun 2010
    Link to this post
    Hi Ivan,

    Can i get an answer to my question please?

    Regards,

    Nauman
  11. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    27 Jun 2010
    Link to this post
    Hi Nauman,

    Please attach the web.config you use.

    All the best,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  12. Nauman
    Nauman avatar
    23 posts
    Registered:
    02 Jun 2010
    28 Jun 2010
    Link to this post
    Hi Ivan,

    Am not able to attach the web.config, so am putting the code here.

    001.<?xml version="1.0"?>
    002.<configuration>
    003.  <configSections>
    004.    <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
    005.      <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
    006.        <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
    007.        <sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
    008.          <section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere"/>
    009.          <section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
    010.          <section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
    011.          <section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
    012.        </sectionGroup>
    013.      </sectionGroup>
    014.    </sectionGroup>
    015.    <sectionGroup name="telerik">
    016.      <section name="dataAccess" type="Telerik.DataAccess.Configuration.SectionHandler, Telerik.DataAccess" requirePermission="false"/>
    017.      <section name="framework" type="Telerik.Framework.Configuration.SectionHandler, Telerik.Framework" requirePermission="false"/>
    018.      <section name="localization" type="Telerik.Localization.Configuration.SectionHandler, Telerik.Localization" requirePermission="false"/>
    019.      <section name="blogs" type="Telerik.Blogs.Configuration.SectionHandler, Telerik.Blogs" requirePermission="false"/>
    020.      <section name="news" type="Telerik.News.Configuration.SectionHandler, Telerik.News" requirePermission="false"/>
    021.      <section name="versioning" type="Telerik.Versioning.Configuration.SectionHandler, Telerik.Versioning" requirePermission="false"/>
    022.      <section name="lists" type="Telerik.Lists.Configuration.SectionHandler, Telerik.Lists" requirePermission="false"/>
    023.      <section name="cmsEngine" type="Telerik.Cms.Engine.Configuration.SectionHandler, Telerik.Cms.Engine" requirePermission="false"/>
    024.      <section name="security" type="Telerik.Security.Configuration.SectionHandler, Telerik.Security" requirePermission="false"/>
    025.      <section name="workflow" type="Telerik.Workflow.WorkflowSectionHandler, Telerik.Workflow" requirePermission="false"/>
    026.      <section name="cms" type="Telerik.Cms.Configuration.SectionHandler, Telerik.Cms" requirePermission="false"/>
    027.      <section name="polls" type="Telerik.Polls.PollsSectionHandler, Telerik.Polls" requirePermission="false"/>
    028.      <section name="fileManager" type="Telerik.FileManager.Configuration.SectionHandler, Telerik.FileManager" requirePermission="false"/>
    029.      <section name="forums" type="Telerik.Forums.Configuration.SectionHandler, Telerik.Forums" requirePermission="false"/>
    030.      <section name="rss" type="Telerik.Rss.Configuration.SectionHandler, Telerik.Rss" requirePermission="false"/>
    031.      <section name="search" type="Telerik.Search.Configuration.SectionHandler, Telerik.Search" requirePermission="false"/>
    032.      <section name="personalization" type="Telerik.Personalization.Configuration.SectionHandler, Telerik.Personalization" requirePermission="false"/>
    033.      <section name="libraries" type="Telerik.Libraries.Configuration.SectionHandler, Telerik.Libraries" requirePermission="false"/>
    034.      <section name="events" type="Telerik.Events.Configuration.SectionHandler, Telerik.Events" requirePermission="false"/>
    035.      <section name="notifications" type="Telerik.Notifications.Newsletters.Configuration.SectionHandler, Telerik.Notifications" requirePermission="false"/>
    036.      <section name="spamProtector" type="Telerik.Cms.Engine.SpamProtector.Configuration.SpamProtectorSection, Telerik.Cms.Engine"/>
    037.      <section name="performanceCounter" type="Telerik.Framework.Utilities.HealthMonitoring.Configuration.CountersSection, Telerik.Framework"/>
    038.      <section name="storageSetting" type="Telerik.Libraries.AmazonStorage.StorageSection, Telerik.Libraries" requirePermission="false"/>
    039.      <section name="mediaProvider" type="Telerik.Libraries.MediaProvider.Configuration.MediaProviderSection, Telerik.Libraries" requirePermission="false"/>
    040.      <section name="wiki" type="Telerik.Wiki.Configuration.SectionHandler, Telerik.Wiki" requirePermission="false"/>
    041.      <section name="urlrewrites" type="Telerik.Cms.Web.AdvancedUrlRewriter, Telerik.Cms"/>
    042.    </sectionGroup>
    043.  </configSections>
    044.  <appSettings/>
    045.  <runtime>
    046.    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
    047.      <dependentAssembly>
    048.        <assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35"/>
    049.        <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/>
    050.      </dependentAssembly>
    051.      <dependentAssembly>
    052.        <assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35"/>
    053.        <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/>
    054.      </dependentAssembly>
    055.    </assemblyBinding>
    056.  </runtime>
    057.  <connectionStrings>
    058.    <add name="Sitefinity" connectionString="data source=192.175.0.6;UID=sa;PWD=Sql2008;initial catalog=ThreeDayBlinds" providerName="System.Data.SqlClient"/>
    059.    <add name="ThreeDayBlindsConnectionString" connectionString="Data Source=192.175.0.6;Initial Catalog=ThreeDayBlinds;Persist Security Info=True;User ID=sa;Password=Sql2008" providerName="System.Data.SqlClient"/>
    060.  </connectionStrings>
    061.  <system.web>
    062.    <!-- Sets the allowed upload file size -->
    063.    <httpRuntime maxRequestLength="51200"/>
    064.    <pages>
    065.      <controls>
    066.        <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
    067.        <add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
    068.        <add tagPrefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI"/>
    069.        <add tagPrefix="telerik" namespace="Telerik.Charting" assembly="Telerik.Web.UI"/>
    070.        <add tagPrefix="telerik" namespace="Telerik.Cms.Web.UI" assembly="Telerik.Cms.Web.UI"/>
    071.        <add tagPrefix="telerik" namespace="Telerik.Cms.Web.UI" assembly="Telerik.Framework"/>
    072.      </controls>
    073.    </pages>
    074.    <httpHandlers>
    075.      <add verb="*" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.Upload.RadUploadProgressHandler, Telerik.Web.UI"/>
    076.      <add verb="*" path="*.rss" type="Telerik.Rss.RssHttpHandler, Telerik.Rss"/>
    077.      <add verb="*" path="*.rss.ashx" type="Telerik.Rss.RssHttpHandler, Telerik.Rss"/>
    078.      <add verb="*" path="*.sflb" type="Telerik.Cms.Engine.ContentHttpHandler, Telerik.Cms.Engine"/>
    079.      <add verb="*" path="*.sflb.ashx" type="Telerik.Cms.Engine.ContentHttpHandler, Telerik.Cms.Engine"/>
    080.      <add verb="*" path="*.tmb" type="Telerik.Cms.Engine.ContentHttpHandler, Telerik.Cms.Engine"/>
    081.      <add verb="*" path="*.tmb.ashx" type="Telerik.Cms.Engine.ContentHttpHandler, Telerik.Cms.Engine"/>
    082.      <add verb="*" validate="false" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI"/>
    083.      <add verb="*" validate="false" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler, Telerik.Web.UI"/>
    084.      <add verb="*" validate="false" path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler, Telerik.Web.UI"/>
    085.      <remove verb="*" path="*.asmx"/>
    086.      <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
    087.      <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
    088.      <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/>
    089.      <add verb="GET" path="CaptchaImage.axd" type="Telerik.Web.UI.SpamProtection.Captcha.CaptchaImageHandler, Telerik.Cms.Web.UI"/>
    090.      <add verb="POST" path="blogs/metablog.ashx" type="Telerik.Blogs.MetaWeblog.MetaWeblogHandler, Telerik.Blogs"/>
    091.      <add verb="POST" path="trackback.ashx" type="Telerik.Cms.Engine.Trackback.TrackbackHandler, Telerik.Cms.Engine"/>
    092.      <add verb="GET" path="*.s3lb" type="Telerik.Libraries.AmazonStorage.S3StorageHandler, Telerik.Libraries"/>
    093.      <add verb="GET" path="*.s3lb.ashx" type="Telerik.Libraries.AmazonStorage.S3StorageHandler, Telerik.Libraries"/>
    094.      <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false"/>
    095.    </httpHandlers>
    096.    <customErrors mode="RemoteOnly">
    097.      <error redirect="~/Sitefinity/nopermissions.aspx" statusCode="403"/>
    098.    </customErrors>
    099.    <compilation debug="true">
    100.      <assemblies>
    101.        <add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
    102.        <add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
    103.        <add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
    104.        <add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
    105.        <add assembly="System.Data.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
    106.      </assemblies>
    107.    </compilation>
    108.    <roleManager enabled="true" cacheRolesInCookie="true" defaultProvider="Sitefinity">
    109.      <providers>
    110.        <clear/>
    111.        <add connectionStringName="DefaultConnection" applicationName="/" name="Sitefinity" type="Telerik.DataAccess.AspnetProviders.TelerikRoleProvider, Telerik.DataAccess"/>
    112.      </providers>
    113.    </roleManager>
    114.    <membership defaultProvider="Sitefinity" userIsOnlineTimeWindow="15" hashAlgorithmType="">
    115.      <providers>
    116.        <clear/>
    117.        <add name="Sitefinity" connectionStringName="DefaultConnection" type="Telerik.DataAccess.AspnetProviders.TelerikMembershipProvider, Telerik.DataAccess" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" applicationName="/" requiresUniqueEmail="false" passwordFormat="Hashed" maxInvalidPasswordAttempts="5" passwordAttemptWindow="10" passwordStrengthRegularExpression="" minRequiredPasswordLength="1" minRequiredNonalphanumericCharacters="0"/>
    118.      </providers>
    119.    </membership>
    120.    <profile defaultProvider="Sitefinity">
    121.      <providers>
    122.        <clear/>
    123.        <add name="Sitefinity" connectionStringName="DefaultConnection" applicationName="/" type="Telerik.DataAccess.AspnetProviders.TelerikProfileProvider, Telerik.DataAccess"/>
    124.      </providers>
    125.      <properties>
    126.        <add name="FirstName"/>
    127.        <add name="LastName"/>
    128.        <add name="Position"/>
    129.        <add name="Photo_Hidden"/>
    130.        <add name="Photo" defaultValue="~/Sitefinity/Common/Images/defaultavatar.gif"/>
    131.        <group name="InstantMessenger">
    132.          <add name="IM_Type"/>
    133.          <add name="IM_Value"/>
    134.        </group>
    135.        <group name="Phone">
    136.          <add name="Value"/>
    137.          <add name="Type"/>
    138.        </group>
    139.      </properties>
    140.    </profile>
    141.    <httpModules>
    142.      <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
    143.      <add name="Cms" type="Telerik.Cms.Web.CmsHttpModule, Telerik.Cms"/>
    144.      <!-- Http Module for extension mappings in Library module.-->
    145.      <!--<add name="LibraryModule" type="Telerik.Libraries.LibraryHttpModule, Telerik.Libraries"/>-->
    146.      <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule, Telerik.Web.UI"/>
    147.    </httpModules>
    148.    <authentication mode="Forms">
    149.      <forms name=".ASPNET" loginUrl="~/sitefinity/login.aspx" protection="All" timeout="1440" path="/"/>
    150.    </authentication>
    151.    <authorization>
    152.      <allow users="?"/>
    153.    </authorization>
    154.    <siteMap defaultProvider="CmsSiteMapProvider" enabled="true">
    155.      <providers>
    156.        <clear/>
    157.        <add name="CmsSiteMapProvider" description="Displays Cms Pages" type="Telerik.Cms.Web.CmsSiteMapProvider"/>
    158.      </providers>
    159.    </siteMap>
    160.    <healthMonitoring enabled="true" heartbeatInterval="0">
    161.      <eventMappings>
    162.        <add name="Simple Web Request Event" type="Telerik.Utilities.SimpleWebRequestEvent,Telerik.Framework"/>
    163.        <add name="Code Benchmark Event" type="Telerik.Utilities.CodeBenchmarkEvent,Telerik.Framework"/>
    164.      </eventMappings>
    165.      <providers>
    166.        <add name="Simple Web Event Provider" type="Telerik.Utilities.TextFileWebEventProvider,Telerik.Framework" logFileName="~/App_Data/sitefinity.log"/>
    167.        <add name="Simple Web Buffered Event Provider" type="Telerik.Utilities.BufferedTextFileWebEventProvider,Telerik.Framework" bufferMode="Notification" logFileName="~/App_Data/sitefinity.log"/>
    168.        <add name="Code Benchmark Provider" type="Telerik.Utilities.CodeBenchmarkTextFileProvider,Telerik.Framework" enabled="False" logFileName="~/App_Data/performance.log"/>
    169.      </providers>
    170.      <rules>
    171.        <add name="SitefinityEventHandler" eventName="Simple Web Request Event" provider="Simple Web Event Provider" minInterval="00:00:00" minInstances="1" maxLimit="Infinite"/>
    172.        <add name="SitefinityErrorHandler" eventName="All Errors" provider="Simple Web Event Provider" minInterval="00:00:00" minInstances="1" maxLimit="Infinite"/>
    173.        <add name="SitefinityCodeBenchmarkHandler" eventName="Code Benchmark Event" provider="Code Benchmark Provider" minInterval="00:00:00" minInstances="1" maxLimit="Infinite"/>
    174.      </rules>
    175.    </healthMonitoring>
    176.  </system.web>
    177.  <system.web.extensions>
    178.    <scripting>
    179.      <!--The Following lines value should be true in production server-->
    180.      <scriptResourceHandler enableCompression="false" enableCaching="false"/>
    181.    </scripting>
    182.  </system.web.extensions>
    183.  <system.webServer>
    184.    <validation validateIntegratedModeConfiguration="false"/>
    185.    <modules>
    186.      <remove name="ScriptModule"/>
    187.      <remove name="Cms"/>
    188.      <!--<remove name="LibraryModule"/>-->
    189.      <remove name="RadUploadModule"/>
    190.      <add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
    191.      <add name="Cms" type="Telerik.Cms.Web.CmsHttpModule, Telerik.Cms"/>
    192.      <!-- Http Module for extension mappings in Library module.-->
    193.      <!--<add name="LibraryModule" type="Telerik.Libraries.LibraryHttpModule, Telerik.Libraries"/>-->
    194.      <add name="RadUploadModule" preCondition="managedHandler" type="Telerik.Web.UI.RadUploadHttpModule, Telerik.Web.UI"/>
    195.    </modules>
    196.    <handlers>
    197.      <remove name="ScriptResource"/>
    198.      <remove name="WebServiceHandlerFactory-Integrated"/>
    199.      <remove name="ScriptHandlerFactory"/>
    200.      <remove name="ScriptHandlerFactoryAppServices"/>
    201.      <remove name="SitefinityTemplate"/>
    202.      <remove name="SitefinityThumbnail"/>
    203.      <remove name="SitefinityLibrary"/>
    204.      <remove name="RadUploadProgress"/>
    205.      <remove name="SitefinityRSS"/>
    206.      <remove name="Dialog"/>
    207.      <remove name="Spellcheck"/>
    208.      <remove name="ChartImage"/>
    209.      <remove name="CaptchaImage"/>
    210.      <remove name="Metablog"/>
    211.      <remove name="Trackback"/>
    212.      <remove name="AmazonLibrary"/>
    213.      <remove name="AmazonLibraryAdd"/>
    214.      <remove name="SitefinityThumbnailAdd"/>
    215.      <remove name="SitefinityRSSAdd"/>
    216.      <remove name="SitefinityLibraryAdd"/>
    217.      <remove name="Telerik_Web_UI_WebResource_axd"/>
    218.      <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
    219.      <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
    220.      <add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
    221.      <add name="SitefinityTemplate" path="*.template" verb="*" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" resourceType="Unspecified" requireAccess="Script" preCondition="classicMode,runtimeVersionv2.0,bitness32"/>
    222.      <add name="SitefinityThumbnail" path="*.tmb" verb="*" preCondition="integratedMode" type="Telerik.Cms.Engine.ContentHttpHandler, Telerik.Cms.Engine"/>
    223.      <add name="SitefinityThumbnailAdd" path="*.tmb.ashx" verb="*" preCondition="integratedMode" type="Telerik.Cms.Engine.ContentHttpHandler, Telerik.Cms.Engine"/>
    224.      <add name="SitefinityLibrary" path="*.sflb" verb="*" preCondition="integratedMode" type="Telerik.Cms.Engine.ContentHttpHandler, Telerik.Cms.Engine"/>
    225.      <add name="SitefinityLibraryAdd" path="*.sflb.ashx" verb="*" preCondition="integratedMode" type="Telerik.Cms.Engine.ContentHttpHandler, Telerik.Cms.Engine"/>
    226.      <add name="SitefinityRSS" preCondition="integratedMode" verb="*" path="*.rss" type="Telerik.Rss.RssHttpHandler, Telerik.Rss"/>
    227.      <add name="SitefinityRSSAdd" preCondition="integratedMode" verb="*" path="*.rss.ashx" type="Telerik.Rss.RssHttpHandler, Telerik.Rss"/>
    228.      <add name="RadUploadProgress" verb="*" preCondition="integratedMode" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.Upload.RadUploadProgressHandler, Telerik.Web.UI"/>
    229.      <add name="Dialog" preCondition="integratedMode" verb="*" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI"/>
    230.      <add name="Spellcheck" preCondition="integratedMode" verb="*" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler, Telerik.Web.UI"/>
    231.      <add name="ChartImage" preCondition="integratedMode" verb="*" path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler, Telerik.Web.UI"/>
    232.      <add name="CaptchaImage" preCondition="integratedMode" verb="GET" path="CaptchaImage.axd" type="Telerik.Web.UI.SpamProtection.Captcha.CaptchaImageHandler, Telerik.Cms.Web.UI"/>
    233.      <add name="Metablog" preCondition="integratedMode" verb="POST" path="blogs/metablog.ashx" type="Telerik.Blogs.MetaWeblog.MetaWeblogHandler, Telerik.Blogs"/>
    234.      <add name="Trackback" preCondition="integratedMode" verb="POST" path="trackback.ashx" type="Telerik.Cms.Engine.Trackback.TrackbackHandler, Telerik.Cms.Engine"/>
    235.      <add name="AmazonLibrary" path="*.s3lb" verb="*" preCondition="integratedMode" type="Telerik.Libraries.AmazonStorage.S3StorageHandler, Telerik.Libraries"/>
    236.      <add name="AmazonLibraryAdd" path="*.s3lb.ashx" verb="*" preCondition="integratedMode" type="Telerik.Libraries.AmazonStorage.S3StorageHandler, Telerik.Libraries"/>
    237.      <add name="Telerik_Web_UI_WebResource_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource, Telerik.Web.UI"/>
    238.    </handlers>
    239.  </system.webServer>
    240.  <system.net>
    241.    <mailSettings>
    242.      <smtp from="mailmaster@yourdomain.com">
    243.        <network host="smtp.yourdomain.com" userName="YourUsername" password="YourPassword" port="25"/>
    244.      </smtp>
    245.    </mailSettings>
    246.  </system.net>
    247.  <system.codedom>
    248.    <compilers>
    249.      <compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CSharp.CSharpCodeProvider,System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" warningLevel="4">
    250.        <providerOption name="CompilerVersion" value="v3.5"/>
    251.        <providerOption name="WarnAsError" value="false"/>
    252.      </compiler>
    253.      <compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" type="Microsoft.VisualBasic.VBCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" warningLevel="4">
    254.        <providerOption name="CompilerVersion" value="v3.5"/>
    255.        <providerOption name="OptionInfer" value="true"/>
    256.        <providerOption name="WarnAsError" value="false"/>
    257.      </compiler>
    258.    </compilers>
    259.  </system.codedom>
    260.  <telerik>
    261.    <dataAccess defaultConnection="DefaultConnection">
    262.      <connections>
    263.        <add name="DefaultConnection" driver="Telerik.DataAccess.Providers.ExtendedSqlServer2005Provider, Telerik.DataAccess" connectionStringName="Sitefinity"/>
    264.        <add name="GenericContentConnection" driver="Telerik.Cms.Engine.Data.Providers.GCSql2005Provider, Telerik.Cms.Engine.Data" connectionStringName="Sitefinity"/>
    265.      </connections>
    266.    </dataAccess>
    267.    <framework>
    268.      <caching defaultProvider="memoryCache">
    269.        <providers>
    270.          <add name="memoryCache" type="Telerik.Caching.MemoryCachingProvider, Telerik.Framework"/>
    271.          <add name="ASPNET" type="Telerik.Caching.AspNetCachingProvider, Telerik.Framework" duration="120" slidingExpiration="true"/>
    272.        </providers>
    273.        <cacheDependency mode="InMemory"/>
    274.      </caching>
    275.      <modules>
    276.        <add type="Telerik.Cms.Engine.GenericContentModule, Telerik.Cms.Engine"/>
    277.        <add type="Telerik.News.NewsModule, Telerik.News"/>
    278.        <add type="Telerik.Blogs.BlogsModule, Telerik.Blogs"/>
    279.        <add type="Telerik.Lists.ListModule, Telerik.Lists"/>
    280.        <add type="Telerik.Polls.PollModule, Telerik.Polls"/>
    281.        <add type="Telerik.Forums.ForumsModule, Telerik.Forums"/>
    282.        <add type="Telerik.Libraries.LibrariesModule, Telerik.Libraries"/>
    283.        <add type="Telerik.Events.EventsModule, Telerik.Events"/>
    284.        <add type="Telerik.Notifications.Newsletters.NewsletterModule, Telerik.Notifications"/>
    285.        <add type="Telerik.Wiki.WikiModule, Telerik.Wiki"/>
    286.      </modules>
    287.      <services>
    288.        <add type="Telerik.Search.SearchModule, Telerik.Search"/>
    289.        <add type="Telerik.Search.Engine.IndexingManager, Telerik.Search"/>
    290.        <add type="Telerik.Rss.RssModule, Telerik.Rss"/>
    291.        <add type="Telerik.Rss.RssProviderService, Telerik.Rss"/>
    292.        <add type="Telerik.Cms.Engine.ContentUrlRewriterService, Telerik.Cms.Engine"/>
    293.      </services>
    294.      <tools>
    295.        <add type="Telerik.Cms.Tools.SiteExporter, Telerik.Cms"/>
    296.      </tools>
    297.      <assemblies>
    298.      </assemblies>
    299.      <controlDesigners>
    300.        <add key="System.Web.UI.WebControls.Image" value="Telerik.Libraries.WebControls.ImageEditorDialog, Telerik.Libraries"/>
    301.        <add key="Telerik.Cms.Engine.WebControls.SitefinityImage" value="Telerik.Libraries.WebControls.ImageEditorDialog, Telerik.Libraries"/>
    302.      </controlDesigners>
    303.      <propertySelectors>
    304.        <add key="System.Web.UI.Design.ImageUrlEditor" value="Telerik.Libraries.WebControls.ImageSelector, Telerik.Libraries"/>
    305.      </propertySelectors>
    306.      <sitefinityConfiguration defaultProvider="XmlConfigProvider">
    307.        <providers>
    308.          <add name="XmlConfigProvider" type="Telerik.Sitefinity.Configuration.XmlConfigProvider, Telerik.Framework"/>
    309.        </providers>
    310.      </sitefinityConfiguration>
    311.    </framework>
    312.    <notifications defaultProvider="Notifications">
    313.      <providers>
    314.        <clear/>
    315.        <add name="Notifications" type="Telerik.Notifications.Data.DefaultProvider, Telerik.Notifications.Data" connectionStringName="DefaultConnection" EnableSsl="false" MergedFields="FirstName;LastName" SendingInterval="1000"/>
    316.      </providers>
    317.    </notifications>
    318.    <search defaultProvider="Search">
    319.      <providers>
    320.        <clear/>
    321.        <add name="Search" type="Telerik.Search.Data.DefaultProvider, Telerik.Search.Data" connectionStringName="DefaultConnection" useCompoundIndexFile="true"/>
    322.      </providers>
    323.      <indexClients>
    324.        <add name="PageIndex" type="Telerik.Cms.Search.PageIndexProvider, Telerik.Cms" settingsControl="Telerik.Cms.Web.UI.PageIndexSettings, Telerik.Cms" viewSettingsControl="Telerik.Cms.Web.UI.SearchViewControl, Telerik.Cms" description="Provides indexing services for CMS Pages."/>
    325.      </indexClients>
    326.      <indexers>
    327.        <add extensionOrMimeType=".aspx" type="Telerik.Search.Engine.HtmlIndexer"/>
    328.        <add extensionOrMimeType="text/html" type="Telerik.Search.Engine.HtmlIndexer"/>
    329.      </indexers>
    330.      <searchInputValidation>
    331.        <add matchPattern="\A[\*\?\~][^\s]*" replacementString="" enabled="true" matchAlert="You can not start your query using wildcards, modify your query and try again.."/>
    332.        <add matchPattern="[\!\^\(\)\{\}\[\]]" replacementString="" enabled="true" matchAlert="Strange characters should be enclosed between double quotation, modify your query and try again.."/>
    333.      </searchInputValidation>
    334.    </search>
    335.    <localization defaultProvider="Sitefinity" persistenceMode="None" defaultCulture="en" cultures="en, es, fr, de, bg">
    336.      <providers>
    337.        <clear/>
    338.        <add name="Sitefinity" type="Telerik.Localization.Data.DefaultProvider, Telerik.Localization.Data" connectionStringName="DefaultConnection"/>
    339.      </providers>
    340.    </localization>
    341.    <lists defaultProvider="Sitefinity">
    342.      <providers>
    343.        <clear/>
    344.        <add name="Sitefinity" securityProviderName="" type="Telerik.Lists.Data.DefaultProvider, Telerik.Lists.Data" connectionStringName="DefaultConnection" visible="true"/>
    345.        <!--
    346.                <add name="SitefinityXml" securityProviderName="" type="Telerik.Lists.Data.XmlProvider, Telerik.Lists.Data" dataFile="~/App_Data/Lists.xml" visible="true"  />
    347.                -->
    348.      </providers>
    349.    </lists>
    350.    <forums defaultProvider="Sitefinity">
    351.      <providers>
    352.        <clear/>
    353.        <add name="Sitefinity" securityProviderName="" profileProviderName="Sitefinity" type="Telerik.Forums.Data.DefaultProvider, Telerik.Forums.Data" connectionStringName="DefaultConnection" visible="true"/>
    354.      </providers>
    355.    </forums>
    356.    <rss defaultProvider="Sitefinity">
    357.      <feeds>
    358.      </feeds>
    359.      <channelProviders>
    360.        <clear/>
    361.        <add name="Page Rss Provider" type="Telerik.Cms.Web.RssChannelProvider, Telerik.Cms" settingsControl="Telerik.Cms.Web.UI.RssSettingsControl, Telerik.Cms" viewSettingsControl="Telerik.Cms.Web.UI.RssViewSettingsControl, Telerik.Cms" description="Provides RSS for CMS pages"/>
    362.      </channelProviders>
    363.      <providers>
    364.        <clear/>
    365.        <add name="Sitefinity" type="Telerik.Rss.Data.DefaultServiceProvider, Telerik.Rss.Data" connectionStringName="DefaultConnection"/>
    366.      </providers>
    367.    </rss>
    368.    <versioning defaultProvider="Sitefinity">
    369.      <providers>
    370.        <clear/>
    371.        <add name="Sitefinity" type="Telerik.Versioning.Data.DefaultProvider, Telerik.Versioning.Data" connectionStringName="DefaultConnection"/>
    372.      </providers>
    373.    </versioning>
    374.    <security defaultProvider="DefaultSecurityProvider" cmsProvidersName="Sitefinity">
    375.      <roles>
    376.        <clear/>
    377.        <add name="Administrators" permission="Unrestricted"/>
    378.      </roles>
    379.      <providers>
    380.        <clear/>
    381.        <add name="DefaultSecurityProvider" connectionStringName="DefaultConnection" type="Telerik.Security.Data.DefaultSecurityProvider, Telerik.Security.Data" membershipProvider="Sitefinity" roleProvider="Sitefinity"/>
    382.      </providers>
    383.    </security>
    384.    <cms defaultProvider="Sitefinity" pageExtension=".aspx" siteTemplate="" projectName="3DayBlinds" disabled="false" pageEditorUIMode="Overlay">
    385.      <providers>
    386.        <clear/>
    387.        <add connectionStringName="DefaultConnection" allowPageHistory="true" allowPageWorkflow="false" cachingProviderName="ASPNET" name="Sitefinity" type="Telerik.Cms.Data.DefaultProvider, Telerik.Cms.Data"/>
    388.      </providers>
    389.      <toolboxControls>
    390.        <clear/>
    391.        <add name="Products List" section="Products" url="~/Products/Frontend/ProductsList.ascx"/>
    392.        <add name="Single Product" section="Products" url="~/Products/Frontend/SingleProductView.ascx"/>
    393.        <add name="Contacts List" section="Contacts" url="~/Modules/Contacts/Views/Frontend/ContactsListView.ascx"/>
    394.        <add name="Single Contact" section="Contacts" url="~/Modules/Contacts/Views/Frontend/SingleContactView.ascx"/>
    395.        <add name="Generic Content" section="Most popular" type="Telerik.Cms.Engine.WebControls.GenericContent, Telerik.Cms.Engine"/>
    396.        <add name="Image" section="Most popular" type="Telerik.Cms.Engine.WebControls.SitefinityImage, Telerik.Cms.Engine" description="Displays an image on a Web page."/>
    397.        <add name="Image gallery" section="Most popular" type="Telerik.Libraries.WebControls.ImageGallery, Telerik.Libraries"/>
    398.        <add name="Dynamic Hyper Link" section="Navigation" type="Telerik.Cms.Engine.WebControls.DynamicHyperLink, Telerik.Cms.Engine" description="Dynamic Hyper Link lets you declare link for cms pages so that its Navigate URL doesn't not depend on where the page is located in the hierarchy."/>
    399.        <add name="Site Menu" section="Navigation" url="~/Sitefinity/UserControls/Navigation35/SiteMenu.ascx"/>
    400.        <add name="Site Panelbar" section="Navigation" url="~/Sitefinity/UserControls/Navigation35/SitePanelbar.ascx"/>
    401.        <add name="Site Tabstrip" section="Navigation" url="~/Sitefinity/UserControls/Navigation35/SiteTabstrip.ascx"/>
    402.        <add name="Site Treeview" section="Navigation" url="~/Sitefinity/UserControls/Navigation35/SiteTreeview.ascx"/>
    403.        <add name="Breadcrumb" section="Navigation" type="Telerik.Cms.Web.UI.Breadcrumb, Telerik.Cms.Web.UI"/>
    404.        <add name="Hyper Link" section="Navigation" type="Telerik.Cms.Engine.WebControls.SitefinityHyperLink, Telerik.Cms.Engine" description="Creates links on a Web page that allow users to move from page to page in your application."/>
    405.        <add name="Language Selector" section="Navigation" type="Telerik.Localization.WebControls.LanguageBar,Telerik.Localization" description="A control for selecting the current language current version"/>
    406.        <add name="RadTabStrip" section="RadControls" type="Telerik.Web.UI.RadTabStrip, Telerik.Web.UI"/>
    407.        <add name="RadMenu" section="RadControls" type="Telerik.Web.UI.RadMenu, Telerik.Web.UI"/>
    408.        <add name="RadPanelBar" section="RadControls" type="Telerik.Web.UI.RadPanelBar, Telerik.Web.UI"/>
    409.        <add name="Image " section="Images & Documents" type="Telerik.Cms.Engine.WebControls.SitefinityImage, Telerik.Cms.Engine" description="Displays an image on a Web page."/>
    410.        <add name="XML Data Source" section="Data" type="System.Web.UI.WebControls.XmlDataSource, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" description="Represents an XML data source to data-bound controls."/>
    411.        <add name="SiteMapDataSource" section="Data" type="System.Web.UI.WebControls.SiteMapDataSource, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" description="Provides a data source control that Web server controls and other controls can use to bind to hierarchical site map data. "/>
    412.        <add name="Details View" section="Data" type="System.Web.UI.WebControls.DetailsView, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" description="Displays the values of a single record from a data source in a table, where each data row represents a field of the record. The DetailsView control allows you to edit, delete, and insert records."/>
    413.        <add name="Grid View" section="Data" type="System.Web.UI.WebControls.GridView, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
    414.        <add name="Login Status" section="Login" type="System.Web.UI.WebControls.LoginStatus, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" description="Detects the user's authentication state and toggles the state of a link to log in to or log out of a Web site."/>
    415.        <add name="Login Name" section="Login" type="System.Web.UI.WebControls.LoginName, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" description="Displays the value of the System.Web.UI.Page.User.Identity.Name property."/>
    416.        <add name="Login" section="Login" url="~/Sitefinity/UserControls/Login/LoginControl.ascx" description="Provides user interface (UI) elements for logging in to a Web site."/>
    417.        <add name="Manage Profile" section="Login" type="Telerik.Security.WebControls.ManageProfile, Telerik.Security" description="Provides UI for managing user's profile information"/>
    418.        <add name="Login View" section="Login" url="~/Sitefinity/UserControls/Login/LoginViewControl.ascx" description="Displays the appropriate content template for a given user, based on the user's authentication status and role membership."/>
    419.        <add name="Create User" section="Login" url="~/Sitefinity/UserControls/Login/CreateUserWizardControl.ascx" description="Provides a user interface for creating new Web site user accounts."/>
    420.        <add name="Spam Protector" section="Forms" type="Telerik.Web.UI.SpamProtection.SpamProtector, Telerik.Cms.Web.UI" description="Provides spam protection to web forms using different strategies."/>
    421.        <add name="Video" section="Most popular" type="Telerik.Libraries.WebControls.Video, Telerik.Libraries" description="Video content control"/>
    422.      </toolboxControls>
    423.    </cms>
    424.    <cmsEngine defaultProvider="Generic_Content">
    425.      <providers>
    426.        <clear/>
    427.        <add name="Generic_Content" urlRewriteFormat="[Publication_Date]/[Name].aspx" urlDateTimeFormat="yy-MM-dd" urlWhitespaceChar="_" visible="True" defaultMetaField="Name" securityProviderName="" allowLocalization="False" allowVersioning="True" allowWorkflow="False" allowComments="false" commentsModeration="true" versioningProviderName="" connectionStringName="GenericContentConnection" type="Telerik.Cms.Engine.Data.Providers.DefaultProvider, Telerik.Cms.Engine.Data"/>
    428.        <add name="News" urlRewriteFormat="[Publication_Date]/[Title].aspx" urlDateTimeFormat="yy-MM-dd" urlWhitespaceChar="_" visible="False" defaultMetaField="Title" securityProviderName="" allowVersioning="True" applicationName="/News" versioningProviderName="" commentsModeration="true" connectionStringName="GenericContentConnection" type="Telerik.News.Data.DefaultNewsProvider, Telerik.News.Data"/>
    429.        <add name="Blogs" urlRewriteFormat="[Publication_Date]/[Title].aspx" urlDateTimeFormat="yy-MM-dd" urlWhitespaceChar="_" visible="False" defaultMetaField="Title" applicationName="/Blogs" allowVersioning="True" allowComments="true" commentsModeration="false" allowLocalization="False" localizationProviderName="" allowWorkflow="False" securityProviderName="" versioningProviderName="" connectionStringName="GenericContentConnection" type="Telerik.Blogs.Data.DefaultBlogProvider, Telerik.Blogs.Data"/>
    430.        <add name="Libraries" urlRewriteFormat="~/{Provider}/{LibraryName}/[Name].sflb.ashx" urlDateTimeFormat="yy-MM-dd" urlWhitespaceChar="_" visible="False" defaultMetaField="Name" applicationName="/Libraries" allowVersioning="False" allowLocalization="False" localizationProviderName="" allowWorkflow="False" securityProviderName="" versioningProviderName="" connectionStringName="GenericContentConnection" type="Telerik.Libraries.Data.DefaultProvider, Telerik.Libraries.Data" tagEditorTemplate="~/Sitefinity/Admin/ControlTemplates/Libraries/BatchTagsEditor.ascx"/>
    431.        <!--Amazon Data Provider [First turn off the default one] url format can be urlRewriteFormat="~/{Provider}/{LibraryName}/[Name].s3lb" as well in that cae there will extra libraries in the url-->
    432.        <!--<add name="Libraries" urlRewriteFormat="~/{LibraryName}/[Name].s3lb"  thumbnailExtension=".tmb" urlDateTimeFormat="yy-MM-dd" urlWhitespaceChar="_" visible="False" defaultMetaField="Name" applicationName="/Libraries" allowVersioning="True" allowLocalization="False" localizationProviderName="" allowWorkflow="False" securityProviderName="" versioningProviderName="" connectionStringName="GenericContentConnection" type="Telerik.Libraries.Data.AmazonProvider, Telerik.Libraries.Data" tagEditorTemplate="~/Sitefinity/Admin/ControlTemplates/Libraries/BatchTagsEditor.ascx" />-->
    433.        <!--Viddler Data Provider Compatible with other libraries, must add a libraryInfo with type = "Viddler"-->
    434.        <!--<add name="Libraries" urlRewriteFormat="~/{LibraryName}/[Name].sflb.ashx" thumbnailExtension=".tmb.ashx" urlDateTimeFormat="yy-MM-dd" urlWhitespaceChar="_" visible="False" defaultMetaField="Name" applicationName="/Libraries" allowVersioning="True" allowLocalization="False" localizationProviderName="" allowWorkflow="False" securityProviderName="" versioningProviderName="" connectionStringName="GenericContentConnection" type="Telerik.Libraries.Data.ViddlerProvider, Telerik.Libraries.Data" tagEditorTemplate="~/Sitefinity/Admin/ControlTemplates/Libraries/BatchTagsEditor.ascx"/>-->
    435.        <add name="Events" urlRewriteFormat="[Publication_Date]/[Title].aspx" urlDateTimeFormat="yy-MM-dd" urlWhitespaceChar="_" visible="False" defaultMetaField="Title" securityProviderName="" allowVersioning="True" applicationName="/Events" versioningProviderName="" commentsModeration="true" connectionStringName="GenericContentConnection" type="Telerik.Events.Data.DefaultEventsProvider, Telerik.Events.Data"/>
    436.        <add name="Wiki" urlRewriteFormat="[Wiki]/[Name].aspx" urlWhitespaceChar="_" visible="False" defaultMetaField="Name" securityProviderName="" allowVersioning="True" applicationName="/Wiki" versioningProviderName="" allowComments="true" commentsModeration="true" connectionStringName="GenericContentConnection" dataFile="~/App_Data/Wikis.xml" type="Telerik.Wiki.Data.XmlProvider, Telerik.Wiki.Data"/>
    437.      </providers>
    438.      <rssProviders>
    439.        <clear/>
    440.        <add name="Blogs" type="Telerik.Blogs.RssProvider, Telerik.Blogs" visible="True" applicationName="/Blogs" rssFieldAuthor="Author" rssFieldTitle="Title" rssFieldPubDate="Publication_Date"/>
    441.      </rssProviders>
    442.      <browserCacheSettings lastModifiedDateEnabled="true" contentExpirationEnabled="false">
    443.        <expirationSettings option="ExpireImmediately" value="0">
    444.        </expirationSettings>
    445.      </browserCacheSettings>
    446.      <metaFields>
    447.        <add key="Generic_Content.Name" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue="Name this content" mandatory="True"/>
    448.        <add key="Generic_Content.Description" valueType="LongText" visible="True" searchable="False" sortable="True" defaultValue="Add description here"/>
    449.        <add key="Generic_Content.Author" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue=""/>
    450.        <add key="Generic_Content.Category" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue=""/>
    451.        <add key="News.Title" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue=""/>
    452.        <add key="News.Summary" valueType="LongText" visible="True" searchable="True" sortable="True" defaultValue=""/>
    453.        <add key="News.Author" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue=""/>
    454.        <add key="News.Source" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue=""/>
    455.        <add key="News.Publication_Date" valueType="DateTime" visible="True" searchable="True" sortable="True" defaultValue="#Now"/>
    456.        <add key="News.Expiration_Date" valueType="DateTime" visible="True" searchable="True" sortable="True" defaultValue="#Max"/>
    457.        <add key="News.Thumbnail" valueType="ShortText" visible="True" searchable="False" sortable="False" defaultValue=""/>
    458.        <add key="News.Category" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue="">
    459.        </add>
    460.        <add key="Blogs.Title" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue=""/>
    461.        <add key="Blogs.Author" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue=""/>
    462.        <add key="Blogs.Publication_Date" valueType="DateTime" visible="True" searchable="True" sortable="True" defaultValue="#Now"/>
    463.        <add key="Blogs.BlogID" valueType="Guid" visible="False" searchable="True" sortable="True" defaultValue=""/>
    464.        <add key="Blogs.Category" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue=""/>
    465.        <add key="Blogs.View_Count" valueType="Integer" visible="True" searchable="True" sortable="True" defaultValue="0"/>
    466.        <add key="Libraries.Name" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue=""/>
    467.        <add key="Libraries.Width" valueType="Integer" visible="True" searchable="True" sortable="True" defaultValue=""/>
    468.        <add key="Libraries.Height" valueType="Integer" visible="True" searchable="True" sortable="True" defaultValue=""/>
    469.        <add key="Libraries.Size" valueType="Integer" visible="True" searchable="True" sortable="True" defaultValue=""/>
    470.        <add key="Libraries.Extension" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue=""/>
    471.        <add key="Libraries.AlternateText" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue=""/>
    472.        <add key="Libraries.Author" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue=""/>
    473.        <add key="Libraries.Description" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue=""/>
    474.        <add key="Libraries.Category" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue=""/>
    475.        <add key="Libraries.PermaLink" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue=""/>
    476.        <add key="Events.Title" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue=""/>
    477.        <add key="Events.Street" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue=""/>
    478.        <add key="Events.City" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue=""/>
    479.        <add key="Events.Country" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue=""/>
    480.        <add key="Events.State" valueType="ShortText" visible="True" searchable="True" sortable="False" defaultValue=""/>
    481.        <add key="Events.Geomapping_Data" valueType="ShortText" visible="True" searchable="False" sortable="False" defaultValue=""/>
    482.        <add key="Events.Event_Start" valueType="DateTime" visible="True" searchable="True" sortable="True" defaultValue="#Now"/>
    483.        <add key="Events.Event_End" valueType="DateTime" visible="True" searchable="True" sortable="True" defaultValue="#Now"/>
    484.        <add key="Events.Publication_Date" valueType="DateTime" visible="True" searchable="True" sortable="True" defaultValue="#Now"/>
    485.        <add key="Events.Expiration_Date" valueType="DateTime" visible="True" searchable="True" sortable="True" defaultValue="#Max"/>
    486.        <add key="Events.Contact_Name" valueType="ShortText" visible="True" searchable="False" sortable="False" defaultValue=""/>
    487.        <add key="Events.Contact_Email" valueType="ShortText" visible="True" searchable="False" sortable="False" defaultValue=""/>
    488.        <add key="Events.Contact_Phone" valueType="ShortText" visible="True" searchable="False" sortable="False" defaultValue=""/>
    489.        <add key="Events.Contact_Cell" valueType="ShortText" visible="True" searchable="False" sortable="False" defaultValue=""/>
    490.        <add key="Events.Contact_Web" valueType="ShortText" visible="True" searchable="False" sortable="False" defaultValue=""/>
    491.        <add key="Events.Category" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue=""/>
    492.        <add key="Wiki.Name" valueType="ShortText" visible="True" searchable="False" sortable="True" defaultValue="HomePage" mandatory="True"/>
    493.        <add key="Wiki.Wiki" valueType="ShortText" visible="True" searchable="False" sortable="True" defaultValue="DefaultWiki"/>
    494.        <add key="Wiki.Author" valueType="ShortText" visible="True" searchable="True" sortable="True" defaultValue=""/>
    495.        <add key="Wiki.Category" valueType="ShortText" visible="True" searchable="False" sortable="True" defaultValue=""/>
    496.        <add key="Wiki.DisplayName" valueType="Boolean" visible="False" searchable="False" sortable="False" defaultValue="True"/>
    497.      </metaFields>
    498.      <contentViewSettings>
    499.        <add type="Telerik.Cms.Engine.WebControls.Design.Settings.TextSettingService"/>
    500.        <add type="Telerik.Cms.Engine.WebControls.Design.Settings.ContentSettingService"/>
    501.        <add type="Telerik.Cms.Engine.WebControls.Design.Settings.MaxWidthSettingService"/>
    502.      </contentViewSettings>
    503.    </cmsEngine>
    504.    <news defaultGenericProvider="News">
    505.      <genericContentProviders>
    506.        <add providerName="News" publicationDateField="Publication_Date" expirationDateField="Expiration_Date" thumbnailUrlField="Thumbnail" urlRewriteFormat="[Publication_Date]/[Title].aspx" urlDateTimeFormat="yy-MM-dd" urlWhitespaceChar="_"/>
    507.      </genericContentProviders>
    508.    </news>
    509.    <blogs defaultGenericProvider="Blogs">
    510.      <genericContentProviders>
    511.        <add providerName="Blogs" publicationDateField="Publication_Date" urlRewriteFormat="[Publication_Date]/[Title].aspx" urlDateTimeFormat="yy-MM-dd" urlWhitespaceChar="_" flatOwnership="True"/>
    512.      </genericContentProviders>
    513.    </blogs>
    514.    <libraries defaultGenericProvider="Libraries">
    515.      <genericContentProviders>
    516.        <add providerName="Libraries" publicationDateField="Publication_Date"/>
    517.      </genericContentProviders>
    518.      <libraryInfo>
    519.        <add name="Image" title="Image Library" defaultExtenstions=".png, .jpg, .jpeg, .gif" metaKeys="Author, AlternateText, Extension, Name, Height, Width, Size, Category">
    520.        </add>
    521.        <add name="Document" title="Document Library" defaultExtenstions=".doc, .docx, .rtf, .txt, .pdf, .ppt, .pps, .pptx, .html, .xls, .xlsx" metaKeys="Author, Description, Extension, Name, Size, Category">
    522.        </add>
    523.        <add name="Custom" title="Custom Library" defaultExtenstions=".*" metaKeys="Author, Description, Extension, Name, Size, Category">
    524.        </add>
    525.        <add name="Video" title="Video" defaultExtenstions=".wmv" metaKeys="Author, Extension, Name, Size, Category, Description">
    526.        </add>
    527.        <!-- Viddler can co-exists with other libraries-->
    528.        <!--<add name="Viddler" title="Viddler Library" defaultExtenstions=".avi, .mpg, .mov, .wmv, .wma, .3gp" metaKeys="Author, Description, Extension, Name, Size, Category"></add>-->
    529.      </libraryInfo>
    530.      <!-- before using extensionMapping be you uncomment LibraryHttpModule in handlers and httpHandlers sections -->
    531.      <extensionMapping defaultExtension=".sflb.ashx">
    532.        <!--<add key=".jpg"/>
    533.                <add key=".pdf"/>
    534.                <add key=".csv"/>
    535.                <add key=".xls"/>-->
    536.      </extensionMapping>
    537.    </libraries>
    538.    <events defaultGenericProvider="Events" googleMapsAPIKey="" googleMapsAPIUrl="http://maps.google.com/maps?file=api&;v=2.x&key=" yahooMapsAPIKey="" yahooMapsAPIUrl="http://api.maps.yahoo.com/ajaxymap?v=3.7&;appid=" liveSearchMapsAPIUrl="http://dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=6.2">
    539.      <genericContentProviders>
    540.        <add providerName="Events" publicationDateField="Publication_Date" expirationDateField="Expiration_Date" eventStartField="Event_Start" eventEndField="Event_End" streetField="Street" cityField="City" countryField="Country" stateField="State" geomappingDataField="Geomapping_Data" urlRewriteFormat="[Publication_Date]/[Title].aspx" urlDateTimeFormat="yy-MM-dd" urlWhitespaceChar="_"/>
    541.      </genericContentProviders>
    542.    </events>
    543.    <wiki defaultGenericProvider="Wiki" defaultProvider="SitefinityXml">
    544.      <genericContentProviders>
    545.        <add providerName="Wiki" urlRewriteFormat="[Wiki]/[Name].aspx" urlWhitespaceChar="_"/>
    546.      </genericContentProviders>
    547.    </wiki>
    548.    <workflow deleteOnCompletion="true" defaultProvider="NolicsWorkflowProvider">
    549.      <providers>
    550.        <clear/>
    551.        <add name="NolicsWorkflowProvider" connectionStringName="DefaultConnection" type="Telerik.Workflow.NolicsWorkflowProvider, Telerik.Workflow"/>
    552.      </providers>
    553.    </workflow>
    554.    <polls defaultProvider="NolicsPollsProvider">
    555.      <providers>
    556.        <clear/>
    557.        <add name="NolicsPollsProvider" connectionStringName="DefaultConnection" type="Telerik.Polls.Data.NolicsPollsProvider, Telerik.Polls.Data"/>
    558.      </providers>
    559.    </polls>
    560.    <fileManager defaultProvider="Sitefinity">
    561.      <impersonation username="" password="">
    562.        <allow roles="Administrators">
    563.        </allow>
    564.      </impersonation>
    565.      <providers>
    566.        <clear/>
    567.        <add name="Sitefinity" type="Telerik.FileManager.DefaultProvider, Telerik.FileManager"/>
    568.      </providers>
    569.    </fileManager>
    570.    <personalization defaultProvider="Sitefinity">
    571.      <providers>
    572.        <clear/>
    573.        <add name="Sitefinity" type="Telerik.Personalization.Data.NolicsProvider, Telerik.Personalization.Data" connectionStringName="DefaultConnection"/>
    574.      </providers>
    575.      <globalSettings>
    576.        <add type="Telerik.Cms.Web.UI.Personalization.GeneralSettingPanel, Telerik.Cms" templatePath="~/Sitefinity/Admin/ControlTemplates/Personalization/GeneralSettings.ascx" order="1"/>
    577.        <add type="Telerik.Cms.Web.UI.Personalization.DashboardSettingPanel, Telerik.Cms" templatePath="~/Sitefinity/Admin/ControlTemplates/Personalization/DashboardSettings.ascx" order="2"/>
    578.        <add type="Telerik.Cms.Web.UI.Personalization.PageEditorSettingPanel, Telerik.Cms" templatePath="~/Sitefinity/Admin/ControlTemplates/Personalization/PageEditorSettings.ascx" order="3"/>
    579.      </globalSettings>
    580.      <dashboardVisibilitySettings>
    581.        <add key="showMyLatestChanges" value="true"/>
    582.        <add key="showLastModifiedPages" value="true"/>
    583.        <add key="showNewUsers" value="false"/>
    584.        <add key="showLastModifiedBlogs" value="false"/>
    585.        <add key="showLastModifiedBlogPosts" value="false"/>
    586.        <add key="showLastModifiedNews" value="false"/>
    587.        <add key="showLastModifiedForums" value="false"/>
    588.        <add key="showNewForumPosts" value="false"/>
    589.        <add key="showLastModifiedLists" value="false"/>
    590.        <add key="showLastModifiedContents" value="false"/>
    591.      </dashboardVisibilitySettings>
    592.    </personalization>
    593.    <spamProtector defaultProvider="akismet" disabled="true">
    594.      <providers>
    595.        <add name="akismet" type="Telerik.Cms.Engine.SpamProtector.AkismetProvider" key="c0e8868fd509" siteUrl="http://www.telerik.com/"/>
    596.      </providers>
    597.    </spamProtector>
    598.    <performanceCounter category="Sitefinity CMS" description="Sitefinity performance statistics" disabled="true">
    599.      <counters>
    600.        <add name="DAL Operations/Sec" description="The number database calls made per second." type="RateOfCountsPerSecond32"/>
    601.        <add name="Error Raised" description="Number of times excpetion has been thrown running the app" type="NumberOfItems32"/>
    602.        <add name="CMS Page Average Execution Time" description="The average time consumed to serve Sitefinity pages measured in milliseconds." type="AverageTimer32"/>
    603.        <add name="CMS Content Average Execution Time" description="The average time consumed to serve Sitefinity Content measured in milliseconds." type="AverageTimer32"/>
    604.        <add name="Average Operation Execution Time" description="The average time to execute an operaion (CRUD) measured in milliseconds." type="AverageTimer32"/>
    605.      </counters>
    606.    </performanceCounter>
    607.    <storageSetting defaultProvider="Amazon">
    608.      <providers>
    609.        <add name="Amazon" type="Telerik.Libraries.AmazonStorage.AmazonStorageProvider, Telerik.Libraries" downloadUrlPrefix="http://s3.amazonaws.com" accessKey="#YourAccessKey#" secretAccessKey="#YourSecrectKey#" bucketName="Sitefinity"/>
    610.      </providers>
    611.    </storageSetting>
    612.    <!-- Viddler-->
    613.    <mediaProvider defaultProvider="viddler">
    614.      <providers>
    615.        <add name="viddler" type="Telerik.Libraries.MediaProvider.ViddlerProvider" apiKey="#Your_Api#" baseUrl="http://api.viddler.com/rest/v1/"/>
    616.      </providers>
    617.    </mediaProvider>
    618.    <urlrewrites>
    619.      <rule>
    621.        <url>/shutters\.aspx?name=(\s+)</url>
    623.        <rewrite>/shutters/$1.aspx</rewrite>
    624.      </rule>
    625.      <rule>
    627.        <url>/shades\.aspx?name=(\s+)</url>
    629.        <rewrite>/shades/$1.aspx</rewrite>
    630.      </rule>
    631.      <rule>
    633.        <url>/blinds\.aspx?name=(\s+)</url>
    635.        <rewrite>/blinds/$1.aspx</rewrite>
    636.      </rule>
    637.    </urlrewrites>
    638.  </telerik>
    639.</configuration>


    Regards,

    Nauman
  13. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    28 Jun 2010
    Link to this post
    Hi Nauman,

    The supplied web.config looks different from the one on your error screenshot. On line 143 you have this (in the web.config pasted above):
    <add name="Cms"  type="Telerik.Cms.Web.CmsHttpModule, Telerik.Cms"/>

    Where as your error screen says that it is like this:
    <add name="Cms"  type="Telerik.Cms.Web.CmsHttpModuleUrlRewrite, Telerik.Cms.Web.CmsHttpModule, Telerik.Cms"/>

    The problem is that you have wrong syntax, probably due to typo. The correct declaration of URL rewrite module is like this:
    <add name="Cms" type="Telerik.Cms.Web.CmsHttpModuleUrlRewrite, Telerik.Cms"/>

     
    Greetings,
    Radoslav Georgiev
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  14. Nauman
    Nauman avatar
    23 posts
    Registered:
    02 Jun 2010
    28 Jun 2010
    Link to this post
    Thanks Ivan,

    Well the two versions are different coz after making the changes was unable to continue further due to that error so changed it back to original.

    Now after making the changes you suggested is just added the stuff that its not tearing apart anymore, but doesn't seem to work too, as I don't see any URL rewriting being done.

    Regards,

    Nauman
  15. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    28 Jun 2010
    Link to this post
    Hello Nauman,

    If you are using IIS 7 make sure that you register the UrlRewriteModule in system.webServer/modules configuration section:
    <system.webServer>
        ...
        <modules>
            <remove name="ScriptModule"/>
            <remove name="Cms"/>
            <remove name="LibraryModule"/>
            <remove name="RadUploadModule"/>
            <add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
            <add name="Cms" type="Telerik.Cms.Web.CmsHttpModuleUrlRewrite, Telerik.Cms"/>
            <!-- Http Module for extension mappings in Library module.-->
            ...
        </modules>


    Kind regards,
    Radoslav Georgiev
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  16. Nauman
    Nauman avatar
    23 posts
    Registered:
    02 Jun 2010
    28 Jun 2010
    Link to this post
    Hi Ivan,

    Its my development machine, and its running IIS 5.1 :-(

    Regards,

    Nauman
  17. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    28 Jun 2010
    Link to this post
    Hi Nauman,

    You can take a look at the following MSDN reference

    Make sure that Telerik.Cms.dll is located in your bin . Register the module with different name say CmsHttpModuleUrlRewrite, becuase the name you use is used by CmsHttpModule in the default configuration.

    Greetings,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Register for webinar
17 posts, 0 answered