Help - Search - Members - Calendar
Full Version: Mtmuliblog On Category Archive Page
Movable Type Community Forum > Using Movable Type > Templates and Tags
hechtic
I have two blogs on the same installation and so I'm trying to use MultiBlog to pull content from the second blog into the first.

What I want to do is this:

1) I have content on blog #2 tagged "X"
2) I want only the last three blog entries tagged "X" to show up on blog #1
3) I want the posts to show up on Category Archive page named "X on blog #1"

here's the code I'm using, but it's not working:

CODE
<ul>
<MTMultiBLog tag_name="<MTCategoryLabel>" include_blogs="2" lastn="3">
<MTEntries>
<li><a href="<$MTEntryPermalink$>"><$MTEntryTitle$></a></li>
</MTEntries>
</MTMultiBLog>
</ul>


In my travels around the net, I've come across some mention that maybe MultiBlog doesn't work with Category Archive templates and you have to use MTInvoke. I tried that and couldn't get it work either.

Can someone in the know give me a hand here?

thanks,

Andrew

danwolfgang
I feel a little confused by the code you posted (where did you get the tag_name attribute from?), but based on your 3 criteria here's what I'd try:
CODE
<ul>
<MTEntries blog_id="2" tag="X" lastn="3">
<li><a href="<$MTEntryPermalink$>"><$MTEntryTitle$></a></li>
</MTEntries>
</ul>
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.