<?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>Jim Walker&#039;s Blog &#187; DotNetNuke</title>
	<atom:link href="http://datawalke.com/category/dnn/feed/" rel="self" type="application/rss+xml" />
	<link>http://datawalke.com</link>
	<description>PHP, PBBGs, and Business</description>
	<lastBuildDate>Mon, 28 Jun 2010 05:13:03 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>DNN: How to Add a External Menu Link that Opens in a New Window</title>
		<link>http://datawalke.com/dnn/dnn-how-to-add-a-external-menu-link-that-opens-in-a-new-window/</link>
		<comments>http://datawalke.com/dnn/dnn-how-to-add-a-external-menu-link-that-opens-in-a-new-window/#comments</comments>
		<pubDate>Thu, 05 Nov 2009 22:18:50 +0000</pubDate>
		<dc:creator>Jim Walker</dc:creator>
				<category><![CDATA[DotNetNuke]]></category>

		<guid isPermaLink="false">http://datawalke.com/?p=3</guid>
		<description><![CDATA[Ever notice that when you go to add an external link page in DotNetNuke that there is no option for it to open in a new window? Well I have two methods that you can go about to get this working on your DNN site. The first, not for the faint of heart, involves a [...]]]></description>
			<content:encoded><![CDATA[<p>Ever notice that when you go to add an external link page in DotNetNuke that there is no option for it to open in a new window? Well I have two methods that you can go about to get this working on your DNN site. The first, not for the faint of heart, involves a little database work. The second is a quick Javascript fix.</p>
<p>The first method involves tricking DNN&#8217;s Tab table to thinking your URL link is something a little bit different.</p>
<ul>
<li>Open up the Tabs Table in your favorite SQL Editor</li>
<li>Look for the URL field of the external link you wish to open in a new window.</li>
<li>You may see something like:<strong> http://example.com</strong></li>
<li>You want to make it: <strong>http://example.com&#8221; target=&#8221;_blank</strong></li>
</ul>
<p>Once you save restart the application in the Host -&gt; Host Settings page and view your link you should be good to go!</p>
<p>The second method is a bit easier however it does use Javascript instead of a normal link.</p>
<ul>
<li>In the external Link field on your DNN Page Settings you will see something like: <strong>http://example.com</strong></li>
<li>Change it to be:<strong> javascript:void(window.open(&#8217;http://www.example.com&#8217;))</strong></li>
</ul>
<p>And save.</p>
<p>A little DNN hacking never hurt anyone.</p>
<p>But it makes you wonder why they do not have this option implemented. And why they don&#8217;t validate external URLs when you add them.</p>
]]></content:encoded>
			<wfw:commentRss>http://datawalke.com/dnn/dnn-how-to-add-a-external-menu-link-that-opens-in-a-new-window/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
