Create an Atlas and AtlasToolKit enabled DNN portal

17. October 2006

If you creating an Atlas enabled website is easy, you are right, depending....  READ ALL INSTRUCTIONS BELOW.  THERE ARE DETAILS THAT YOU SHOULD BE AWARE.

There are several things you will need to do.  Below I have outlined changes that you will need to make to your basic DNN 4.x.x site.  Do the required actions listed below.  Afterwards, you can add all the AtlasToolKit controls that you want within your modules.  Modules will only work if the site is prepped for Atlas.  I do not recommend making a module with the Script Manager in it because it will inevitably bomb.  Have fun, leave me comments if it helps.

(Required) Download the Atlas and AtlasToolKit Files

You can get them from http://atlas.asp.net

(Required) Web.Config File

First you need to make the sections in your web.config look like the examples below.  I put the changes you need to make in red.

(omitted to condense space)
<section name="profiles" requirePermission="false" type="DotNetNuke.Framework.Providers.ProviderConfigurationHandler, DotNetNuke"/>
</sectionGroup>
<sectionGroup name="microsoft.web" type="Microsoft.Web.Configuration.MicrosoftWebSectionGroup">
<section name="converters" type="Microsoft.Web.Configuration.ConvertersSection"/>
</sectionGroup>
</configSections>
<microsoft.web>
<converters>
<add type="Microsoft.Web.Script.Serialization.Converters.DataSetConverter"/>
<add type="Microsoft.Web.Script.Serialization.Converters.DataRowConverter"/>
<add type="Microsoft.Web.Script.Serialization.Converters.DataTableConverter"/>
</converters>
</microsoft.web>
<connectionStrings>
(omitted to condense space)
<httpHandlers>
<!-- This is for FTB 3.0 support -->
<add verb="GET" path="FtbWebResource.axd" type="FreeTextBoxControls.AssemblyResourceHandler, FreeTextBox"/>
<!-- This is for CAPTCHA support -->
<add verb="*" path="*.captcha.aspx" type="DotNetNuke.UI.WebControls.CaptchaHandler, DotNetNuke"/>
<!-- This is for Serving files, secure, insecure, from database -->
<add verb="*" path="LinkClick.aspx" type="DotNetNuke.Services.FileSystem.FileServerHandler, DotNetNuke"/>
<add verb="*" path="*.asmx" type="Microsoft.Web.Services.ScriptHandlerFactory" validate="false"/>
</httpHandlers>
(omitted to condense space)
<add namespace="DotNetNuke.Entities.Tabs"/>
</namespaces>
<controls>
<add namespace="Microsoft.Web.UI" assembly="Microsoft.Web.Atlas" tagPrefix="Atlas"/>
<add namespace="Microsoft.Web.UI.Controls" assembly="Microsoft.Web.Atlas" tagPrefix="Atlas"/>

<add namespace="AtlasControlToolkit" assembly="AtlasControlToolkit" tagPrefix="Atlas"/>
</controls>
</pages>
<xhtmlConformance mode="Transitional"/>
(omitted to condense space)

(Required) Skin File

This next bit of code is an example of the DNN Blue skin.  You need to make sure you have a copy without Atlas and one WITHOUT Atlas.  DO NOT APPLY ATLAS ENABLED SKINS AND MODULES TO YOUR PORTAL OR HOST TABS.  Note:  Go ahead and set your Portal and Host Skins and Containers to a known safe skin.  This way if you run into problems you can fix them.  Otherwise, your pages will bomb.  You have been warned.

(omitted to condense space)
<%@ Register TagPrefix="dnn" TagName="DOTNETNUKE" src="~/Admin/Skins/DotNetNuke.ascx" %>
<%@ Register TagPrefix="dnn" TagName="LANGUAGE" src="~/Admin/Skins/Language.ascx" %>
<Atlas:ScriptManager ID="scriptManager" EnablePartialRendering="true" runat="server" />
<TABLE class="pagemaster" border="0" cellspacing="0" cellpadding="0">
<TR>
<TD valign="top">
<TABLE class="skinmaster" width="770" border="0" align="center" cellspacing="0" cellpadding="0">
(omitted to condense space)

(Optional) Container File - Only if using the Update Panel

The old conatiner file.
(omitted to condense space)

<TD valign="middle" nowrap><dnn:VISIBILITY runat="server" id="dnnVISIBILITY" /><dnn:ACTIONBUTTON5 runat="server" id="dnnACTIONBUTTON5" CommandName="ModuleHelp.Action" DisplayIcon="True" DisplayLink="False" /></TD>
</TR>
</TABLE>
</TD>
</TR>
<TR>
<TD id="ContentPane" runat="server" align="center"></TD>
</TR>
<TR>
<TD>
<HR class="containermaster_blue">
(omitted to condense space)

The new conatiner file.
(omitted to condense space)
<TD valign="middle" nowrap><dnn:VISIBILITY runat="server" id="dnnVISIBILITY" /><dnn:ACTIONBUTTON5 runat="server" id="dnnACTIONBUTTON5" CommandName="ModuleHelp.Action" DisplayIcon="True" DisplayLink="False" /></TD>
</TR>
</TABLE>
</TD>
</TR>
<TR>
<TD>

<table border="0" cellpadding="0" cellspacing="0" style="margin-bottom: 5px;margin-top: 20px;" width="100%">
<tr>
<td id="oldContentPane" class="content" runat="server">
<Atlas:UpdatePanel ID="ContentPane" runat="server" Mode="Always">
<ContentTemplate>
</ContentTemplate>
</Atlas:UpdatePanel>
</td>
</tr>
</table>
</TD>
</TR>
<TR>
<TD>
<HR class="containermaster_blue">
(omitted to condense space)

DotNetNuke, Tips and Tricks

Add comment


(Will show your Gravatar icon)

  Country flag

biuquote
  • Comment
  • Preview
Loading