Not a developer? Go to MovableType.com

Documentation

OtherProfiles

This block template tag outputs a summary of services users have registered with Movable Type.   This tag can only be used with MT 4.25 and above.

Example:

<$mt:SetVar name="display_name" value="Melody"$>

<mt:OtherProfiles display_name="$display_name">
<mt:If name="__first__">
<div class="widget-elsewhere widget">
<h3 class="widget-header"><$mt:Var name="display_name"$> 's service summary</a></h3>
<div class="widget-content">
<ul>
</mt:If>
<li class="service-<$mt:OtherProfileVar name="type"$>"><a href="<$mt:OtherProfileVar name="uri" escape="html"$>"><$mt:OtherProfileVar name="label" escape="html"$></a></li>
<mt:If name="__last__">
</ul>
</div>
</div>
</mt:If>
</mt:OtherProfiles>

Attributes:

  • type="service type" (optional)

    Limits listed profiles to a certain type of service. Common service types are:

    • contact (AIM, Yahoo! Messenger, etc)
    • blog (Vox, Tumblr, the Website service, etc)
    • photos (Flickr, Smugmug, etc)
    • video (Vimeo, YouTube, etc)
    • links (del.icio.us, Digg, etc)
    • status ( Twitter, etc)
    • network (Facebook, MySpace, etc)

    If you only want to output profiles from “contact” type services, use the following:

    <mt:OtherProfiles type="contact">

    If you want to output profiles from all services except contact-type services, use the following:

    <mt:OtherProfiles type="NOT contact">

  • author="author username" (optional)

    Limits listed profiles to only specified authors’ profiles. Use an author’s login account name (username) here.

    For example, with this code only the profile of the author with the username “Melody” will be shown:

    <mt:OtherProfiles author="Melody">

    To show the profiles of several authors, separate their usernames with a comma:

    <mt:OtherProfiles author="Melody,Nelson">

  • display_name="author display name" (optional)

    Limits listed profiles to only specified users’ profiles. Use an author’s profile display name here.

    For example, with this code only the profile of the user with the display name “Melody Nelson” will be shown:

    <mt:OtherProfile display_name="Melody Nelson">

    To show the profiles of several authors, separate their display names with commas:

    <mt:OtherProfile display_name="Melody Nelson,Serge Gainsbourg">

    Only one of display_name and author should be specified. If neither are specified, the authors to show are inferred from context: if the tag is used in an author context (such as on an author archive page, inside an <mt:Authors> tag, in an entry context, or on an MT Pro profile page), that one author is selected; otherwise, if the tag is used in a blog context (most of the time), all the authors who can post to that blog are selected.

Back