Code / The Appnel Group 

Again for Movable Type

Again for MT enables a generic means of performing a recursive loop on some template markup.

This plugin enables a generic means of performing a recursive loop on some template markup.

Again does two things:

  • Define a block of markup and text to recursively loop through with a limit
  • Repeat the block inside itself or use another block of markup once the limit (depth) has been reached by the loop.

One such use of recursion in MT templates is calling a functional block tag like mt:entryprevious recursively to show the previous 5 entries to the one in context. (See the manual for a specific example.)

This MT4 plugin is based on an MT3 style plugin originally developed by LummoxJR.

Documentation

System Requirements

Again for MT requires MT 4.01 or later.

DOWNLOAD

This plugin is free software licensed under the Artistic License as Perl itself. If you find our work useful tips, links and other forms of good will are appreciated.


Back to Plugins