Help - Search - Members - Calendar
Full Version: Using Multiple Blogs!
Movable Type Community Forum > Using Movable Type > Categories and Entry Tags
speedy
I would like to know if it is possible to pull a specific filed from Blog2 Blog3 and Blog4 to show up in Blog1. I know that I can pull the information from the blogs as a whole. But I would like to know If I can pull the info/content just from a specific Field?
OtherNiceMan
Which field?
speedy
QUOTE (OtherNiceMan @ Feb 20 2008, 03:59 PM) *
Which field?


Lets say I want to display only the "body" from blog2, blog3 and blog4 on blog1 but the extended part of the entry should be only in its corresponding blog.

For example an entry from blog2 should display the body and the extended portion of the entry but blog1 should be able to display the body portion from blog2.

Thanks
shenews
QUOTE
For example an entry from blog2 should display the body and the extended portion of the entry but blog1 should be able to display the body portion from blog2.


You could probably use a multiblog include for blog2 that calls MTEntry and another multiblog include for blog1 that calls MTEntryBody.
speedy
QUOTE (shenews @ Feb 20 2008, 04:22 PM) *
QUOTE
For example an entry from blog2 should display the body and the extended portion of the entry but blog1 should be able to display the body portion from blog2.


You could probably use a multiblog include for blog2 that calls MTEntry and another multiblog include for blog1 that calls MTEntryBody.


Thanks,

But when i put in MTEntryBody in Blog1 how does it know from which blog to pull it from?
shenews
[/quote]
But when i put in MTEntryBody in Blog1 how does it know from which blog to pull it from?
[/quote]

I haven't tried it, but I'd start with something like this and see what happens:

<mt:MultiBlog include_blogs="2">
<MTEntries lastn="1">
<a href="<$MTEntry$>"></a><br />
</MTEntries>
</MTMultiBlog>

<mt:MultiBlog include_blogs="1">
<MTEntries lastn="1">
<a href="<$MTEntryBody$>"></a><br />
</MTEntries>
</MTMultiBlog>
speedy
QUOTE (shenews @ Feb 23 2008, 12:06 PM) *
I haven't tried it, but I'd start with something like this and see what happens:

<mt:MultiBlog include_blogs="2">
<MTEntries lastn="1">
<a href="<$MTEntry$>"></a><br />
</MTEntries>
</MTMultiBlog>

<mt:MultiBlog include_blogs="1">
<MTEntries lastn="1">
<a href="<$MTEntryBody$>"></a><br />
</MTEntries>
</MTMultiBlog>



I put in the following code and I got an error message.

CODE
<$MTInclude module="Header"$>

<MTEntries>
<$MTEntryTrackbackData$>
<$MTInclude module="Entry Summary"$>
</MTEntries>

<mt:MultiBlog include_blogs="2">
<MTEntries lastn="1">
<a href="<$MTEntry$>"></a><br />
</MTEntries>
</MTMultiBlog>
OtherNiceMan
What is the error message?
speedy
QUOTE (OtherNiceMan @ Mar 3 2008, 04:34 PM) *
What is the error message?


This is the message that i get

Publish error in template 'Main Index': Error in <mt:MultiBlog> tag: Error in <mt:Entries> tag: Unknown tag found: Entry
OtherNiceMan
That is because there is no such tag as entry, try

CODE
<MTEntries>
<$MTEntryTrackbackData$>
<$MTInclude module="Entry Summary"$>
</MTEntries>

<mt:MultiBlog include_blogs="2">
<MTEntries lastn="1">
<a href="<$MTEntryPermalink$>"><$MTEntryTitle$></a><br />
</MTEntries>
</MTMultiBlog>
speedy
Thanks it worked.

If I would like to take the blog posts from 2 different blogs and so that they are displayed in the order of which they were published and not by blog. How would I do that?

CODE
<mt:MultiBlog include_blogs="2,3">


Would the above code be correct?
shenews
QUOTE (speedy @ Mar 4 2008, 02:48 PM) *
If I would like to take the blog posts from 2 different blogs and so that they are displayed in the order of which they were published and not by blog. How would I do that?
CODE
<mt:MultiBlog include_blogs="2,3">
Would the above code be correct?


To see what finally worked for me, look at the last post in this thread.

I used many more blogs, but they display in realtime in the order of publication.
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-2009 Invision Power Services, Inc.