Plugins : Global Listings 2.0.2 Jan 03 2003 | # | C:36

January 03, 2003 - updated December 09, 2003 (Download)

This plugin allows you to list Entries, Comments, Categories and TrackBack pings across multiple blogs within one MovableType installation.

Important: If you want a page that contains <MTGlobal...> tags to be correctly rebuilt every time you update an entry or comment in a related blog, you must use the same template in each of the blogs. The easiest way to do this is to link the template to a file. All the affected blogs should link to the same file, so that you only have to edit it in one place.


General

  • MTGlobalListingsVersion
    Returns the current version of the Global Listings plugin.
  • MTIfGlobalBlog
    Conditional tag that is true if the current global object is not a member of the blog being built.
    Used inside of MTGlobalObjects or MTGlobalObject tags.
  • MTIfNotGlobalBlog
    Conditional tag that is true if the current global object is a member of the blog being built.
    Used inside of MTGlobalObjects or MTGlobalObject tags.
  • MTGlobalObject
    Container tag for the a specified object within any blog. The following attributes are supported:
    • id=”123”
      Specifies the ID of the object.
  • MTGlobalObjects
    Container tags that generates a listing of specified objects across multiple blogs. In the context of a date-based archive, only object in the specified date range are listed. The following attributes specify which blogs are included:
    • include_blogs=”3,4,6”
      Limits the objects to blogs specified in the attribute. The default behavior is to include all blogs.
    • exclude_blogs=”3,4,6”
      Excludes objects from blogs specified in the attribute. The include_blogs setting overrides the exclude_blogs setting.
  • MTGlobalObjectCount
    Tag that returns a count of the specified object across multiple blogs. In the context of a date-based archive, only object in the specified date range are counted. The following attributes specify which blogs are included:
    • include_blogs=”3,4,6”
      Limits the objects to blogs specified in the attribute. The default behavior is to include all blogs.
    • exclude_blogs=”3,4,6”
      Excludes objects from blogs specified in the attribute. The include_blogs setting overrides the exclude_blogs setting.


    Global Entries

    • MTGlobalEntries
      A container tag representing a list of entries/posts from multiple blogs in a MovableType installation. The actual list of posts can be configured using optional attributes to this tag. The default is to display the last 7 days of entries. This tag supports all the attributes of the MTEntries tag, with the exception of the category attribute. In addition to the MTGlobalObjects attributes, you can also provide one of the following additional attributes:
      • lastn_modified=”N”
        Display the last N modified posts to this blog, where N is some number greater than 0. The lastn setting overrides the lastn_modified setting.
    • MTGlobalEntryCount
      Returns the number of entries in multiple blogs. Accepts MTGlobalObjectCount attributes.
    • MTGlobalEntry
      Container for a single entry in any blog.
      • id=”123”
        Specifies the ID of the entry.


    Global Comments

    • MTGlobalComments
      A container tag representing a list of comments across multiple blog. This tag supports all the attributes of the MTComments tag. In addition to the MTGlobalObjects attributes, you can also provide one of the following additional attributes:
      • offset=”M” When used with lastn, starts M comments from the most recent, then displays the N most recent comments. For example, if you use the following tag:
        <MTGlobalComments lastn="5" offset="5">
        ...
        </MTGlobalComments>
        

        this will display most recent comments 6-10 (inclusive) across all blogs.



    • MTGlobalCommentCount
      Returns the number of comments in multiple blogs. Accepts MTGlobalObjectCount attributes.
    • MTGlobalComment
      Container for a single comment in any blog.
      • id=”123”
        Specifies the ID of the comment.


    Global Categories

    • MTGlobalCategories
      A container tag representing a list of categories across multiple blog. The tag accepts MTGlobalObjects attributes.

      Use the MTEntries tag to list entries within the categories.

    • MTGlobalCategoryCount
      Returns the number of categories in multiple blogs. The tag accepts MTGlobalObjectCount attributes.
    • MTGlobalCategory
      Container for a single category in any blog.
      Use the MTEntries tag to list entries within the category.
      • id=”123”
        Specifies the ID of the category.



    Global Pings

    • MTGlobalPings
      A container tag representing a list of TrackBack pings across multiple blog. This tag supports all the attributes of the MTPings tag. The tag accepts MTGlobalObjects attributes.
    • MTGlobalPingCount
      Returns the number of TrackBack pings in multiple blogs. The tag accepts MTGlobalObjectCount attributes.
    • MTGlobalPing
      Container for a single TrackBack ping in any blog.
      • id=”123”
        Specifies the ID of the TrackBack ping.
    Version History