|
SortableCategories
SortableCategories PluginA plugin for realzing Sortable Categories and Folders. Changes
OverviewSortableCategories plugin allows you to arrange the orders of category and folder lists as you need. This plugin is designed to work with Movable Type 4.2 or later and does not support dynamic publishing at this moment. Installation
How to useIf you want to arrange the order of categories:
You can also arrange the order of folders in the same way. TagsThis plugin does not provide any tags, but one sort_method, named "SortableCategories::sorter". In order to render a "sorted" category tree, you should replace original "Category Archives" widget with the following one: <mt:IfArchiveTypeEnabled archive_type="Category">
<div class="widget-archive widget-archive-category widget">
<h3 class="widget-header">Category</h3>
<div class="widget-content">
<mt:TopLevelCategories sort_method="SortableCategories::sorter">
<mt:SubCatIsFirst>
<ul>
</mt:SubCatIsFirst>
<mt:If tag="CategoryCount">
<li><a href="<$mt:CategoryArchiveLink$>"<mt:If tag="CategoryDescription"> title="<$mt:CategoryDescription remove_html="1" encode_html="1"$>"</mt:If>><$mt:CategoryLabel$> (<$mt:CategoryCount$>)</a>
<mt:Else>
<li><$mt:CategoryLabel$>
</mt:If>
<$mt:SubCatsRecurse$>
</li>
<mt:SubCatIsLast>
</ul>
</mt:SubCatIsLast>
</mt:TopLevelCategories>
</div>
</div>
</mt:IfArchiveTypeEnabled>See AlsoLicenseCopyright (c) 2009 Hirotaka Ogawa <hirotaka.ogawa at gmail.com>. All rights reserved. This library is free software; you can redistribute it and/or modify it under the terms of either:
|
On two separate hosts, I get a "failed to load" error in the System Plugins section. Is there a perl module required to support this which I should install?