Not a developer? Go to MovableType.com

Documentation

AuthorIfFollowed

Determines whether or not the logged in user is being followed by the user of the profile page they are viewing. Certain contents will only be visible if the followed value is “true”.

Usage

<mt:AuthorIfFollowed script="0">
   <p><$mt:AuthorDisplayName$> follows you.</p>
<mt:Else>
   <p><$mt:AuthorDisplayName$> does not follow you.</p>
</mt:AuthorIfFollowed>

Modifiers

id

Used by the community. If the ID of the user of the page using <mt:AuthorIfFollowed> is 4, you would use either followed_4 or followed_else_4.

id="id_foo"

followed is the default value.

Example:

<span id="followed_1" class="followed" style="display:none">
  <p>Melody is following you.</p>
</span>
<span id="followed_1_else" class="followed_else" style="display:none">
  <p>Melody does not follow you.</p>
</span>

class

Used by the community script. Certain class values are set if conditions specified with <mt:AuthorIfFollowed> are met. Not required for normal use.

followed is the default value.

Example:

<span id="followed_1" class="followed" style="display:none">
  <p>Melody is following you.</p>
</span>
<span id="followed_1_else" class="followed_else" style="display:none">
  <p>Melody does not follow you.</p>
</span>

class_else

Used by the community script. Certain class values are set if conditions specified with <mt:AuthorIfFollowed> are met. Not required for normal use.

Example:

<span id="followed_1" class="followed" style="display:none">
  <p>Melody is following you.</p>
</span>
<span id="followed_1_else" class="followed_else" style="display:none">
  <p>Melody does not follow you.</p>
</span>

script

Generates HTML code that calls out the community script. 1 (generate) is the default value.

script="0"
Back