Movable Type Widget: Multiblog

multi.png David Raynes has an excellent plugin called MultiBlog. One of the great things this plugin does is allow bloggers to share the content from the other blogs they may installed in the same instance of Movable Type on any other blog.

Because I have a separate blog for each of my individual projects, I use this plugin to aggregate and display to my visitors the recent activity on my other blogs. Which is incredibly handy considering my Movable Type installation now has 12 different blogs!

Template Code

Below is the template code I use to create my sidebar widget. Please remember that this template code requires that you have MultiBlog plugin installed.

<div class="module-archives module">
  <h2 class="module-header">Recent Posts on my <i>Other</i> Blogs</h2>
  <div class="module-content">
    <ul class="module-list">
      <MTMultiBlogEntries include_blogs="<YOUR LIST OF BLOGS HERE>" lastn_modified="10">
      <li class="module-list-item multiblog-list-item"><a href="<MTEntryPermalink>"><MTEntryTitle></a> on <a href="<MTBlogURL>"><MTBlogName></a></li>
    </MTMultiBlogEntries>
    </ul>
  </div>
</div>

4 Comments

How do I install this? Thanks in advance.

Hi Byrne,

I have installed MT4.25 and mid century template for 3 blogs let's call them A,B,C. Blog A will pull entries from Blog B and via via . I have setup multiblog plugin such that when ever blog B or C publish a comment or entry, blog A will rebuilt indexes.

Say to say, it gives an error everytime someone post a comment. and the error code is below

"MultiBlog died with: DBD::mysql::st execute failed: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')) AND (placementblogid = '1') AND (entryid = placemententryid) ORDER BY en' at line 3 at /home/ferris/publichtml/cgi-bin/extlib/Data/ ObjectDriver/Driver/DBI.pm line 127."

Any idea what did I do wrong? I did the same for previous version and it was working great.

Thanks in advance!

I actually this code is very much out of date given the many advancements of MT4. MT4 users can take virtually any widget that utilizes an <mt:entries> or <mt:comments> tag and add the following attribute:

<mt:entries blog_ids="all">

Which will include content from all blogs in the system. Check out the documentation I wrote on multiblog attributes on movabletype.org to learn more.

Maybe I should go and get my driver's license again ...

Leave a comment

what will you say?


Recent Comments

  • Maybe I should go and get my driver's license again ... ...

  • I actually this code is very much out of date given the many advancements of MT4. MT4 users can take virtually any widget that utilizes an <mt:entries> or <mt:comments> tag and add the following attribute: &...

  • Hi Byrne, I have installed MT4.25 and mid century template for 3 blogs let's call them A,B,C. Blog A will pull entries from Blog B and via via . I have setup multiblog plugin such that when ever blog B or C publish a co...

  • How do I install this? Thanks in advance. ...

Close