Not a developer? Go to MovableType.com

Documentation

StreamActionVar

This Template Tag assigns parameters to refer to each variable that corresponds to an action. Use this to output items other than titles and URLs when using plugins to expand services.

This is a part of the ActionStreams plugin that comes with MT 4.25.

Example:

<mt:ActionStreams lastn="15">
<mt:If name="first">
<div class="widget-recent-action widget-recent widget">
<h3 class="widget-header">15 recent actions</a></h3>
<div class="widget-content">
<ul>
</mt:If>
<li class="service-<$mt:var name="service_type"$>"><a href="<$mt:StreamActionVar name="url"$>"><$mt:StreamActionVar name="title"$></a></li>
<mt:If name="last">
</ul>
</div>
</div>
</mt:If>
</mt:ActionStreams>

Default Usage:

<$mt:StreamActionVar name="parameter"$>



Possible Parameters

  • <$mt:StreamActionVar name="title">

    Outputs an action’s title. The content is the same as that of the <mt:StreamActionTitle> functional tag.

  • <$mt:StreamActionVar name="url">

    Outputs the URL for a page with the details of the action

Back

Leave a Comment