Content Management
Related Entries Plugin
Freshness Warning
This blog post is over 22 years old. It's possible that the information you read below isn't current and the links no longer work.
6 Jul 2002
Related Entries is a plugin for Movable Type that displays entries that are in the same category as the current entry.
If you place your entries in categories, you can use this tag provide your readers with the same sort of "Related Articles" feature that is often found on magazine and news sites.
Tim Appnel has taken over the maintenance and support of this plugin as of Oct 2004.
Download. You can get Related Entries by downloading RelatedEntries.zip.
Installation. Once you’ve downloaded and unzipped RelatedEntries.zip, connect to your FTP server and open the directory where you have Movable Type installed.
Create a directory there called plugins if there isn’t one already.
Copy RelatedEntries.pl to the plugins directory and set the permissions to 755.
Using Related Entries. Once you’ve installed Related Entries, using it is as simple as placing a new Movable Type tag in your template.
The <MTRelatedEntries> tag is a container tag. It requires an opening and closing tag, just like the built-in MTEntries tag. Related Entries only works in an individual archive template.
To insert related entries into your individual archives, put the MTRelatedEntries container in your template, and then put an MTEntries tag block inside of it.
Example:
<MTRelatedEntries>
<MTEntries lastn="3">
<p><a href="<MTEntryLink>"><MTEntryTitle></a> -
<i><$MTEntryDate format="%b %d, %Y"$></i></p>
</MTEntries>
</MTRelatedEntries>
License. Like our other freeware, this plugin is released under the open-source MIT License. In plain English, that means you can do whatever you want with the software, including modifying it, selling it, or eating it, but we’re not responsible for anything that goes wrong.
Revision History
1.0 - July 6, 2002
Initial release.
1.1 - July 8, 2002
(New) If Related Entries is used outside your individual archives, you are now warned when you try to rebuild.