user-pic

How to limit mt:Blogs tag?

Vote 0 Votes

Chet Bannerjee asks:

I am trying to list the five most recently created blogs using the MT Templates language. For some reason, it lists ALL blogs on the system. How do I get around this, and only list the latest five?

My current template reads:

<h2 class="asset-name entry-title">Recently Created Blogs</h2>
<mt:Blogs blog_ids="all" sort_by="created_on" sort_order="descend" limit="5">
   <h3><a href="<$mt:BlogURL$>rss.xml"><img align="bottom" src="../mt/rss-icon.jpg" </a>
   <a href="<$mt:BlogURL$>"><b><$mt:BlogName$></b></a></h3>
   Description: <mt:BlogDescription /><br>
   Posts: <mt:BlogEntryCount /><br>
   Authors: <mt:Authors>| <mt:AuthorDisplayName /> </mt:Authors><p>
</mt:Blogs>

2 Replies

| Add a Reply

Add a Reply

Forum Groups

151 405

Last Topic: MT Interface Missing by Sherri on Nov 10, 2008

36 144

Last Topic: Installation can't finish by Drazend on Nov 10, 2008

34 93

Last Topic: Creating your own Plug-in by jondauz on Nov 5, 2008

10 33

Last Topic: new licensing confusion by Neil Epstein on Aug 14, 2008

code.sixapart.com

62 226

Last Topic: Callback after blog publishing. by Tomato Interactive on Oct 27, 2008

34 98

Last Topic: Ajax Rating Plugin by kiran on Oct 17, 2008