HiDd#N

lastn entry listing

Vote 0 Votes

hi all
i have few questions i just want to have lastn="7" entry from every categories..i coded like this but no functionlaity..
<div class="extra-space-bottom">
<h6>last enries from animes</h6>
<div class="styled-list">
<ul>
<MTEntries lastn="7" category="#3">
<li><a target="_blank" href="<$MTEntryPermaLink$>" title="<$MTEntryTitle$>"> <$MTEntryTitle$> </a></li>
</mt:Entries>
</ul>
</div>
</div>


<div class="extra-space-bottom">
<h6>last entries from films</h6>
<div class="styled-list">
<ul>
<MTEntries lastn="7" category="site-films">
<li><a target="_blank" href="<$MTEntryPermaLink$>" title="<$MTEntryTitle$>"> <$MTEntryTitle$> </a></li>
</mt:Entries>
</ul>
</div>
</div>

2-another question to ask when i save some entry in draft and then i publish entry i have no entry date time for some of them..but when i change time i have entry date and time
just to see my site for test
www.worldset.net
some entries dont have entry date and time
please help

Reported on Movable Type 5

7 Replies

| Add a Reply
  • I have paged archive plugin install and some tags for date has inserted..is that the problem for second one?

  • no body here??please some one answer me.i want list of 7 entries in each category i used code in movablet type documantion but nothing happend??

  • Happy New Year!

    Regarding your 1st point, what you do is right.

    Try to reverse the order of the lastn and category attributes and also make sure that the category label is correctly provided.

    Do you have a category called "#3"? It might be that the "#" symbol confuses movable type. Not sure, but after first reversing the order of the 2 parameters that I've mentioned above, if the problem is not solved, you may like to try to temporary rename the "#3" category to something else and see if it works that way.

    As for the 2nd matter, I wasn't able to understand very well what the problem is. The use of the paged archive plugin doesn't have any negative impact, so you shouldn't be concerned about it.

    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/
    ----------------------------------

    Open Melody Demo
    http://www.openmelodydemo.org/

  • Realy tnx Mihai
    i tryed all the ways and tryed and tryed but when i define category no output...
    any advice Mihai??
    second problem solved when i removed some tags that intorduced in paged archive

  • You're welcome!

    Well, it cannot be that when you specify the category the filtering doesn't work. If it doesn't maybe your installation is missing some files, or something.

    If you provide me access via email to your movable type admin I could take a look and see. Just tell me the template name.

  • Mihai tnx to you problem solved
    i figured out that i have to mention category name not basename
    i just inserted category base name and nothing happend but when i put category name problem solved..
    realy tnx
    happy xmas

  • Yeap, that is what I've assumed in my first feedback to you above and that's why I've clearly mentioned about "category label" in the phrase:

    "make sure that the category label is correctly provided."

    Cheers,
    Mihai

Add a Reply

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

Forum Groups

1774 6167

Last Topic: Template modules by Zielun on Feb 16, 2012

86 302

Last Topic: website entries by masoud on Oct 26, 2011

1434 5088

Last Topic: Maintenance announcement by Nick on Feb 17, 2012

695 2912

Last Topic: Insert Image / File Fails by Russ Miller on Feb 10, 2012

84 291

Last Topic: How to have some other characters in entry basename automatically written by Afshin Haghighatnia on Dec 22, 2011

174 740

Last Topic: Captcha images rendering slowly by ScottM on Feb 12, 2012

190 568

Last Topic: Analytics Reporting by michael webster on Feb 5, 2012

48 210

Last Topic: An idea and also a request by Afshin Haghighatnia on Jun 29, 2011

64 246

Last Topic: jQuery in MT 5.1 still at 1.4 - why? by perlmonkey on May 25, 2011

code.sixapart.com

137 478

Last Topic: Getting a thumbnail with xpath by Peter on Mar 13, 2011

222 720

Last Topic: Custom Field for Asset Not Appearing by android on Feb 9, 2012