Web.config Changes

Merge the lines listed below into the appropiate places in your web.config.
The Dynamic Content elements are used for the left menu, the UrlRouting is essential for creation of new articles, search and category listings to work and profile property is not in use yet, but will be in a future release.

<configuration>
  <episerver>
    ...
    <dynamicContent>
      <controls>
		...
        <add description="[Wiki|LinkBox] Upload files tools" name="[Wiki|LinkBox] File Upload"
          type="EPiServer.Research.Wiki.Units.ToolFileUpload,EPiServer.Research.Wiki" />
        <add description="[Wiki|LinkBox] All Wiki Categories" name="[Wiki|LinkBox]Category List"
          type="EPiServer.Research.Wiki.Units.ToolCategories, EPiServer.Research.Wiki" />
        <add description="[Wiki|LinkBox] Most discussed articles"
          name="[Wiki|LinkBox] Most Discussed List" 
          type="EPiServer.Research.Wiki.Units.MostDiscussed, EPiServer.Research.Wiki" />
        <add description="[Wiki|LinkBox] Recently updated articles"
          name="[Wiki|LinkBox] Recently Updated" type="EPiServer.Research.Wiki.Units.UpdatedListing, EPiServer.Research.Wiki" />
        <add description="[Wiki|LinkBox] Recently created articles"
          name="[Wiki|LinkBox] Recently Created" type="EPiServer.Research.Wiki.Units.CreatedArticle, EPiServer.Research.Wiki" />
        <add description="[Wiki|LinkBox] Articles being edited right now"
          name="[Wiki|LinkBox] Edited Now" type="EPiServer.Research.Wiki.Units.EditedNow, EPiServer.Research.Wiki" />
        <add description="[Wiki|LinkBox] Custom Links"
          name="[Wiki|LinkBox] Custom Links" type="EPiServer.Research.Wiki.Units.CustomLinks, EPiServer.Research.Wiki" />
        <add description="Wiki Toolbox for creating new articles, etc."             
          name="[Wiki] Toolbox" type="EPiServer.Research.Wiki.Units.Toolbox, EPiServer.Research.Wiki" />
        <add description="Wiki Link Box"
          name="[Wiki] Linkbox" type="EPiServer.Research.Wiki.Units.LinkBox, EPiServer.Research.Wiki"/>
<add description="Wiki Feed"
          name="[Wiki] Feed" type="EPiServer.Research.Wiki.Units.Feed, EPiServer.Research.Wiki"/>
   
      </controls>
    </dynamicContent>
    ...
  </episerver>
  <system.web>
    ...
    <profile>
	  <properties>
	    ...
	    <add name="WikiPreferences" type="EPiServer.Research.Wiki.Core.WikiProfile" serializeAs="Binary" provider="SqlProfile"/>
	  </properties>
	</profile>
	<httpModules>
	  ...
	  <add name="UrlRoutingModule" type="System.Web.Routing.UrlRoutingModule,System.Web.Routing,Version=3.5.0.0,Culture=neutral,PublicKeyToken=31BF3856AD364E35"/>
	</httpModules>
	...

	 <location path="EPiServer.Research.Wiki/tiny_mce3211">
        <system.web>
            <pages>
                <controls>
                    <add tagPrefix="EPiServerUI" namespace="EPiServer.UI.WebControls" assembly="EPiServer.UI" />
                    <add tagPrefix="EPiServerScript" namespace="EPiServer.ClientScript.WebControls" assembly="EPiServer" />
                    <add tagPrefix="EPiServerScript" namespace="EPiServer.UI.ClientScript.WebControls" assembly="EPiServer.UI" />
                </controls>
            </pages>
        </system.web>
    </location>

NOTE: In order to run on IIS7 Integrated mode, you need to follow the guidelines here for registrering the UrlRouting:
http://msdn.microsoft.com/en-us/library/cc668202.aspx

Last edited Jun 10, 2009 at 1:19 PM by jacobk, version 5

Comments

No comments yet.