After I had installed my Movable Type blog software, I was quickly coming up to speed on some basics necessary to publish an aesthetically-pleasing and comfortably-navigated blog. However, I quickly noticed a feature that is not readily available: customizeable link management.
One must pose the question why this feature is not part of the standard build. But, thanks to the guys and gals in #movabletype on freenode, I was pointed to a plugin called LinkRoller. The author of the software, "arvind", pushed me in the right direction, and thanks to the modular design of Movable Type, I was up and running quickly.
If you want the ability to customize your links within your blog, this is what you need. First, download the software and follow the installation instructions. Installation for me was a breeze, and I encountered no issues. The brief video on the installer page will quickly demonstrate how to create links. At this point, you should go ahead and create a link such as this one following the video provided on the download page. Use a sensible tag and description fields. This will be demonstrated shortly.
Now you must somehow display your links on your blog. To do this, you need to create a widget and then choose where to display it. Navigate to Design > Widgets in the control panel. Select "Create widget template" from "Widget Templates" and enter "LinkRoller" in the top form field. Next, choose one of the following examples:
If you simply want all of your links displayed in one menu (not sorted), copy and paste the following code in code form field:
<div class="widget-linkroll widget">
<h3 class="widget-header">Interesting Links</h3>
<div class="widget-content">
<MTLinks>
<MTLinksHeader>
<ul>
</MTLinksHeader>
<li><a href="<$MTLinkURL$>"><$MTLinkName$>: <$MTLinkDescription$></a></li>
<MTLinksFooter>
</ul>
</MTLinksFooter>
</MTLinks>
</div>
</div>
This is good, but not necessarily satisfying or flexible enough for some. Naturally, I, along with others, wanted a mechanism to classify the link entries in accordance with tags. Thanks to one clever poster this can be done as follows:
<div class="widget-linkroll widget">
<h3 class="widget-header">Interesting Links</h3>
<div class="widget-content">
<mt:Tags type="asset" sort_by="name">
<ul class="widget-list">
<li><h4><mt:TagName></h4></li>
</ul>
<MTSetVarBlock name="linktag"><mt:TagName /></MTSetVarBlock>
<ul class="widget-list">
<mt:Assets type="link" tag="$linktag">
<li><a href="<mt:AssetURL>"><mt:AssetLabel escape="html">: <mt:AssetDescription></a></li>
</mt:Assets>
</ul>
</mt:Tags>
</div>
</div>
After choosing one of the two options -- or rolling your own -- click save and return back to the widgets page. Before publishing your blog so you can see your links, the final step is to place the widget in your selected widget set. Under "Widget Sets", select your layout and drag your newly created widget from "Available Widget" to "Installed Widgets". Once you have pressed "Save Changes" and the system finishes the update, you can now publish your blog.

Happy linking!
