sali0023

two blogs on one page

Vote 0 Votes

Is there a template out there (or could someone give me advice on developing myself) where there are two blogs on one page. For instance there are two distinct authors each with their own column?

Reported on Movable Type 4.0x

8 Replies

| Add a Reply
  • Hi Sali,

    If there are two authors, but they are part of the same blog, then you could use this logic:

    <mt:Entries author="John">

    <mt:Entries author="George">

    But if they are each having his/hers own blog, then you could do it either via:

    <mt:Entries author="John" include_blogs="3">

    <mt:Entries author="George" include_blogs="5">

    Or if there are no other authors on those blogs, simply as:

    <mt:Entries include_blogs="3">

    <mt:Entries include_blogs="5">

    As you might imagine, you could also limit the number of posts to say the latest 10 by adding the "lastn" parameter to the coding above, like this:

    <mt:Entries include_blogs="5" lastn="10">

    Kind Regards,
    Mihai Bocsaru

    ----------------------------------
    Daily Movable Type Consultant

    Web Development
    Movable Type Consulting
    Six Apart Partner

    http://www.pro-it-service.com/
    ----------------------------------

    Movable Type Demo
    http://www.movabletypedemo.org/

  • Mihai - is there supposed to be anything after the colon's? i.e. where you say, '... then you could use this logic:' then there is nothing there.

  • I'm sorry Sali, but I've missed to escape the angle brackets!

    See the whole coding above ;)

  • Mihai,

    Thanks. So if there were multiple people posting on each blog could the blogs just be numbered?

    ?

  • oops I missed the brackets too...

    if there were multiple people posting on each blog would each author need to be listed? or is there a way to just have 2 different blogs?

  • You could list whatever you want...

    I'm confused by your question :)

  • disregard. thanks for your help.

  • You're welcome, Sali!

Add a Reply

If you need to share template code, replace all the "<" signs with "&lt;" or use this utility.

Forum Groups

code.sixapart.com

141 500

Last Topic: Action Stream for LinkedIn by michael webster on Jan 10, 2013

263 928

Last Topic: Lock Access to Global Templates by TJ Simons on Jun 11, 2013

1885 6681

Last Topic: listing tags within a category by wwordsworth on Jun 15, 2013

89 312

Last Topic: Seeking explanation of files and folders by CosmicKnight on Feb 23, 2013

1534 5534

Last Topic: Current taxpayers number too small Says CBDT chief by dimpi on Jun 18, 2013

745 3156

Last Topic: Importing and Creating Subcategories by Marc Boucher on May 24, 2013

90 347

Last Topic: HELP! I need to 301 over 100 urls on my site via htaccess by justin on Feb 22, 2013

193 805

Last Topic: Deleting Revision History by Will Haynes on Mar 16, 2013

221 734

Last Topic: Anyone ever used JumpBox for the Movable? by develope movable on Jun 12, 2013

28 100

Last Topic: Movable Price by joe22 on Jan 10, 2013

67 252

Last Topic: MT 5.2.6 by Daniel M on Jun 14, 2013