zeegirl Posted March 16, 2008 Posted March 16, 2008 Hi all - So I have MT 3.35 installed for a client and everything seems to be working just fine, but for some reasn the posts show up on the category archive pages in ascending order. I do have the post order set to "descending" in the Weblog Display Settings section and the order seems to be correct on the blog's home page. However I need the archive pages to also displlay the posts in descending order. Is there a setting somewhere I'm missing? I have a blog of my own set up this way (I believe it's an earlier version fo MT) and it doesn't have this problem. Suggestions? ~Zee Quote
salguod Posted March 16, 2008 Posted March 16, 2008 (edited) That link should help, but I think you should be looking for an 'MTEntries' tag in the Category archive template rather than the 'MTArchiveList' tag. The default sort order should be newest at the top, but that can be overridden by the 'sort_order' attribute. See this page on MTEntries in the docs. It says: When used as an attribute of MTEntries in the templates, the days, lastn, and sort_order attributes override their corresponding settings in the weblog's General settings menu. When MTEntries is used in the context of a Category archive, the results are automatically filtered by category. 'MTArchiveList' is used to create a list of a specific type of entries outside of such a context. I use it, for example, to create a list of my monthly and category archive links on my side bar. Edited March 16, 2008 by salguod Quote
zeegirl Posted March 16, 2008 Author Posted March 16, 2008 That link should help, but I think you should be looking for an 'MTEntries' tag in the Category archive template rather than the 'MTArchiveList' tag. The default sort order should be newest at the top, but that can be overridden by the 'sort_order' attribute. See this page on MTEntries in the docs. It says: When MTEntries is used in the context of a Category archive, the results are automatically filtered by category. 'MTArchiveList' is used to create a list of a specific type of entries outside of such a context. I use it, for example, to create a list of my monthly and category archive links on my side bar. That worked perfectly - thank you all! ~Zee Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.