<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:pingback="http://madskills.com/public/xml/rss/module/pingback/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">
  <channel>
    <title>CornerPixel Blog</title>
    <link>http://blog.cornerpixel.net/</link>
    <description>Rant by Mike</description>
    <language>en-us</language>
    <copyright>2008-2009 CornerPixel LLC</copyright>
    <lastBuildDate>Tue, 01 Jun 2010 00:54:18 GMT</lastBuildDate>
    <generator>newtelligence dasBlog 2.1.8102.813</generator>
    <managingEditor>blog@cornerpixel.net</managingEditor>
    <webMaster>blog@cornerpixel.net</webMaster>
    <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/CornerpixelBlog" /><feedburner:info uri="cornerpixelblog" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId>CornerpixelBlog</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item>
      <trackback:ping>http://blog.cornerpixel.net/Trackback.aspx?guid=27308b0c-06e5-4f0e-8011-4539bf3a1779</trackback:ping>
      <pingback:server>http://blog.cornerpixel.net/pingback.aspx</pingback:server>
      <pingback:target>http://blog.cornerpixel.net/PermaLink,guid,27308b0c-06e5-4f0e-8011-4539bf3a1779.aspx</pingback:target>
      <dc:creator>Mike</dc:creator>
      <wfw:comment>http://blog.cornerpixel.net/CommentView,guid,27308b0c-06e5-4f0e-8011-4539bf3a1779.aspx</wfw:comment>
      <wfw:commentRss>http://blog.cornerpixel.net/SyndicationService.asmx/GetEntryCommentsRss?guid=27308b0c-06e5-4f0e-8011-4539bf3a1779</wfw:commentRss>
      <slash:comments>2</slash:comments>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
I am not sure where I have been, or whether or not I have not been paying attention,
but I have missed something.
</p>
        <p>
I just got done updating my DotNetNuke website to 5.04, from 5.02, and I was having
a bear of a time.  I was using the same old update steps I used for version 4.
</p>
        <p>
Most of the update directions are just fine for version 4, except for one.
</p>
        <p>
          <strong>The Web.Config file!</strong>
        </p>
        <p>
In any version above 4.6.2 (that is what I have been told) does not require you to
update the web.config file.  Yuppers, you heard me right.  DNN now updates
the web.config file for you.
</p>
        <p>
You don’t even have to redo the connection strings.  How do you like that?
</p>
        <p>
This isn’t a long post, but I thought I would pass on the information.  I know
many of you are already wondering why I hadn’t figured this out before, and I am not
sure either.  Oh well, at least I have the information now.
</p>
        <p>
 
</p>
        <p>
Happy DNN updating!
</p>
        <img width="0" height="0" src="http://blog.cornerpixel.net/aggbug.ashx?id=27308b0c-06e5-4f0e-8011-4539bf3a1779" />
      </body>
      <title>DotNetNuke Update and web.config file</title>
      <guid isPermaLink="false">http://blog.cornerpixel.net/PermaLink,guid,27308b0c-06e5-4f0e-8011-4539bf3a1779.aspx</guid>
      <link>http://feedproxy.google.com/~r/CornerpixelBlog/~3/PmCRX7abX3U/DotNetNuke+Update+And+Webconfig+File.aspx</link>
      <pubDate>Tue, 01 Jun 2010 00:54:18 GMT</pubDate>
      <description>&lt;p&gt;
I am not sure where I have been, or whether or not I have not been paying attention,
but I have missed something.
&lt;/p&gt;
&lt;p&gt;
I just got done updating my DotNetNuke website to 5.04, from 5.02, and I was having
a bear of a time.&amp;#160; I was using the same old update steps I used for version 4.
&lt;/p&gt;
&lt;p&gt;
Most of the update directions are just fine for version 4, except for one.
&lt;/p&gt;
&lt;p&gt;
&lt;strong&gt;The Web.Config file!&lt;/strong&gt;
&lt;/p&gt;
&lt;p&gt;
In any version above 4.6.2 (that is what I have been told) does not require you to
update the web.config file.&amp;#160; Yuppers, you heard me right.&amp;#160; DNN now updates
the web.config file for you.
&lt;/p&gt;
&lt;p&gt;
You don’t even have to redo the connection strings.&amp;#160; How do you like that?
&lt;/p&gt;
&lt;p&gt;
This isn’t a long post, but I thought I would pass on the information.&amp;#160; I know
many of you are already wondering why I hadn’t figured this out before, and I am not
sure either.&amp;#160; Oh well, at least I have the information now.
&lt;/p&gt;
&lt;p&gt;
&amp;#160;
&lt;/p&gt;
&lt;p&gt;
Happy DNN updating!
&lt;/p&gt;
&lt;img width="0" height="0" src="http://blog.cornerpixel.net/aggbug.ashx?id=27308b0c-06e5-4f0e-8011-4539bf3a1779" /&gt;</description>
      <comments>http://blog.cornerpixel.net/CommentView,guid,27308b0c-06e5-4f0e-8011-4539bf3a1779.aspx</comments>
      <category>DotNetNuke</category>
    <feedburner:origLink>http://blog.cornerpixel.net/2010/06/01/DotNetNuke+Update+And+Webconfig+File.aspx</feedburner:origLink></item>
    <item>
      <trackback:ping>http://blog.cornerpixel.net/Trackback.aspx?guid=b6f280c2-4bac-4b3a-a819-48161209effc</trackback:ping>
      <pingback:server>http://blog.cornerpixel.net/pingback.aspx</pingback:server>
      <pingback:target>http://blog.cornerpixel.net/PermaLink,guid,b6f280c2-4bac-4b3a-a819-48161209effc.aspx</pingback:target>
      <dc:creator>Mike</dc:creator>
      <wfw:comment>http://blog.cornerpixel.net/CommentView,guid,b6f280c2-4bac-4b3a-a819-48161209effc.aspx</wfw:comment>
      <wfw:commentRss>http://blog.cornerpixel.net/SyndicationService.asmx/GetEntryCommentsRss?guid=b6f280c2-4bac-4b3a-a819-48161209effc</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Today I got an email from Google because I use their Google Apps, and I was surprised,
but kind of happy to read the email they sent.  Below is it's contents in entirety.  
</p>
        <p>
NOTE: I have highlighted the interesting parts, or at least some.
</p>
        <blockquote>
          <p>
Dear Google Apps admin, 
</p>
          <p>
In order to continue to improve our products and deliver more sophisticated features
and performance, we are harnessing some of the latest improvements in web browser
technology.  This includes faster JavaScript processing and new standards like
HTML5.  As a result, over the course of 2010, <span style="background: yellow">we
will be phasing out support for Microsoft Internet Explorer 6.0 as well as other older
browsers that are not supported by their own manufacturers.</span></p>
          <p>
We plan to begin phasing out support of these older browsers on the Google Docs suite
and the Google Sites editor on March 1, 2010.  After that point, certain functionality
within these applications may have higher latency and may not work correctly in these
older browsers. Later in 2010, we will start to phase out support for these browsers
for Google Mail and Google Calendar. 
</p>
          <p>
Google Apps will continue to support Internet Explorer 7.0 and above, Firefox 3.0
and above, Google Chrome 4.0 and above, and Safari 3.0 and above. 
</p>
          <p>
            <span style="background: yellow">Starting next week, users on these older browsers
will see a message in Google Docs and the Google Sites editor explaining this change
and asking them to upgrade their browser.</span>  We will also alert you again
closer to March 1 to remind you of this change. 
</p>
          <p>
In 2009, the Google Apps team delivered more than 100 improvements to enhance your
product experience.  We are aiming to beat that in 2010 and continue to deliver
the best and most innovative collaboration products for businesses. 
</p>
          <p>
Thank you for your continued support! 
</p>
          <p>
Sincerely, 
</p>
          <p>
The Google Apps team 
</p>
          <p>
Email preferences: You have received this mandatory email service announcement to
update you about important changes to your Google Apps product or account. 
</p>
          <p>
Google Inc. 
<br />
1600 Amphitheatre Parkway 
<br />
Mountain View, CA 94043
</p>
        </blockquote>
        <p>
I hope someone else finds this interesting.  If not, no worries, but if you did
and have comments, please feel free to post.
</p>
        <img width="0" height="0" src="http://blog.cornerpixel.net/aggbug.ashx?id=b6f280c2-4bac-4b3a-a819-48161209effc" />
      </body>
      <title>No More IE6 Love from Google</title>
      <guid isPermaLink="false">http://blog.cornerpixel.net/PermaLink,guid,b6f280c2-4bac-4b3a-a819-48161209effc.aspx</guid>
      <link>http://feedproxy.google.com/~r/CornerpixelBlog/~3/2nGm9ZJX2dk/No+More+IE6+Love+From+Google.aspx</link>
      <pubDate>Sat, 30 Jan 2010 06:52:51 GMT</pubDate>
      <description>&lt;p&gt;
Today I got an email from Google because I use their Google Apps, and I was surprised,
but kind of happy to read the email they sent.&amp;#160; Below is it's contents in entirety.&amp;#160; 
&lt;/p&gt;
&lt;p&gt;
NOTE: I have highlighted the interesting parts, or at least some.
&lt;/p&gt;
&lt;blockquote&gt; 
&lt;p&gt;
Dear Google Apps admin, 
&lt;/p&gt;
&lt;p&gt;
In order to continue to improve our products and deliver more sophisticated features
and performance, we are harnessing some of the latest improvements in web browser
technology.&amp;#160; This includes faster JavaScript processing and new standards like
HTML5.&amp;#160; As a result, over the course of 2010, &lt;span style="background: yellow"&gt;we
will be phasing out support for Microsoft Internet Explorer 6.0 as well as other older
browsers that are not supported by their own manufacturers.&lt;/span&gt; 
&lt;/p&gt;
&lt;p&gt;
We plan to begin phasing out support of these older browsers on the Google Docs suite
and the Google Sites editor on March 1, 2010.&amp;#160; After that point, certain functionality
within these applications may have higher latency and may not work correctly in these
older browsers. Later in 2010, we will start to phase out support for these browsers
for Google Mail and Google Calendar. 
&lt;/p&gt;
&lt;p&gt;
Google Apps will continue to support Internet Explorer 7.0 and above, Firefox 3.0
and above, Google Chrome 4.0 and above, and Safari 3.0 and above. 
&lt;/p&gt;
&lt;p&gt;
&lt;span style="background: yellow"&gt;Starting next week, users on these older browsers
will see a message in Google Docs and the Google Sites editor explaining this change
and asking them to upgrade their browser.&lt;/span&gt;&amp;#160; We will also alert you again
closer to March 1 to remind you of this change. 
&lt;/p&gt;
&lt;p&gt;
In 2009, the Google Apps team delivered more than 100 improvements to enhance your
product experience.&amp;#160; We are aiming to beat that in 2010 and continue to deliver
the best and most innovative collaboration products for businesses. 
&lt;/p&gt;
&lt;p&gt;
Thank you for your continued support! 
&lt;/p&gt;
&lt;p&gt;
Sincerely, 
&lt;/p&gt;
&lt;p&gt;
The Google Apps team 
&lt;/p&gt;
&lt;p&gt;
Email preferences: You have received this mandatory email service announcement to
update you about important changes to your Google Apps product or account. 
&lt;/p&gt;
&lt;p&gt;
Google Inc. 
&lt;br /&gt;
1600 Amphitheatre Parkway 
&lt;br /&gt;
Mountain View, CA 94043
&lt;/p&gt;
&lt;/blockquote&gt; 
&lt;p&gt;
I hope someone else finds this interesting.&amp;#160; If not, no worries, but if you did
and have comments, please feel free to post.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://blog.cornerpixel.net/aggbug.ashx?id=b6f280c2-4bac-4b3a-a819-48161209effc" /&gt;</description>
      <comments>http://blog.cornerpixel.net/CommentView,guid,b6f280c2-4bac-4b3a-a819-48161209effc.aspx</comments>
      <category>Browser - IE General</category>
      <category>Web News</category>
      <category>Web Standards</category>
    <feedburner:origLink>http://blog.cornerpixel.net/2010/01/30/No+More+IE6+Love+From+Google.aspx</feedburner:origLink></item>
    <item>
      <trackback:ping>http://blog.cornerpixel.net/Trackback.aspx?guid=d4b34890-0725-4007-ae8f-c27c59769a93</trackback:ping>
      <pingback:server>http://blog.cornerpixel.net/pingback.aspx</pingback:server>
      <pingback:target>http://blog.cornerpixel.net/PermaLink,guid,d4b34890-0725-4007-ae8f-c27c59769a93.aspx</pingback:target>
      <dc:creator>Mike</dc:creator>
      <wfw:comment>http://blog.cornerpixel.net/CommentView,guid,d4b34890-0725-4007-ae8f-c27c59769a93.aspx</wfw:comment>
      <wfw:commentRss>http://blog.cornerpixel.net/SyndicationService.asmx/GetEntryCommentsRss?guid=d4b34890-0725-4007-ae8f-c27c59769a93</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Okay I have a customer who has a .deb file that he wants to link to in his blog, which
I have created for him in DotNetNuke.  DotNetNuke is an ASP.NET CMS. (content
management system)
</p>
        <p>
When he links to it, the user gets a 404 error, which is not what was wanted, so I
needed to figure this out.
</p>
        <p>
My assumption is that I need to add a MIME Type to IIS.  I found the following
MIME Type, and it worked.
</p>
        <p>
application/x-deb   
</p>
        <p>
I first looked through several “Common MIME Type” web pages and couldn’t find the
.deb extension.  Then I went to <a title="The Wikipedia page I came to" href="http://en.wikipedia.org/wiki/Deb_%28file_format%29" target="_blank">Wikipedia</a> just
because I wanted to find out more about the debian extension.  Once there I was
happy to notice that it gave the “internet Media Type” (MIME Type) on the right hand
side of the web page.
</p>
        <p>
So make a note.  If you want to find an uncommon MIME Type, look for the extension
on Wikipedia.
</p>
        <img width="0" height="0" src="http://blog.cornerpixel.net/aggbug.ashx?id=d4b34890-0725-4007-ae8f-c27c59769a93" />
      </body>
      <title>Linking to Deb files and Debian MIME Types</title>
      <guid isPermaLink="false">http://blog.cornerpixel.net/PermaLink,guid,d4b34890-0725-4007-ae8f-c27c59769a93.aspx</guid>
      <link>http://feedproxy.google.com/~r/CornerpixelBlog/~3/DTvyLB2uAjQ/Linking+To+Deb+Files+And+Debian+MIME+Types.aspx</link>
      <pubDate>Mon, 04 Jan 2010 18:59:18 GMT</pubDate>
      <description>&lt;p&gt;
Okay I have a customer who has a .deb file that he wants to link to in his blog, which
I have created for him in DotNetNuke.&amp;#160; DotNetNuke is an ASP.NET CMS. (content
management system)
&lt;/p&gt;
&lt;p&gt;
When he links to it, the user gets a 404 error, which is not what was wanted, so I
needed to figure this out.
&lt;/p&gt;
&lt;p&gt;
My assumption is that I need to add a MIME Type to IIS.&amp;#160; I found the following
MIME Type, and it worked.
&lt;/p&gt;
&lt;p&gt;
application/x-deb&amp;#160;&amp;#160; 
&lt;/p&gt;
&lt;p&gt;
I first looked through several “Common MIME Type” web pages and couldn’t find the
.deb extension.&amp;#160; Then I went to &lt;a title="The Wikipedia page I came to" href="http://en.wikipedia.org/wiki/Deb_%28file_format%29" target="_blank"&gt;Wikipedia&lt;/a&gt; just
because I wanted to find out more about the debian extension.&amp;#160; Once there I was
happy to notice that it gave the “internet Media Type” (MIME Type) on the right hand
side of the web page.
&lt;/p&gt;
&lt;p&gt;
So make a note.&amp;#160; If you want to find an uncommon MIME Type, look for the extension
on Wikipedia.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://blog.cornerpixel.net/aggbug.ashx?id=d4b34890-0725-4007-ae8f-c27c59769a93" /&gt;</description>
      <comments>http://blog.cornerpixel.net/CommentView,guid,d4b34890-0725-4007-ae8f-c27c59769a93.aspx</comments>
      <category>IIS</category>
      <category>Server Administration</category>
    <feedburner:origLink>http://blog.cornerpixel.net/2010/01/04/Linking+To+Deb+Files+And+Debian+MIME+Types.aspx</feedburner:origLink></item>
    <item>
      <trackback:ping>http://blog.cornerpixel.net/Trackback.aspx?guid=1bcac4b7-4b07-4cac-bb6a-044a77e59d9a</trackback:ping>
      <pingback:server>http://blog.cornerpixel.net/pingback.aspx</pingback:server>
      <pingback:target>http://blog.cornerpixel.net/PermaLink,guid,1bcac4b7-4b07-4cac-bb6a-044a77e59d9a.aspx</pingback:target>
      <dc:creator>Mike</dc:creator>
      <wfw:comment>http://blog.cornerpixel.net/CommentView,guid,1bcac4b7-4b07-4cac-bb6a-044a77e59d9a.aspx</wfw:comment>
      <wfw:commentRss>http://blog.cornerpixel.net/SyndicationService.asmx/GetEntryCommentsRss?guid=1bcac4b7-4b07-4cac-bb6a-044a77e59d9a</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
I have been designing a site for a customer that is going to rely on having a good
looking and functional DNN Core Repository.
</p>
        <p>
I found that creating a template for the repository was pretty simple after I found
some <a href="http://www.dotnetnuke.com/Development/Forge/ModuleRepository/Downloads/tabid/831/Default.aspx" target="_blank">online
documentation on the DNN Repository</a>.
</p>
        <p>
I found that in the /wwwroot/DesktopModules/Repository/Templates/ directory I could
add my own template which will show up under the Repository Skin drop down box. 
As shown below.
</p>
        <p>
          <a href="http://blog.cornerpixel.net/content/binary/WindowsLiveWriter/DotNetNukeRepositoryBordersinSafariandOp_E27C/image.png">
            <img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="DotNetNuke Repository dropdown for choosing the template or skin for your repository" border="0" alt="DotNetNuke Repository dropdown for choosing the template or skin for your repository" src="http://blog.cornerpixel.net/content/binary/WindowsLiveWriter/DotNetNukeRepositoryBordersinSafariandOp_E27C/image_thumb.png" width="225" height="260" />
          </a>
          <br />
As you notice the bottom one is the one I added.
</p>
        <h6>Now the Issue
</h6>
        <p>
I was very excited to make my own repository template, but soon found I was getting
pesky borders around the tables of the repository in the Safari and Opera browser.  
</p>
        <p>
I tried editing the repository.aspx file, but was uncomfortable doing that because
that is going beyond a simple template.
</p>
        <p>
So then I did some experiments with the two browsers having the issues.  (Safari
and Opera)  You can see my <a href="http://www.cornerpixel.net/demo/dnn-repository-borders/" target="_blank">demo
page</a> and how I ended up fixing the issue.  (NOTE: for the demo page to make
sense you need to view it in either Safari or Opera)
</p>
        <p>
Basically to fix the issue I ended up using CSS to tell the tables inside the div
I use for Content to have no borders.  Below is the CSS. (in the example below
the DIV that the tables are in has the class bordernone)
</p>
        <blockquote>
          <p>
.bordernone table, 
<br />
.bordernone td, 
<br />
.bordernone tr, 
<br />
.bordernone tbody 
<br />
{ 
<br />
    border: none !important 
<br />
}
</p>
        </blockquote>
        <p>
I hope that all makes sense.  Please feel free to email me if you have questions. 
You can also make a comment here with a question, or heck, a better way to fix this
issue.
</p>
        <img width="0" height="0" src="http://blog.cornerpixel.net/aggbug.ashx?id=1bcac4b7-4b07-4cac-bb6a-044a77e59d9a" />
      </body>
      <title>DotNetNuke Repository – Borders in Safari and Opera</title>
      <guid isPermaLink="false">http://blog.cornerpixel.net/PermaLink,guid,1bcac4b7-4b07-4cac-bb6a-044a77e59d9a.aspx</guid>
      <link>http://feedproxy.google.com/~r/CornerpixelBlog/~3/ciDu2EItods/DotNetNuke+Repository+Borders+In+Safari+And+Opera.aspx</link>
      <pubDate>Mon, 30 Nov 2009 00:07:10 GMT</pubDate>
      <description>&lt;p&gt;
I have been designing a site for a customer that is going to rely on having a good
looking and functional DNN Core Repository.
&lt;/p&gt;
&lt;p&gt;
I found that creating a template for the repository was pretty simple after I found
some &lt;a href="http://www.dotnetnuke.com/Development/Forge/ModuleRepository/Downloads/tabid/831/Default.aspx" target="_blank"&gt;online
documentation on the DNN Repository&lt;/a&gt;.
&lt;/p&gt;
&lt;p&gt;
I found that in the /wwwroot/DesktopModules/Repository/Templates/ directory I could
add my own template which will show up under the Repository Skin drop down box.&amp;#160;
As shown below.
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://blog.cornerpixel.net/content/binary/WindowsLiveWriter/DotNetNukeRepositoryBordersinSafariandOp_E27C/image.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="DotNetNuke Repository dropdown for choosing the template or skin for your repository" border="0" alt="DotNetNuke Repository dropdown for choosing the template or skin for your repository" src="http://blog.cornerpixel.net/content/binary/WindowsLiveWriter/DotNetNukeRepositoryBordersinSafariandOp_E27C/image_thumb.png" width="225" height="260" /&gt;&lt;/a&gt; 
&lt;br /&gt;
As you notice the bottom one is the one I added.
&lt;/p&gt;
&lt;h6&gt;Now the Issue
&lt;/h6&gt;
&lt;p&gt;
I was very excited to make my own repository template, but soon found I was getting
pesky borders around the tables of the repository in the Safari and Opera browser.&amp;#160; 
&lt;/p&gt;
&lt;p&gt;
I tried editing the repository.aspx file, but was uncomfortable doing that because
that is going beyond a simple template.
&lt;/p&gt;
&lt;p&gt;
So then I did some experiments with the two browsers having the issues.&amp;#160; (Safari
and Opera)&amp;#160; You can see my &lt;a href="http://www.cornerpixel.net/demo/dnn-repository-borders/" target="_blank"&gt;demo
page&lt;/a&gt; and how I ended up fixing the issue.&amp;#160; (NOTE: for the demo page to make
sense you need to view it in either Safari or Opera)
&lt;/p&gt;
&lt;p&gt;
Basically to fix the issue I ended up using CSS to tell the tables inside the div
I use for Content to have no borders.&amp;#160; Below is the CSS. (in the example below
the DIV that the tables are in has the class bordernone)
&lt;/p&gt;
&lt;blockquote&gt; 
&lt;p&gt;
.bordernone table, 
&lt;br /&gt;
.bordernone td, 
&lt;br /&gt;
.bordernone tr, 
&lt;br /&gt;
.bordernone tbody 
&lt;br /&gt;
{ 
&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160; border: none !important 
&lt;br /&gt;
}
&lt;/p&gt;
&lt;/blockquote&gt; 
&lt;p&gt;
I hope that all makes sense.&amp;#160; Please feel free to email me if you have questions.&amp;#160;
You can also make a comment here with a question, or heck, a better way to fix this
issue.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://blog.cornerpixel.net/aggbug.ashx?id=1bcac4b7-4b07-4cac-bb6a-044a77e59d9a" /&gt;</description>
      <comments>http://blog.cornerpixel.net/CommentView,guid,1bcac4b7-4b07-4cac-bb6a-044a77e59d9a.aspx</comments>
      <category>CSS</category>
      <category>DotNetNuke</category>
      <category>Web Standards</category>
    <feedburner:origLink>http://blog.cornerpixel.net/2009/11/30/DotNetNuke+Repository+Borders+In+Safari+And+Opera.aspx</feedburner:origLink></item>
    <item>
      <trackback:ping>http://blog.cornerpixel.net/Trackback.aspx?guid=17ddbcca-9a34-44e3-bace-c1828501fa47</trackback:ping>
      <pingback:server>http://blog.cornerpixel.net/pingback.aspx</pingback:server>
      <pingback:target>http://blog.cornerpixel.net/PermaLink,guid,17ddbcca-9a34-44e3-bace-c1828501fa47.aspx</pingback:target>
      <dc:creator>Mike</dc:creator>
      <wfw:comment>http://blog.cornerpixel.net/CommentView,guid,17ddbcca-9a34-44e3-bace-c1828501fa47.aspx</wfw:comment>
      <wfw:commentRss>http://blog.cornerpixel.net/SyndicationService.asmx/GetEntryCommentsRss?guid=17ddbcca-9a34-44e3-bace-c1828501fa47</wfw:commentRss>
      <slash:comments>2</slash:comments>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Today I tried to install the Repository Module on a DotNetNuke website and was very
frustrated to find I kept getting runtime ASP errors. 
</p>
        <p>
I was trying to install the Repository Module by going to Host &gt; Module Definition
and clicking on the “Install Module” link at the bottom of the page.  Then I
was browsing to the zip file I had on my PC.
</p>
        <p>
This was not working and I was beginning to think I was going to have to give up. 
</p>
        <p>
I started to look around my folder structure, thinking there might already be repository
files somewhere that might be causing the error.  I came upon the install/module
directory and inside there was a resource file for the Repository.
</p>
        <p>
I was confused at first but then I found the page Host &gt; Extensions and noticed
at the bottom of the page there was an “Install Available Extensions” link and it
went to a page that had all sorts of modules to install, to include the Repository. 
YAY!
</p>
        <p>
          <a href="http://blog.cornerpixel.net/content/binary/WindowsLiveWriter/InstallingCoreDotNetNukeModules_11551/image.png">
            <img style="border-bottom: 0px; border-left: 0px; margin: 0px 0px 0px 15px; display: inline; border-top: 0px; border-right: 0px" title="Available Modules for DNN (DotNetNuke)" border="0" alt="Available Modules for DNN (DotNetNuke)" src="http://blog.cornerpixel.net/content/binary/WindowsLiveWriter/InstallingCoreDotNetNukeModules_11551/image_thumb.png" width="386" height="184" />
          </a>
        </p>
        <p>
As you can see above there are a bunch of modules.  You won’t see Repository
because I installed it already.
</p>
        <p>
This is a very nice feature, but it is tucked away and not the easiest to find unless
you already know about it.  So for those interested in installing any of the
following modules, please go to the Host &gt; Extensions page and make sure you are
on or in Edit mode. 
</p>
        <ul>
          <li>
Adsense</li>
          <li>
Documents</li>
          <li>
Feedback</li>
          <li>
Help</li>
          <li>
Map</li>
          <li>
NewsFeeds</li>
          <li>
Survey</li>
          <li>
XML</li>
          <li>
Announcements</li>
          <li>
Events</li>
          <li>
FormAndList</li>
          <li>
IFrame</li>
          <li>
MarketShare</li>
          <li>
Reports</li>
          <li>
UsersOnline</li>
          <li>
Blog</li>
          <li>
FAQs</li>
          <li>
Forum</li>
          <li>
Links</li>
          <li>
Media</li>
          <li>
Store</li>
          <li>
Wiki</li>
        </ul>
        <p>
I hope this helps all you DNN people out there.  My only other question and I
will have to repost on this as part two, or comment below.  Is this the only
way to add Core modules for the first time?  
</p>
        <p>
I am also hoping that when I go to update this module, or any Core modules, I won’t
have any issues.  I don’t think I will, but I still can’t help but worry.
</p>
        <img width="0" height="0" src="http://blog.cornerpixel.net/aggbug.ashx?id=17ddbcca-9a34-44e3-bace-c1828501fa47" />
      </body>
      <title>Installing Core DotNetNuke Modules</title>
      <guid isPermaLink="false">http://blog.cornerpixel.net/PermaLink,guid,17ddbcca-9a34-44e3-bace-c1828501fa47.aspx</guid>
      <link>http://feedproxy.google.com/~r/CornerpixelBlog/~3/U38tKiMfAHU/Installing+Core+DotNetNuke+Modules.aspx</link>
      <pubDate>Sat, 28 Nov 2009 03:44:03 GMT</pubDate>
      <description>&lt;p&gt;
Today I tried to install the Repository Module on a DotNetNuke website and was very
frustrated to find I kept getting runtime ASP errors. 
&lt;/p&gt;
&lt;p&gt;
I was trying to install the Repository Module by going to Host &amp;gt; Module Definition
and clicking on the “Install Module” link at the bottom of the page.&amp;#160; Then I
was browsing to the zip file I had on my PC.
&lt;/p&gt;
&lt;p&gt;
This was not working and I was beginning to think I was going to have to give up. 
&lt;/p&gt;
&lt;p&gt;
I started to look around my folder structure, thinking there might already be repository
files somewhere that might be causing the error.&amp;#160; I came upon the install/module
directory and inside there was a resource file for the Repository.
&lt;/p&gt;
&lt;p&gt;
I was confused at first but then I found the page Host &amp;gt; Extensions and noticed
at the bottom of the page there was an “Install Available Extensions” link and it
went to a page that had all sorts of modules to install, to include the Repository.&amp;#160;
YAY!
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://blog.cornerpixel.net/content/binary/WindowsLiveWriter/InstallingCoreDotNetNukeModules_11551/image.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; margin: 0px 0px 0px 15px; display: inline; border-top: 0px; border-right: 0px" title="Available Modules for DNN (DotNetNuke)" border="0" alt="Available Modules for DNN (DotNetNuke)" src="http://blog.cornerpixel.net/content/binary/WindowsLiveWriter/InstallingCoreDotNetNukeModules_11551/image_thumb.png" width="386" height="184" /&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
As you can see above there are a bunch of modules.&amp;#160; You won’t see Repository
because I installed it already.
&lt;/p&gt;
&lt;p&gt;
This is a very nice feature, but it is tucked away and not the easiest to find unless
you already know about it.&amp;#160; So for those interested in installing any of the
following modules, please go to the Host &amp;gt; Extensions page and make sure you are
on or in Edit mode. 
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
Adsense&lt;/li&gt;
&lt;li&gt;
Documents&lt;/li&gt;
&lt;li&gt;
Feedback&lt;/li&gt;
&lt;li&gt;
Help&lt;/li&gt;
&lt;li&gt;
Map&lt;/li&gt;
&lt;li&gt;
NewsFeeds&lt;/li&gt;
&lt;li&gt;
Survey&lt;/li&gt;
&lt;li&gt;
XML&lt;/li&gt;
&lt;li&gt;
Announcements&lt;/li&gt;
&lt;li&gt;
Events&lt;/li&gt;
&lt;li&gt;
FormAndList&lt;/li&gt;
&lt;li&gt;
IFrame&lt;/li&gt;
&lt;li&gt;
MarketShare&lt;/li&gt;
&lt;li&gt;
Reports&lt;/li&gt;
&lt;li&gt;
UsersOnline&lt;/li&gt;
&lt;li&gt;
Blog&lt;/li&gt;
&lt;li&gt;
FAQs&lt;/li&gt;
&lt;li&gt;
Forum&lt;/li&gt;
&lt;li&gt;
Links&lt;/li&gt;
&lt;li&gt;
Media&lt;/li&gt;
&lt;li&gt;
Store&lt;/li&gt;
&lt;li&gt;
Wiki&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
I hope this helps all you DNN people out there.&amp;#160; My only other question and I
will have to repost on this as part two, or comment below.&amp;#160; Is this the only
way to add Core modules for the first time?&amp;#160; 
&lt;/p&gt;
&lt;p&gt;
I am also hoping that when I go to update this module, or any Core modules, I won’t
have any issues.&amp;#160; I don’t think I will, but I still can’t help but worry.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://blog.cornerpixel.net/aggbug.ashx?id=17ddbcca-9a34-44e3-bace-c1828501fa47" /&gt;</description>
      <comments>http://blog.cornerpixel.net/CommentView,guid,17ddbcca-9a34-44e3-bace-c1828501fa47.aspx</comments>
      <category>DotNetNuke</category>
    <feedburner:origLink>http://blog.cornerpixel.net/2009/11/28/Installing+Core+DotNetNuke+Modules.aspx</feedburner:origLink></item>
    <item>
      <trackback:ping>http://blog.cornerpixel.net/Trackback.aspx?guid=aefce98b-e6ed-46d9-910c-8f1cd91c4955</trackback:ping>
      <pingback:server>http://blog.cornerpixel.net/pingback.aspx</pingback:server>
      <pingback:target>http://blog.cornerpixel.net/PermaLink,guid,aefce98b-e6ed-46d9-910c-8f1cd91c4955.aspx</pingback:target>
      <dc:creator>Mike</dc:creator>
      <wfw:comment>http://blog.cornerpixel.net/CommentView,guid,aefce98b-e6ed-46d9-910c-8f1cd91c4955.aspx</wfw:comment>
      <wfw:commentRss>http://blog.cornerpixel.net/SyndicationService.asmx/GetEntryCommentsRss?guid=aefce98b-e6ed-46d9-910c-8f1cd91c4955</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Today I was doing a database backup for a DotNetNuke website.  When I did the
backup, I was amazed at how big the database was.
</p>
        <p>
I tried to shrink it, and it didn’t work.
</p>
        <p>
The next thing I did was Googled it, and found a little help in pointing me to what
the issue was.  A couple posts in the DotNetNuke forums had commented on big
events logs, so I checked mine out.
</p>
        <p>
581MB!!!
</p>
        <p>
Okay now how to clear this?  I couldn’t even view them via the website when logged
in as “host”.
</p>
        <p>
I cleared them by doing the following steps.
</p>
        <ol>
          <li>
Log into your website as a "host user"</li>
          <li>
Go to Host &gt; SQL</li>
          <li>
Run the script below 
<br /><br />
Truncate table eventlog 
<br /></li>
          <li>
Logged into my SQL server and Shrunk the database</li>
          <li>
All my issues were solved!!</li>
        </ol>
        <p>
This seems like an easy no brainer, but I hope it helps people out there with there
DNN databases.
</p>
        <p>
Oh and one other helpful hint:  Set your db’s “Recovery Model” to be simple in
the options, if you backup your database on a regular basis.  This will keep
your db from getting too big also.
</p>
        <img width="0" height="0" src="http://blog.cornerpixel.net/aggbug.ashx?id=aefce98b-e6ed-46d9-910c-8f1cd91c4955" />
      </body>
      <title>DotNetNuke Database is Huge - Clearing Events Logs</title>
      <guid isPermaLink="false">http://blog.cornerpixel.net/PermaLink,guid,aefce98b-e6ed-46d9-910c-8f1cd91c4955.aspx</guid>
      <link>http://feedproxy.google.com/~r/CornerpixelBlog/~3/uXbG1IxabhY/DotNetNuke+Database+Is+Huge+Clearing+Events+Logs.aspx</link>
      <pubDate>Mon, 02 Nov 2009 10:43:45 GMT</pubDate>
      <description>&lt;p&gt;
Today I was doing a database backup for a DotNetNuke website.&amp;#160; When I did the
backup, I was amazed at how big the database was.
&lt;/p&gt;
&lt;p&gt;
I tried to shrink it, and it didn’t work.
&lt;/p&gt;
&lt;p&gt;
The next thing I did was Googled it, and found a little help in pointing me to what
the issue was.&amp;#160; A couple posts in the DotNetNuke forums had commented on big
events logs, so I checked mine out.
&lt;/p&gt;
&lt;p&gt;
581MB!!!
&lt;/p&gt;
&lt;p&gt;
Okay now how to clear this?&amp;#160; I couldn’t even view them via the website when logged
in as “host”.
&lt;/p&gt;
&lt;p&gt;
I cleared them by doing the following steps.
&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
Log into your website as a &amp;quot;host user&amp;quot;&lt;/li&gt;
&lt;li&gt;
Go to Host &amp;gt; SQL&lt;/li&gt;
&lt;li&gt;
Run the script below 
&lt;br /&gt;
&lt;br /&gt;
Truncate table eventlog 
&lt;br /&gt;
&lt;/li&gt;
&lt;li&gt;
Logged into my SQL server and Shrunk the database&lt;/li&gt;
&lt;li&gt;
All my issues were solved!!&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;
This seems like an easy no brainer, but I hope it helps people out there with there
DNN databases.
&lt;/p&gt;
&lt;p&gt;
Oh and one other helpful hint:&amp;#160; Set your db’s “Recovery Model” to be simple in
the options, if you backup your database on a regular basis.&amp;#160; This will keep
your db from getting too big also.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://blog.cornerpixel.net/aggbug.ashx?id=aefce98b-e6ed-46d9-910c-8f1cd91c4955" /&gt;</description>
      <comments>http://blog.cornerpixel.net/CommentView,guid,aefce98b-e6ed-46d9-910c-8f1cd91c4955.aspx</comments>
      <category>CMS</category>
      <category>DotNetNuke</category>
      <category>SQL</category>
    <feedburner:origLink>http://blog.cornerpixel.net/2009/11/02/DotNetNuke+Database+Is+Huge+Clearing+Events+Logs.aspx</feedburner:origLink></item>
    <item>
      <trackback:ping>http://blog.cornerpixel.net/Trackback.aspx?guid=53d2aac6-093a-4dd6-ac39-b56623a0c7ce</trackback:ping>
      <pingback:server>http://blog.cornerpixel.net/pingback.aspx</pingback:server>
      <pingback:target>http://blog.cornerpixel.net/PermaLink,guid,53d2aac6-093a-4dd6-ac39-b56623a0c7ce.aspx</pingback:target>
      <dc:creator>Mike</dc:creator>
      <wfw:comment>http://blog.cornerpixel.net/CommentView,guid,53d2aac6-093a-4dd6-ac39-b56623a0c7ce.aspx</wfw:comment>
      <wfw:commentRss>http://blog.cornerpixel.net/SyndicationService.asmx/GetEntryCommentsRss?guid=53d2aac6-093a-4dd6-ac39-b56623a0c7ce</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
I ran into this while working on a customer’s new DNN site.  The install went
well and I thought all was good.
</p>
        <p>
Usually my first thing I do is delete the DotNetNuke stuff off the home page and then
I go to the admin site settings and disable the inline editing.
</p>
        <p>
When I chose to update settings on the admin settings page I got the following error.
</p>
        <blockquote>
          <p>
DNN Cannot insert the value NULL into column 'DefaultLanguage'
</p>
        </blockquote>
        <p>
The first thing I did was to check the admin settings page for a Language setting
and sure enough under “Advanced Settings” and “Other Settings” there is a default
language pull down menu.  I noticed that I couldn’t fill it in, because the pull
down menu was blank.
</p>
        <p>
So my next step was Google.  (Yah, I know I need to use Bing more often now) 
I quickly found what I needed and this is what it boiled down to.
</p>
        <p>
Within DNN
</p>
        <ol>
          <li>
Go to the Admin/Languages page</li>
          <li>
Click on the Edit Languages link in the upper left corner of the module</li>
          <li>
Select a language from the Dropdown list.</li>
          <li>
Check the enabled checkbox</li>
          <li>
Click the update button.</li>
        </ol>
        <p>
I got this information from the bottom of a <a href="http://support.dotnetnuke.com/issue/ViewIssue.aspx?id=10707" target="_blank">bug
fix page</a>. And I got the bug fix page from my trusted <a href="http://www.dnncreative.com/Forum/tabid/88/forumid/13/view/topic/postid/20497/Default.aspx" target="_blank">DNNCreative
websites forums</a>.
</p>
        <p>
I always like it when it is a quick and easy fix.  Go DotNetNuke!
</p>
        <img width="0" height="0" src="http://blog.cornerpixel.net/aggbug.ashx?id=53d2aac6-093a-4dd6-ac39-b56623a0c7ce" />
      </body>
      <title>DNN 5.01.02 Install - Can Not Update Admin Site Settings</title>
      <guid isPermaLink="false">http://blog.cornerpixel.net/PermaLink,guid,53d2aac6-093a-4dd6-ac39-b56623a0c7ce.aspx</guid>
      <link>http://feedproxy.google.com/~r/CornerpixelBlog/~3/TrKVsrBMtw0/DNN+50102+Install+Can+Not+Update+Admin+Site+Settings.aspx</link>
      <pubDate>Mon, 14 Sep 2009 10:29:21 GMT</pubDate>
      <description>&lt;p&gt;
I ran into this while working on a customer’s new DNN site.&amp;#160; The install went
well and I thought all was good.
&lt;/p&gt;
&lt;p&gt;
Usually my first thing I do is delete the DotNetNuke stuff off the home page and then
I go to the admin site settings and disable the inline editing.
&lt;/p&gt;
&lt;p&gt;
When I chose to update settings on the admin settings page I got the following error.
&lt;/p&gt;
&lt;blockquote&gt; 
&lt;p&gt;
DNN Cannot insert the value NULL into column 'DefaultLanguage'
&lt;/p&gt;
&lt;/blockquote&gt; 
&lt;p&gt;
The first thing I did was to check the admin settings page for a Language setting
and sure enough under “Advanced Settings” and “Other Settings” there is a default
language pull down menu.&amp;#160; I noticed that I couldn’t fill it in, because the pull
down menu was blank.
&lt;/p&gt;
&lt;p&gt;
So my next step was Google.&amp;#160; (Yah, I know I need to use Bing more often now)&amp;#160;
I quickly found what I needed and this is what it boiled down to.
&lt;/p&gt;
&lt;p&gt;
Within DNN
&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
Go to the Admin/Languages page&lt;/li&gt;
&lt;li&gt;
Click on the Edit Languages link in the upper left corner of the module&lt;/li&gt;
&lt;li&gt;
Select a language from the Dropdown list.&lt;/li&gt;
&lt;li&gt;
Check the enabled checkbox&lt;/li&gt;
&lt;li&gt;
Click the update button.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;
I got this information from the bottom of a &lt;a href="http://support.dotnetnuke.com/issue/ViewIssue.aspx?id=10707" target="_blank"&gt;bug
fix page&lt;/a&gt;. And I got the bug fix page from my trusted &lt;a href="http://www.dnncreative.com/Forum/tabid/88/forumid/13/view/topic/postid/20497/Default.aspx" target="_blank"&gt;DNNCreative
websites forums&lt;/a&gt;.
&lt;/p&gt;
&lt;p&gt;
I always like it when it is a quick and easy fix.&amp;#160; Go DotNetNuke!
&lt;/p&gt;
&lt;img width="0" height="0" src="http://blog.cornerpixel.net/aggbug.ashx?id=53d2aac6-093a-4dd6-ac39-b56623a0c7ce" /&gt;</description>
      <comments>http://blog.cornerpixel.net/CommentView,guid,53d2aac6-093a-4dd6-ac39-b56623a0c7ce.aspx</comments>
      <category>CMS</category>
      <category>DotNetNuke</category>
    <feedburner:origLink>http://blog.cornerpixel.net/2009/09/14/DNN+50102+Install+Can+Not+Update+Admin+Site+Settings.aspx</feedburner:origLink></item>
    <item>
      <trackback:ping>http://blog.cornerpixel.net/Trackback.aspx?guid=90f64e27-9e12-462a-b560-cc04cc0b67f2</trackback:ping>
      <pingback:server>http://blog.cornerpixel.net/pingback.aspx</pingback:server>
      <pingback:target>http://blog.cornerpixel.net/PermaLink,guid,90f64e27-9e12-462a-b560-cc04cc0b67f2.aspx</pingback:target>
      <dc:creator>Mike</dc:creator>
      <wfw:comment>http://blog.cornerpixel.net/CommentView,guid,90f64e27-9e12-462a-b560-cc04cc0b67f2.aspx</wfw:comment>
      <wfw:commentRss>http://blog.cornerpixel.net/SyndicationService.asmx/GetEntryCommentsRss?guid=90f64e27-9e12-462a-b560-cc04cc0b67f2</wfw:commentRss>
      <slash:comments>1</slash:comments>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Today I was trying to change how the Table of Contents drop down menu worked in MindTouch
Core. 
</p>
        <p>
The drop down menu is dynamically created as a list of headers on the page. 
For example if your page has an h1 header of Hello and an h2 header of You, the drop
down menu would be. 
<br />
1. Hello 
<br />
    1.1 You
</p>
        <p>
          <a href="http://blog.cornerpixel.net/content/binary/WindowsLiveWriter/MindTouchTableofContentsChanges_E10A/mindtouchtoc.jpg">
            <img style="border-bottom: 0px; border-left: 0px; display: inline; margin-left: 0px; border-top: 0px; margin-right: 0px; border-right: 0px" title="mindtouch-toc" border="0" alt="mindtouch-toc" src="http://blog.cornerpixel.net/content/binary/WindowsLiveWriter/MindTouchTableofContentsChanges_E10A/mindtouchtoc_thumb.jpg" width="244" height="139" />
          </a>
        </p>
        <p>
As you see above, “Hello” and “You” are both links to their respective header on the
page.
</p>
        <p>
This is great for wiki's, but for the intranet site I am working on, we are using
the headers manly for design this could be a problem.  For example, it is not
uncommon to have an h2 of “Hello” and an h5 of “You” because the odd numbered headers
I have styled with a yellow background, but I still want it to appear under the h2
in the Table of Contents.  
</p>
        <p>
So in the above example the TOC will display like this. 
<br />
1. Hello               <font color="#ff0000">&lt;--h2 
<br /></font>    1.1.1 You        <font color="#ff0000">&lt;--h5</font></p>
        <p>
This is confusing for my users so I wanted this. 
<br />
Hello 
<br />
    You
</p>
        <p>
Notice that it is still a list, but there is no number structure. 
</p>
        <p>
I looked at the markup via Firebug (in Firefox) and found that this should be easy. 
The numbers I wanted to remove where in a span.  (i.e. &lt;span&gt;1.1&lt;/span&gt;
and the span was in a &lt;li&gt; inside of div with a class of pageToc. 
</p>
        <p>
Figuring this would be easy, I just added this to CSS. 
</p>
        <p>
.pageToc li { 
<br />
    display: none; 
<br />
    }
</p>
        <p>
After adding this to the CSS it worked GREAT in Firefox, but not so well in IE 7/8. 
The numbers were gone, but there was still a big space where the span used to be. 
At first I thought that the span just some how wasn't going away, so I tried all sorts
of CSS with NO luck. 
</p>
        <p>
          <a href="http://blog.cornerpixel.net/content/binary/WindowsLiveWriter/MindTouchTableofContentsChanges_E10A/mindtouchtoc1.jpg">
            <img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="mindtouch-toc-firefox" border="0" alt="mindtouch-toc-firefox" src="http://blog.cornerpixel.net/content/binary/WindowsLiveWriter/MindTouchTableofContentsChanges_E10A/mindtouchtoc1_thumb.jpg" width="526" height="176" />
          </a>
          <br />
Above is the TOC without the numbers viewed in Firefox
</p>
        <p>
          <a href="http://blog.cornerpixel.net/content/binary/WindowsLiveWriter/MindTouchTableofContentsChanges_E10A/mindtouchtoc2.jpg">
            <img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="MindTouch TOC in IE 8 and IE 7" border="0" alt="MindTouch TOC in IE 8 and IE 7" src="http://blog.cornerpixel.net/content/binary/WindowsLiveWriter/MindTouchTableofContentsChanges_E10A/mindtouchtoc2_thumb.jpg" width="526" height="176" />
          </a>
          <br />
Above is the TOC without the numbers viewed in IE7/8
</p>
        <p>
After a lot of frustration I actually looked at the source and noticed that the markup
had a space before the anchor links (i.e. Hello and You) I am not sure why MindTouch
did this and it might just be a bug or something they overlooked. 
</p>
        <p>
          <a href="http://blog.cornerpixel.net/content/binary/WindowsLiveWriter/MindTouchTableofContentsChanges_E10A/mindtouchtocmarkup.jpg">
            <img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="MindTouch TOC markup via viewing source" border="0" alt="MindTouch TOC markup via viewing source" src="http://blog.cornerpixel.net/content/binary/WindowsLiveWriter/MindTouchTableofContentsChanges_E10A/mindtouchtocmarkup_thumb.jpg" width="535" height="64" />
          </a>
        </p>
        <p>
I had to look at the source because I could not tell viewing the markup via Firebug
(in Firefox) that the spaces were there.
</p>
        <p>
          <a href="http://blog.cornerpixel.net/content/binary/WindowsLiveWriter/MindTouchTableofContentsChanges_E10A/mindtouchtocmarkupfirebug.jpg">
            <img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="MindTouch TOC markup as viewed in Firebug of Firefox" border="0" alt="MindTouch TOC markup as viewed in Firebug of Firefox" src="http://blog.cornerpixel.net/content/binary/WindowsLiveWriter/MindTouchTableofContentsChanges_E10A/mindtouchtocmarkupfirebug_thumb.jpg" width="562" height="188" />
          </a>
        </p>
        <p>
However when I viewed the webpage with Internet Explorer’s Developer Toolbar and I
could see them a little better.  As you can see below you can see the Text –
Empty Text Node.  The problem with Developer Toolbar is that it doesn’t display
closing tags, so I didn’t catch this right away.
</p>
        <p>
          <a href="http://blog.cornerpixel.net/content/binary/WindowsLiveWriter/MindTouchTableofContentsChanges_E10A/mindtouchtocmarkupie.jpg">
            <img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="mindtouch-toc-markup-ie" border="0" alt="mindtouch-toc-markup-ie" src="http://blog.cornerpixel.net/content/binary/WindowsLiveWriter/MindTouchTableofContentsChanges_E10A/mindtouchtocmarkupie_thumb.jpg" width="554" height="173" />
          </a>
        </p>
        <p>
After all that troubleshooting I was happy to know at least what the issue was. 
Now I just need to add some jQuery to remove those blank spaces.  Below is the
jQuery I have come up on page load. 
</p>
        <blockquote>
          <p>
$(document).ready(function(){ 
<br />
            // Used to replace
the spaces in the TOC menu before the anchor links 
<br />
            $(".pageToc
li").each (  function ( i , val  ) 
<br />
            { 
<br />
               
$(val).html($(val).html().replace(/\s&lt;a/ig, "&lt;a")); 
<br />
            }); 
<br />
        });
</p>
        </blockquote>
        <p>
I had to use Regular Expression to replace only in front of the anchor.  I created
another post to go a little further into <a href="http://blog.cornerpixel.net/2009/09/04/JavaScripts+Regular+Expression+Syntax.aspx" target="_blank">JavaScript's
Regex Syntax</a>.
</p>
        <p>
After I added this jQuerry script all was good and now I had the following TOC display.  
</p>
        <p>
          <a href="http://blog.cornerpixel.net/content/binary/WindowsLiveWriter/MindTouchTableofContentsChanges_E10A/mindtouchtoc1.jpg">
            <img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="mindtouch-toc-firefox" border="0" alt="mindtouch-toc-firefox" src="http://blog.cornerpixel.net/content/binary/WindowsLiveWriter/MindTouchTableofContentsChanges_E10A/mindtouchtoc1_thumb.jpg" width="526" height="176" />
          </a>
        </p>
        <p>
I know this isn’t a common thing to do, but it works well for my customer’s intranet
site, and the way they use the headers in content more as display elements than hierarchy
elements.
</p>
        <p>
I hope this helps anyone in the same boat.
</p>
        <img width="0" height="0" src="http://blog.cornerpixel.net/aggbug.ashx?id=90f64e27-9e12-462a-b560-cc04cc0b67f2" />
      </body>
      <title>MindTouch Table of Contents Changes</title>
      <guid isPermaLink="false">http://blog.cornerpixel.net/PermaLink,guid,90f64e27-9e12-462a-b560-cc04cc0b67f2.aspx</guid>
      <link>http://feedproxy.google.com/~r/CornerpixelBlog/~3/6AxzqtXKJUY/MindTouch+Table+Of+Contents+Changes.aspx</link>
      <pubDate>Wed, 09 Sep 2009 23:07:26 GMT</pubDate>
      <description>&lt;p&gt;
Today I was trying to change how the Table of Contents drop down menu worked in MindTouch
Core. 
&lt;/p&gt;
&lt;p&gt;
The drop down menu is dynamically created as a list of headers on the page.&amp;#160;
For example if your page has an h1 header of Hello and an h2 header of You, the drop
down menu would be. 
&lt;br /&gt;
1. Hello 
&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160; 1.1 You
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://blog.cornerpixel.net/content/binary/WindowsLiveWriter/MindTouchTableofContentsChanges_E10A/mindtouchtoc.jpg"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; margin-left: 0px; border-top: 0px; margin-right: 0px; border-right: 0px" title="mindtouch-toc" border="0" alt="mindtouch-toc" src="http://blog.cornerpixel.net/content/binary/WindowsLiveWriter/MindTouchTableofContentsChanges_E10A/mindtouchtoc_thumb.jpg" width="244" height="139" /&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
As you see above, “Hello” and “You” are both links to their respective header on the
page.
&lt;/p&gt;
&lt;p&gt;
This is great for wiki's, but for the intranet site I am working on, we are using
the headers manly for design this could be a problem.&amp;#160; For example, it is not
uncommon to have an h2 of “Hello” and an h5 of “You” because the odd numbered headers
I have styled with a yellow background, but I still want it to appear under the h2
in the Table of Contents.&amp;#160; 
&lt;/p&gt;
&lt;p&gt;
So in the above example the TOC will display like this. 
&lt;br /&gt;
1. Hello&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#ff0000"&gt;&amp;lt;--h2 
&lt;br /&gt;
&lt;/font&gt;&amp;#160;&amp;#160;&amp;#160; 1.1.1 You&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;font color="#ff0000"&gt;&amp;lt;--h5&lt;/font&gt;
&lt;/p&gt;
&lt;p&gt;
This is confusing for my users so I wanted this. 
&lt;br /&gt;
Hello 
&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160; You
&lt;/p&gt;
&lt;p&gt;
Notice that it is still a list, but there is no number structure. 
&lt;/p&gt;
&lt;p&gt;
I looked at the markup via Firebug (in Firefox) and found that this should be easy.&amp;#160;
The numbers I wanted to remove where in a span.&amp;#160; (i.e. &amp;lt;span&amp;gt;1.1&amp;lt;/span&amp;gt;
and the span was in a &amp;lt;li&amp;gt; inside of div with a class of pageToc. 
&lt;/p&gt;
&lt;p&gt;
Figuring this would be easy, I just added this to CSS. 
&lt;/p&gt;
&lt;p&gt;
.pageToc li { 
&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160; display: none; 
&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160; }
&lt;/p&gt;
&lt;p&gt;
After adding this to the CSS it worked GREAT in Firefox, but not so well in IE 7/8.&amp;#160;
The numbers were gone, but there was still a big space where the span used to be.&amp;#160;
At first I thought that the span just some how wasn't going away, so I tried all sorts
of CSS with NO luck. 
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://blog.cornerpixel.net/content/binary/WindowsLiveWriter/MindTouchTableofContentsChanges_E10A/mindtouchtoc1.jpg"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="mindtouch-toc-firefox" border="0" alt="mindtouch-toc-firefox" src="http://blog.cornerpixel.net/content/binary/WindowsLiveWriter/MindTouchTableofContentsChanges_E10A/mindtouchtoc1_thumb.jpg" width="526" height="176" /&gt;&lt;/a&gt; 
&lt;br /&gt;
Above is the TOC without the numbers viewed in Firefox
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://blog.cornerpixel.net/content/binary/WindowsLiveWriter/MindTouchTableofContentsChanges_E10A/mindtouchtoc2.jpg"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="MindTouch TOC in IE 8 and IE 7" border="0" alt="MindTouch TOC in IE 8 and IE 7" src="http://blog.cornerpixel.net/content/binary/WindowsLiveWriter/MindTouchTableofContentsChanges_E10A/mindtouchtoc2_thumb.jpg" width="526" height="176" /&gt;&lt;/a&gt; 
&lt;br /&gt;
Above is the TOC without the numbers viewed in IE7/8
&lt;/p&gt;
&lt;p&gt;
After a lot of frustration I actually looked at the source and noticed that the markup
had a space before the anchor links (i.e. Hello and You) I am not sure why MindTouch
did this and it might just be a bug or something they overlooked. 
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://blog.cornerpixel.net/content/binary/WindowsLiveWriter/MindTouchTableofContentsChanges_E10A/mindtouchtocmarkup.jpg"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="MindTouch TOC markup via viewing source" border="0" alt="MindTouch TOC markup via viewing source" src="http://blog.cornerpixel.net/content/binary/WindowsLiveWriter/MindTouchTableofContentsChanges_E10A/mindtouchtocmarkup_thumb.jpg" width="535" height="64" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
I had to look at the source because I could not tell viewing the markup via Firebug
(in Firefox) that the spaces were there.
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://blog.cornerpixel.net/content/binary/WindowsLiveWriter/MindTouchTableofContentsChanges_E10A/mindtouchtocmarkupfirebug.jpg"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="MindTouch TOC markup as viewed in Firebug of Firefox" border="0" alt="MindTouch TOC markup as viewed in Firebug of Firefox" src="http://blog.cornerpixel.net/content/binary/WindowsLiveWriter/MindTouchTableofContentsChanges_E10A/mindtouchtocmarkupfirebug_thumb.jpg" width="562" height="188" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
However when I viewed the webpage with Internet Explorer’s Developer Toolbar and I
could see them a little better.&amp;#160; As you can see below you can see the Text –
Empty Text Node.&amp;#160; The problem with Developer Toolbar is that it doesn’t display
closing tags, so I didn’t catch this right away.
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://blog.cornerpixel.net/content/binary/WindowsLiveWriter/MindTouchTableofContentsChanges_E10A/mindtouchtocmarkupie.jpg"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="mindtouch-toc-markup-ie" border="0" alt="mindtouch-toc-markup-ie" src="http://blog.cornerpixel.net/content/binary/WindowsLiveWriter/MindTouchTableofContentsChanges_E10A/mindtouchtocmarkupie_thumb.jpg" width="554" height="173" /&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
After all that troubleshooting I was happy to know at least what the issue was.&amp;#160;
Now I just need to add some jQuery to remove those blank spaces.&amp;#160; Below is the
jQuery I have come up on page load. 
&lt;/p&gt;
&lt;blockquote&gt; 
&lt;p&gt;
$(document).ready(function(){ 
&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; // Used to replace
the spaces in the TOC menu before the anchor links 
&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; $(&amp;quot;.pageToc
li&amp;quot;).each (&amp;#160; function ( i , val&amp;#160; ) 
&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; { 
&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;
$(val).html($(val).html().replace(/\s&amp;lt;a/ig, &amp;quot;&amp;lt;a&amp;quot;)); 
&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; }); 
&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; });
&lt;/p&gt;
&lt;/blockquote&gt; 
&lt;p&gt;
I had to use Regular Expression to replace only in front of the anchor.&amp;#160; I created
another post to go a little further into &lt;a href="http://blog.cornerpixel.net/2009/09/04/JavaScripts+Regular+Expression+Syntax.aspx" target="_blank"&gt;JavaScript's
Regex Syntax&lt;/a&gt;.
&lt;/p&gt;
&lt;p&gt;
After I added this jQuerry script all was good and now I had the following TOC display.&amp;#160; 
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://blog.cornerpixel.net/content/binary/WindowsLiveWriter/MindTouchTableofContentsChanges_E10A/mindtouchtoc1.jpg"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="mindtouch-toc-firefox" border="0" alt="mindtouch-toc-firefox" src="http://blog.cornerpixel.net/content/binary/WindowsLiveWriter/MindTouchTableofContentsChanges_E10A/mindtouchtoc1_thumb.jpg" width="526" height="176" /&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
I know this isn’t a common thing to do, but it works well for my customer’s intranet
site, and the way they use the headers in content more as display elements than hierarchy
elements.
&lt;/p&gt;
&lt;p&gt;
I hope this helps anyone in the same boat.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://blog.cornerpixel.net/aggbug.ashx?id=90f64e27-9e12-462a-b560-cc04cc0b67f2" /&gt;</description>
      <comments>http://blog.cornerpixel.net/CommentView,guid,90f64e27-9e12-462a-b560-cc04cc0b67f2.aspx</comments>
      <category>Deki Wiki</category>
      <category>jQuery</category>
      <category>MindTouch</category>
    <feedburner:origLink>http://blog.cornerpixel.net/2009/09/09/MindTouch+Table+Of+Contents+Changes.aspx</feedburner:origLink></item>
    <item>
      <trackback:ping>http://blog.cornerpixel.net/Trackback.aspx?guid=a6d28c55-176e-45e4-974e-9ae278caad3d</trackback:ping>
      <pingback:server>http://blog.cornerpixel.net/pingback.aspx</pingback:server>
      <pingback:target>http://blog.cornerpixel.net/PermaLink,guid,a6d28c55-176e-45e4-974e-9ae278caad3d.aspx</pingback:target>
      <dc:creator>Mike</dc:creator>
      <wfw:comment>http://blog.cornerpixel.net/CommentView,guid,a6d28c55-176e-45e4-974e-9ae278caad3d.aspx</wfw:comment>
      <wfw:commentRss>http://blog.cornerpixel.net/SyndicationService.asmx/GetEntryCommentsRss?guid=a6d28c55-176e-45e4-974e-9ae278caad3d</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
In JavaScript, a regular expression is written in the form of /pattern/modifiers where
"pattern" is the regular expression itself, and "modifiers" are
a series of characters indicating various options. The "modifiers" part
is optional. 
</p>
        <p>
    * /g enables "global" matching. When using the replace()
method, specify this modifier to replace all matches, rather than only the first one. 
<br />
    * /i makes the regex match case insensitive. 
<br />
    * /m enables "multi-line mode". In this mode, the caret
and dollar match before and after newlines in the subject string. 
</p>
        <p>
You can combine multiple modifiers by stringing them together as in /regex/gim. 
</p>
        <p>
Since forward slashes delimit the regular expression, any forward slashes that appear
in the regex need to be escaped. For example, the regex 1/2 is written as /1\/2/ in
JavaScript.
</p>
        <p>
As with anything, you can find much more information about <a href="http://www.regular-expressions.info/javascript.html" target="_blank">JavaScript</a> on
the web if you <a href="http://www.google.com/search?rlz=1C1GGLS_enUS340US340&amp;sourceid=chrome&amp;ie=UTF-8&amp;q=JavaScript+Regex+Syntax" target="_blank">Google</a> or <a href="http://www.bing.com/search?q=JavaScript+Regex+Syntax&amp;go=&amp;form=QBLH&amp;qs=n" target="_blank">Bing</a> it.  
</p>
        <img width="0" height="0" src="http://blog.cornerpixel.net/aggbug.ashx?id=a6d28c55-176e-45e4-974e-9ae278caad3d" />
      </body>
      <title>JavaScript's Regular Expression Syntax</title>
      <guid isPermaLink="false">http://blog.cornerpixel.net/PermaLink,guid,a6d28c55-176e-45e4-974e-9ae278caad3d.aspx</guid>
      <link>http://feedproxy.google.com/~r/CornerpixelBlog/~3/pHB6XyBPfA0/JavaScripts+Regular+Expression+Syntax.aspx</link>
      <pubDate>Fri, 04 Sep 2009 22:30:01 GMT</pubDate>
      <description>&lt;p&gt;
In JavaScript, a regular expression is written in the form of /pattern/modifiers where
&amp;quot;pattern&amp;quot; is the regular expression itself, and &amp;quot;modifiers&amp;quot; are
a series of characters indicating various options. The &amp;quot;modifiers&amp;quot; part
is optional. 
&lt;/p&gt;
&lt;p&gt;
&amp;#160;&amp;#160;&amp;#160; * /g enables &amp;quot;global&amp;quot; matching. When using the replace()
method, specify this modifier to replace all matches, rather than only the first one. 
&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160; * /i makes the regex match case insensitive. 
&lt;br /&gt;
&amp;#160;&amp;#160;&amp;#160; * /m enables &amp;quot;multi-line mode&amp;quot;. In this mode, the caret
and dollar match before and after newlines in the subject string. 
&lt;/p&gt;
&lt;p&gt;
You can combine multiple modifiers by stringing them together as in /regex/gim. 
&lt;/p&gt;
&lt;p&gt;
Since forward slashes delimit the regular expression, any forward slashes that appear
in the regex need to be escaped. For example, the regex 1/2 is written as /1\/2/ in
JavaScript.
&lt;/p&gt;
&lt;p&gt;
As with anything, you can find much more information about &lt;a href="http://www.regular-expressions.info/javascript.html" target="_blank"&gt;JavaScript&lt;/a&gt; on
the web if you &lt;a href="http://www.google.com/search?rlz=1C1GGLS_enUS340US340&amp;amp;sourceid=chrome&amp;amp;ie=UTF-8&amp;amp;q=JavaScript+Regex+Syntax" target="_blank"&gt;Google&lt;/a&gt; or &lt;a href="http://www.bing.com/search?q=JavaScript+Regex+Syntax&amp;amp;go=&amp;amp;form=QBLH&amp;amp;qs=n" target="_blank"&gt;Bing&lt;/a&gt; it.&amp;#160; 
&lt;/p&gt;
&lt;img width="0" height="0" src="http://blog.cornerpixel.net/aggbug.ashx?id=a6d28c55-176e-45e4-974e-9ae278caad3d" /&gt;</description>
      <comments>http://blog.cornerpixel.net/CommentView,guid,a6d28c55-176e-45e4-974e-9ae278caad3d.aspx</comments>
      <category>Code</category>
      <category>JavaScript</category>
      <category>jQuery</category>
    <feedburner:origLink>http://blog.cornerpixel.net/2009/09/04/JavaScripts+Regular+Expression+Syntax.aspx</feedburner:origLink></item>
  </channel>
</rss>

