Hi,
I'm running MT 3.35. Yeah, I know it's probably ancient, but I'm pretty sure this is supposed to work. This is the code I have used:
<MTEntryPreviousInCategory>
<a class="sidebar-content" href="<$MTEntryPermalink$>">« Previous Poem</a>
</MTEntryPreviousInCategory>
|
<MTEntryNextInCategory>
<a class="sidebar-content" href="<$MTEntryPermalink$>">Next Poem »</a>
</MTEntryNextInCategory>
Does anyone have any idea what I did wrong? BTW, this might be relevant: I have the following in my
<head>tag:
<MTEntryPreviousInCategory>
<link rel="prev" href="<$MTEntryPermalink$>" title="<$MTEntryTitle encode_html="1"$>">
</MTEntryPreviousInCategory>
<MTEntryNextInCategory>
<link rel="next" href="<$MTEntryPermalink$>" title="<$MTEntryTitle encode_html="1"$>">
</MTEntryNextInCategory>
Any advice would be appreciated!
Reported on Movable Type 3.x

<MTEntryPreviousInCategory> isn't a standard MT tag. I found it in a plugin (PreviousNextInCategory), and there's a middle part in the sample code there that names the category:
<a href="<$MTEntryPermalink archive_type="Category"$>"><$MTEntryCategory$></a>
Perhaps it's necessary to give it context?
Actually, my code was correct. I had simply installed the wrong version of the plugin.
For the record, I also thought that the middle part of the code was somehow indicating one's position in relation to other entries, but if the plugin is installed correctly, it gets this information from the database and creates the correct link when the pages are rebuilt. Cheers.