Friday, October 16, 2009

DNN - installing AjaxToolkit ahead of UKNuke RPX authentication

These were the draft steps I wrote about how to install the popup login functionality...

This is still in development... not really ready for primetime yet!

Stuart

1. AjaxToolkit

You need the AjaxToolkit installed within your DNN bin folder. This can be downloaded fromhttp://www.codeplex.com/AjaxControlToolkit. To install it you may also need to update your System.Web.Extensions.dll to a more recent version (and indeed you may need to update the whole portal to .Net 3.5). 

I can't assist you with this part in detail here - but there are quite a few links/instructions out there on Bing/Google!

One thing that helped me was updating web.config to include this "bindingRedirect" section:
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35" />
<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35" />
<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>

- this taken from a DNN 5.1.4 example portal.

2. Install the new RPX module I just sent you

3. Change your skin

You'll need to add this to the top of your skin:
<%@ Register TagPrefix="uknuke" TagName="Login" Src="~/DesktopModules/AuthenticationServices/UkNuke.RPX/LoginButton.ascx" %>

And you'll need to add this wherever you want the login link to appear:
<uknuke:Login ID="specialLogin" runat="server"></uknuke:Login>

4. That should be it :)

No comments:

Post a Comment