<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>DNN4You Blog</title>
	<atom:link href="http://blog.dnn4you.com/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://blog.dnn4you.com</link>
	<description>Writing about DotNetNuke</description>
	<lastBuildDate>Thu, 04 Feb 2010 09:32:04 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
   <image>
    <title>DNN4You Blog</title>
    <url>http://www.gravatar.com/avatar/b884caae9d90f2630ab46d139f9aa213?s=48&amp;d=http%3A%2F%2Fwww.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536</url>
    <link>http://blog.dnn4you.com</link>
   </image>
		<item>
		<title>DotNetNuke and SmarterTrack Integration</title>
		<link>http://blog.dnn4you.com/?p=56</link>
		<comments>http://blog.dnn4you.com/?p=56#comments</comments>
		<pubDate>Thu, 04 Feb 2010 09:20:40 +0000</pubDate>
		<dc:creator>aboo</dc:creator>
				<category><![CDATA[Plugin]]></category>
		<category><![CDATA[DotNetNuke]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[Plugins]]></category>
		<category><![CDATA[SmarterTools]]></category>
		<category><![CDATA[SmarterTrack]]></category>

		<guid isPermaLink="false">http://blog.dnn4you.com/?p=56</guid>
		<description><![CDATA[SmarterTrack is a unique and powerful ticketing and support system produced by SmarterTools which is even being published in a free full featured version too.
The point of this post it to show how to integrate it with DotNetNuke to use same user accounts for sign in and even have a single sign in feature.
This post [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.smartertools.com/SmarterTrack/Features/Customer-Service-Software-Help-Desk.aspx">SmarterTrack</a> is a unique and powerful ticketing and support system produced by <a href="http://www.smartertools.com">SmarterTools</a> which is even being published in a <a href="http://www.smartertools.com/SmarterTrack/Free-Customer-Service-Software.aspx">free full featured</a> version too.</p>
<p>The point of this post it to show how to integrate <a href="http://www.smartertools.com/SmarterTrack/Features/Customer-Service-Software-Help-Desk.aspx">it</a> with <a href="http://www.dotnetnuke.com">DotNetNuke</a> to use same user accounts for sign in and even have a single sign in feature.</p>
<p>This post consists of links to already written articles and a free open source package (written by me <img src='http://blog.dnn4you.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  ) that you can download and install it on your current DNN website.</p>
<p>The package consists of:</p>
<ul>
<li><strong>~/DesktopModules/SmarterTrackLoginProvider/Login.asmx</strong> : The Webservice which is responsible for answering the SmarterTrack authentication request.</li>
<li><strong>~/App-Code/SmarterTrackLoginProvider/Login.vb</strong> : The source code for the mentioned Webservice.</li>
<li><strong>~/bin/SmarterTrack.Connector.dll</strong> and <strong>~/bin/SmarterTrack.Connector.pdb</strong> : Shipped originally by SmarterTools and are referenced in the Webservice.</li>
</ul>
<p>The general perspective is that SmarterTrack is having an External Login Provider feature in which you can customize it to have a single sign-in ability with your current accounting system. This feature is not being presented in Professional version of SmarterTrack.</p>
<p>Assumptions:</p>
<ul>
<li>You have an already installed and working DNN website</li>
<li>You have an already installed and working SmarterTrack web application</li>
<li>Both your website and SmarterTrack are working under one domain name. Sub domains and virtual directories can differ but the main domain should be same. (e.g. www.yourdomain.com and support.yourdomain.com or www.yourdomain.com/support) &#8211; (only for single sign-in feature)</li>
<li>You have access to modify your DNN and SmarterTrack web.config file.</li>
<li>You have the SmarterTrack administration access.</li>
<li>You have enough privileges to extract the package into your portal root folder.</li>
</ul>
<p>Part 1: Steps you need to take to let SmarterTrack use DotNetNuke accounts and authentication:</p>
<ol>
<li>First of all you need to download <a href="http://dl.dropbox.com/u/228139/BlogFiles/SmarterTrackLoginProvider.zip">this</a> zip file and extract it into your DNN portal&#8217;s root folder.</li>
<li>Edit file <strong>~/App-Code/Login.vb</strong> with a text editor and locate <strong>WebServicePassword</strong> and change it&#8217;s value. The default value is <strong>110</strong>. This password is used to authenticate the communication to the Webservice. Now save the file.</li>
<li> Log in to SmarterTrack as a system administrator. </li>
<li>Click <strong>Management</strong> Interface.</li>
<li>  Click <strong>Settings</strong> on the main toolbar. </li>
<li>Expand the <strong>System Settings</strong> folder. </li>
<li> Click <strong>External Providers</strong> in the left tree view. The external provider settings will load in the content pane.</li>
<li>Select <strong>Login Provider</strong> tab.</li>
<li>Change the provider type to <strong>External Web Service</strong>.</li>
<li> In the Web Service URL field, type <strong>http://<em>(path_to_your_portal_root)</em>/DesktopModules/SmarterTrackLoginProvider/Login.asmx</strong> .</li>
<li>In the Web Service Password field, type the password you have entered in the Login.vb file in step 2.</li>
<li>Click Save.</li>
</ol>
<p>That&#8217;s it.</p>
<p>Part 2: Now if you would like to have a single sing-in between the DotNetNuke portal and your SmarterTrack web application you need to follow these steps:</p>
<ol>
<li>Edit DotNetNuke web.config file with a text editor and locate the line which begins with <strong>&lt;forms</strong> and add <strong>enableCrossAppRedirects=&#8221;true&#8221; domain=&#8221;yourdomain.com&#8221;</strong> to the line and remove  <strong>cookieless=&#8221;UseCookies&#8221;</strong> . It should look something like :</li>
<pre class="brush: xml;">
&lt;forms name=&quot;.DOTNETNUKE&quot;  protection=&quot;All&quot; enableCrossAppRedirects=&quot;true&quot; domain=&quot;yourdomain.com&quot;/&gt;
</pre>
<li>In the same file locate the line which begins with <strong>&lt;machineKey </strong>. Copy the whole tag and have it pasted inside the SmarterTrack web.config file after <strong>&lt;system.web&gt;</strong> tag and before <strong>&lt;/system.web&gt;</strong>. However, if you already have this machine key enabled in your SmarterTrack application then you need to make sure that the keys and the algorithms match the ones in DotNetNuke web.config file. But this line is disabled (commented) in SmarterTrack by default.</li>
<li>In SmarterTrack web.config file, locate the line which begins with <strong>&lt;forms</strong> and add <strong>name=&#8221;.DOTNETNUKE&#8221; enableCrossAppRedirects=&#8221;true&#8221; domain=&#8221;<em>yourdomain.com</em>&#8220;</strong> to it. It should look like:</li>
<pre class="brush: xml;">
&lt;forms name=&quot;.DOTNETNUKE&quot; enableCrossAppRedirects=&quot;true&quot; domain=&quot;yourdomain.com&quot; loginUrl=&quot;~/Main/Default.aspx&quot; defaultUrl=&quot;~/Main/Default.aspx&quot; protection=&quot;All&quot; timeout=&quot;525600&quot;/&gt;
</pre>
<li>Now save both web.config files.</li>
<li>Close your browser (if any open)</li>
<li>Restart your IIS. (If you don&#8217;t have access to your IIS renaming the web.config files and then renaming them back should restart IIS)</li>
</ol>
<p>Now you have successfully integrated DotNetNuke membership with SmarterTrack Login. </p>
<p>I have developed and tested the code under : DNN494, .Net 2, SmarterTrack 4.7 . But I believe it should work on DNN 5.x too. However, I can update you once I have tested it or you can shout it in case you have more free time. <img src='http://blog.dnn4you.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Hope you enjoy this post.</p>
<p>Reference Articles:<br />
<a href="http://www.smartertools.com/Portal/KB/a443/how-to-configure-external-providers.aspx?KBSearchID=225619">SmarterTools &#8211; How To – Configure External Providers</a><br />
<a href="http://www.smartertools.com/Portal/KB/a361/how-to-configure-single-sign-on-between-smartertrack.aspx?KBSearchID=225619">SmarterTools &#8211; How To &#8211; Configure single sign-on between SmarterTrack and another site</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dnn4you.com/?feed=rss2&amp;p=56</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>ezAjax Demo Modification</title>
		<link>http://blog.dnn4you.com/?p=53</link>
		<comments>http://blog.dnn4you.com/?p=53#comments</comments>
		<pubDate>Thu, 19 Nov 2009 08:05:34 +0000</pubDate>
		<dc:creator>aboo</dc:creator>
				<category><![CDATA[Plugin]]></category>
		<category><![CDATA[ezAjax]]></category>

		<guid isPermaLink="false">http://blog.dnn4you.com/?p=53</guid>
		<description><![CDATA[Since the demo was very fast it just looked like you are popping up some values with alert command. Therefore I modified the demo and added a 2 seconds delay plus a simple loading.
Hope it&#8217;s better now.
]]></description>
			<content:encoded><![CDATA[<p>Since the <a title="ezAjax Demo" href="http://samples.dnn4you.com/ezAjax" target="_blank">demo</a> was very fast it just looked like you are popping up some values with alert command. Therefore I modified the demo and added a 2 seconds delay plus a simple loading.</p>
<p>Hope it&#8217;s better now.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dnn4you.com/?feed=rss2&amp;p=53</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>ezAjax is released!</title>
		<link>http://blog.dnn4you.com/?p=48</link>
		<comments>http://blog.dnn4you.com/?p=48#comments</comments>
		<pubDate>Tue, 10 Nov 2009 17:49:50 +0000</pubDate>
		<dc:creator>aboo</dc:creator>
				<category><![CDATA[Plugin]]></category>
		<category><![CDATA[ezAjax]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://blog.dnn4you.com/?p=48</guid>
		<description><![CDATA[Well, during developing for DotNetNuke, I realized that I need some sort of plug-in where it can automatically send part of a large form to a WebService,  process the data and return the result in some sort of understandable and functional way. I also didn&#8217;t want to use Ajax Panels since I have a bad [...]]]></description>
			<content:encoded><![CDATA[<p>Well, during developing for DotNetNuke, I realized that I need some sort of plug-in where it can automatically send part of a large form to a WebService,  process the data and return the result in some sort of understandable and functional way. I also didn&#8217;t want to use Ajax Panels since I have a bad experience with them making the page too heavy.</p>
<p>I couldn&#8217;t use existing jQuery Ajax plug-ins because of two main reasons. First, I wanted the total control over what&#8217;s going on and making it as much integrated as possible with DotNetNuke. Next, I really didn&#8217;t want the whole page or the only available form in an ASP.NET page to be posted to the server with that huge ViewState field. Instead, I needed the ability to send part of a page in a very light weight way. Therefor <a title="JSON Official Website" href="http://json.org/" target="_blank">JSON</a> was chosen as the format for in-going and out-coming data over jQuery Ajax method, which is very fast and (hopefully) functional.</p>
<p>And this, is the moment ezAjax, the first gadget beside the main project, is born.</p>
<p>I have spent some time and wrote a documentation and a sample application just in case somebody is interested and wants to use it. You can find all about ezAjax <a title="ezAjax Documentation" href="http://blog.dnn4you.com/?page_id=18" target="_self">here</a>.</p>
<p>By using ezAjax, I am able to quickly send fields of any part of a page to a Web Service getting help from jQuery Ajax method. Actually there is nothing WOW around it but it simplifies the whole process and recognizes FCKEditor elements in a DotNetNuke Page.</p>
<p>I have also plans to develop this plug-in as we go, based on your comments and my future needs.</p>
<p><a title="ezAjax Documentation" href="http://blog.dnn4you.com/?page_id=18">ezAjax Page</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dnn4you.com/?feed=rss2&amp;p=48</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>DotNetNuke.HelloWorld()</title>
		<link>http://blog.dnn4you.com/?p=6</link>
		<comments>http://blog.dnn4you.com/?p=6#comments</comments>
		<pubDate>Sat, 17 Oct 2009 19:46:49 +0000</pubDate>
		<dc:creator>aboo</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://blog.dnn4you.com/?p=6</guid>
		<description><![CDATA[Hi folks,
As you may have read the welcome text, you might already know what it is all about.
This is many years since I started developing on DotNetNuke framework, the well known free open source .Net based CMS, and I really appreciate it.
Nowadays I am working on my new website, DNN4You, which is aimed to provide [...]]]></description>
			<content:encoded><![CDATA[<p>Hi folks,</p>
<p>As you may have read the welcome text, you might already know what it is all about.</p>
<p>This is many years since I started developing on <a title="DotNetNuke Official Website" href="http://www.dotnetnuke.com">DotNetNuke</a> framework, the well known free open source .Net based CMS, and I really appreciate it.</p>
<p>Nowadays I am working on my new website, <a href="http://www.dnn4you.com">DNN4You</a>, which is aimed to provide useful first handed modules for DotNetNuke, in order to bring ease into your portal management and development. During the while I decided to share my achievements as a small give away to DotNetNuke community.</p>
<blockquote><p><strong>So, whatever source code, dll, tips or any download-able media shared in this blog is absolutely for free and you can use it where ever you want in the way you want or otherwise will be notified. </strong></p></blockquote>
<p>Let&#8217;s hope I can keep the engine warm <img src='http://blog.dnn4you.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.dnn4you.com/?feed=rss2&amp;p=6</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
