![]() |
||
|
|
|
|
Help Desk > Tutorials > Personal and Group Web Sites > Movable Type |
Printable Version
|
Movable Type v3.35 does not have a built in blogroll utility thus MT Blogroll 2.12 was installed to allow users to manage a list of links without having to know html code. Blogs created after 11/1/2006 are configured to allow users to make and display a blog roll when created. Users with blogs created before then or who wish to use categories in their blogroll will need to alter the blog's main index template for the blogroll to display.
Begin by logging in to Movable Type from http://blog.allegheny.edu/. Then follow the appropriate instructions below to proceed.
Use Refresh Template to Add Blogroll Code
Manually Alter Main Index Template to Use Blogroll with Categories
The simplest way to update your template to include the blogroll code is to refresh your templates. This will replace all your templates with the current default templates, and is only recommended if you have not manually made major changes to your templates which you would like to keep. If your blog was created before Summer 2006 the look and feel of the blog will change significantly. Blogs created between Summer 2006 and Summer 2007 will also notice some small changes. Your blog content - posts, comments, trackbacks - will all be retained.
After logging in to Movable Type, click the Weblogs link under System Shortcuts.

Check the box next to the blog you wish to add blogroll code to. If you have several blogs you want to update you can do those now by also selecting the check box next to each blog you want to update with blogroll code. Select Refresh Template(s) from the dropdown and click the Go button.

Movable Type will create new templates for your site and will back up some of the old templates. When finished you will see a confirmation screen. Click Return.
To see the changes to your blog, click the name of your blog to enter your blog site and then click Rebuild Site. If you refreshed templates for more than one blog you will need to rebuild each site.

Your site is now ready to use the Blogroll plugin, without categories. Please see the Blogroll tutorial for details on how to add links to your blogroll. If you wish to use categories with your blogroll you must manually modify your Main Index template using the instructions below.
By default, blogs are created to use the Blogroll plugin without categories. If you wish to use categories you must manually edit the Main Index Template.
If your Main Index page does not currently include any blogroll code (eg, your blog was created before 11/2006), please follow the instructions above first to add that code.
From your blog page, click the Templates link.
On the templates page, click the Main Index link to open up the Main Index for editing.
Scroll through the template until you find the blogroll code, highlighted in the image below.
Replace the highlighted code with the following code:
<div class="module-archives module">
<h2 class="module-header">Links</h2>
<div class="module-content">
<ul class="module-list">
<MTBlogrollCategories>
<h4><MTBlogrollCategoryLabel></h4>
<MTBlogrollEntries>
<p><a href="<MTBlogrollEntryURI>"
<MTBlogrollEntryIfRel>rel="<MTBlogrollEntryRel>"</MTBlogrollEntryIfRel>
target="<MTBlogrollEntryTarget>" title="Last Updated:
<MTBlogrollEntryUpdated>"><MTBlogrollEntryName></a><br />
<MTBlogrollEntryDesc></p>
</MTBlogrollEntries>
</MTBlogrollCategories>
</ul>
</div>
</div>
Click Save. Do not click Save and Rebuild unless you have already set up blogroll categories, as the code you just added will only display a blogroll that is using categories. Should you decide at a later time to stop using categories in your blogroll you can manually edit the code or refresh your main index template to return to the original blogroll code.