soo_modified Page 1 of 2

soo_modified

Summary:

Tags for showing and comparing article modification information

Download

soo_modified version 0.1.0, 1.5 KB
(If it won’t install try the compressed version)

Preview soo_modified code

Overview

Inspired by the now-orphaned ob1_modified plugin, soo_modified includes tags for dealing with article modification information. These supplement the basic function offered by the core modified tag.

soo_modified_author

Output the name of the author who most recently modified the current article.

<txp:soo_modified_author />

Attributes

soo_if_modified

Conditional tag that compares the current article’s modification date to its posted date.

<txp:soo_if_modified>
...
<txp:else />
...
</txp:soo_if_modified>

Attributes

By using a date format that doesn’t include the time of day, this tag will evaluate to true only if the last-modification stamp is on a different day than the posted stamp.

soo_if_modified_author

Conditional tag that compares the author who most recently modified the current article to the article’s author, or to the specified author.

<txp:soo_if_modified_author>
...
<txp:else />
...
</txp:soo_if_modified_author>

Attributes

If neither attribute is used, the tag will compare the author who last modified the article to the author who posted it.

Version History

0.1.0 (2010/12/31)