<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Core Framework</title><link>http://www.dotnetnuke.com/tabid/795/Default.aspx</link><description>Discussions of the DotNetNuke core framework.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: Links Module, Link to Tab, FormatUrl(), LinkClick()</title><link>http://forums.asp.net/thread/1138556.aspx</link><pubDate>Sun, 11 Dec 2005 17:10:45 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1138556</guid><dc:creator>diamondz</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1138556.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=97&amp;PostID=1138556</wfw:commentRss><description>Codepic I can understand your problem, in my mind I would say this was a core bug. Did you log it as this?&lt;br /&gt;
&lt;br /&gt;
I think that dot net nuke is a great product, but as you point out the links tracking doesn't use the friendly URLs. &lt;br /&gt;
Its an easy thing to fix, you just need to make some changes to the
core code base, something I've done with DNN 3.1.1 on my development
machine to make the link tracking use friendly URLS.&lt;br /&gt;
&lt;br /&gt;
Hopefully this will be fixed in the next release of DNN.&lt;br /&gt;
&lt;br /&gt;
Mark&lt;br /&gt;
&lt;br /&gt;</description></item><item><title>Re: Links Module, Link to Tab, FormatUrl(), LinkClick()</title><link>http://forums.asp.net/thread/1136304.aspx</link><pubDate>Thu, 08 Dec 2005 17:03:10 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1136304</guid><dc:creator>bstricklin</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1136304.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=97&amp;PostID=1136304</wfw:commentRss><description>&lt;P&gt;&lt;FONT face=Verdana size=2&gt;Hi,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;I am having similar problems in that I need for the Links Module to include the PortalName in the url. &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;ex.&amp;nbsp;&amp;nbsp; &lt;/FONT&gt;&lt;A href="http://mydnnsite.com/[PORTALNAME]/Default.aspx"&gt;&lt;FONT face=Verdana size=2&gt;http://myDNNsite.com/[PORTALNAME]/Default.aspx&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Verdana size=2&gt;Is there a simple solution for this?&lt;BR&gt;&lt;BR&gt;Ben&lt;/FONT&gt;&lt;/P&gt;</description></item><item><title>Links Module, Link to Tab, FormatUrl(), LinkClick()</title><link>http://forums.asp.net/thread/1118063.aspx</link><pubDate>Sat, 19 Nov 2005 13:48:33 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1118063</guid><dc:creator>Codepic</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1118063.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=97&amp;PostID=1118063</wfw:commentRss><description>Hello,&lt;BR&gt;&lt;BR&gt;I wanted to discuss here about this issue before posting a bug report. &lt;BR&gt;&lt;BR&gt;It seems that still in DNN4.0 the Links module renders non-FriendlyUrls when linking to a tab even though the host settings would be set to FriendlyUrls On&lt;BR&gt;&lt;BR&gt;As I examined the issue further, by using the links module source on DNN 3.1.3 as I couldn't find more recent code base for the module, here's what happens&lt;BR&gt;&lt;BR&gt;The Links.ascx uses FormatURL() for NavigateUrl&lt;BR&gt;-&amp;gt; &lt;FONT size=2&gt;FormatURL(&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;ByVal&lt;/FONT&gt;&lt;FONT size=2&gt; Link &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;As&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;String&lt;/FONT&gt;&lt;FONT size=2&gt;, &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;ByVal&lt;/FONT&gt;&lt;FONT size=2&gt; TrackClicks &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;As&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Boolean&lt;/FONT&gt;&lt;FONT size=2&gt;)&lt;BR&gt;&lt;BR&gt;&lt;FONT size=3&gt;Which then passes&lt;/FONT&gt; the parameters to &lt;FONT size=2&gt;Common.Globals.LinkClick(Link, TabId, ModuleId, TrackClicks)&lt;BR&gt;&lt;BR&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=3&gt;The Links table in DNN has &lt;STRONG&gt;only a numeric value&lt;/STRONG&gt; (the tabid) when linking to a tab and for this kind of url, LinkClick isn't returning FriendlyUrls even if the host settings would suggest so.&lt;BR&gt;&lt;BR&gt;&lt;FONT color=#006400&gt;&lt;STRONG&gt;Now, should DNN core functions return the FriendlyUrl or should the module developer take care of this prior to passing the Url to the LinkClick function?&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR&gt;&lt;BR&gt;Depending on that answer, I believe this is either a core bug or the links module bug.&lt;BR&gt;&lt;BR&gt;My humble opinion is, that LinkClick Should indeed return FriendlyUrls. If the hosts has decided using FriendlyUrls, then I believe the assumption would be that every module and function should conform to this. This would allow every module developer to use the core function to pass the numeric tabid&amp;nbsp;value, or if they decide to make a performance improvement and store the Url in already rewritten manner into DB and bypass rewriting them every time the page is requested.&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&lt;/FONT&gt;</description></item></channel></rss>