Tag Cloud bug
One of my readers sent me an e-mail saying that the links in my Cloud Nine tag cloud (see the sidebar on the site) were all returning 404 errors. I checked it out and it seems as if the directories on my server are all lower-case but my category names all start with capitals.
I was tempted to change all of my category names to their lower-case equivalents but this would have taken a long time as the site needs to get rebuilt a lot and I have a lot of categories to change.
So, I look at the macro code to see if I could dynamically change the category.
<div class="blogs-module module">
<h2 class="module-header">Tags</h2>
<div class="module-content">
<MTCatCloud all="0">
<span style="<$MTCatCloudCSS$>"<a style=";text-decoration: none" href="<$MTBlogArchiveURL$><$MTCatCloudName$>/"><$MTCatCloudName$></a></span>
</MTCatCloud>
</div>
</div>
I saw where the directory name was formed from the category name, via <$MTCatCloudName$>. I was hoping there was an attribute I could set to force lower-case. Well, that turned out to be easy. All I had to add was lower_case=”1”. This was actually an attribute on <$MTEntryCategory$> but it also worked on the Cloud Nine tag so I was essentially done.
Thanks to Pavan for pointing this out.