At long last, we're moving to forums powered by, well, Movable Type itself. You'll want to bookmark http://forums.movabletype.org/ for future reference, and in the meantime you can view these old forums as a read-only archive of past posts. Thanks for being part of the community!
![]() ![]() |
Nov 30 2002, 10:00 PM
Post
#1
|
|
|
Group: Members Posts: 11 Joined: 20-July 02 Member No.: 3,418 |
Hi, on my site, I have links to my monthly archives going back until the first entry in my blog 1 1/2 years ago. How do I make it so that only the last 6 months show up in that link list? I'd like to do this using MT only, no PHP - pretty please!
|
|
|
|
Nov 30 2002, 10:03 PM
Post
#2
|
|
|
Group: Super Administrators Posts: 7,354 Joined: 9-October 01 Member No.: 1,862 |
You can use
lastn="6" in your archivelist.
|
|
|
|
Dec 1 2002, 08:26 AM
Post
#3
|
|
|
Group: Members Posts: 11 Joined: 20-July 02 Member No.: 3,418 |
Wow, that was simple! Thanks so much! :-)
|
|
|
|
Dec 1 2002, 08:29 AM
Post
#4
|
|
|
Group: Super Administrators Posts: 7,354 Joined: 9-October 01 Member No.: 1,862 |
I didn't realize that tag worked like that til a few weeks ago I came across that in the manual! hehe.
CODE <MTArchiveList archive_type="Monthly" lastn="6"> cool. glad it's what you were looking for! |
|
|
|
May 1 2008, 02:02 PM
Post
#5
|
|
|
Group: Members Posts: 7 Joined: 23-April 08 Member No.: 52,760 |
Ok, I have a follow-up question. I want to do the same thing only lastn isn't working. If I have lastn=5 I get the last 2 archive links, if lastn=8 I get the last 3, lastn=20 I get the last 7 - no rhyme or reason that I can see. Any idea what the problem is?
|
|
|
|
May 1 2008, 02:20 PM
Post
#6
|
|
|
Group: Members Posts: 7 Joined: 23-April 08 Member No.: 52,760 |
Ok, apparently it's a known problem in MT 3.2. I found the answer here:
http://www.sixapart.com/movabletype/kb/kno...n_does_not.html |
|
|
|
![]() ![]() |
| Lo-Fi Version | Time is now: 11.25.09 - 12:24 AM |