didak Posted November 5, 2004 Posted November 5, 2004 Hi- 2 issues I hope to get help with. 1.) I am getting thoroughly confused by the location of template tags and which ones to edit in order to achive a specific result. In this case I merely want to exclude some categories from being listed in the side bar. Currently, my main index template contains this code and lists all categories I have created: ><div id="categories"> <h2>Categories</h2> <MTSubCategories> <MTSubCatIsFirst> <ul></MTSubCatIsFirst> <MTIfNonZero tag="MTCategoryCount"> <li><a href="<$MTCategoryArchiveLink$>" title="<$MTCategoryDescription$>"><MTCategoryLabel></a> <MTElse> <li><MTCategoryLabel> </MTElse> </MTIfNonZero> <MTSubCatsRecurse max_depth="3"> </li> <MTSubCatIsLast> </ul></MTSubCatIsLast> </MTSubCategories> </div> However, I'd like to prevent one or more categories from showing up in this list. How do I do this? 2.) Other major issue is that I keep getting a 404 error when i click on a category name in the sidebar. Permissions on the archive folders are set to 755. Here's my test site: www.siliconvalleywatcher.com/nophun TIA to you fab folks here- Dida Quote
TCH-Rick Posted November 5, 2004 Posted November 5, 2004 On question 2, it looks like you have an error somewhere in your MT config for that blog in the folder options for the archives. The code is calling for the files in http://www.siliconvalleywatcher.com/nophun/archives/fishing/index.php but the files are actually stored in http://www.siliconvalleywatcher.com/mt/nophun/archives/fishing/index.php. Notice that the archives are within the mt and not the nophun folder in public_html. Quote
didak Posted November 5, 2004 Author Posted November 5, 2004 Rick! Once again you have come to my rescue. I changed the blog config and no more 404 error. Dida Quote
arvind Posted November 5, 2004 Posted November 5, 2004 Hello Didak On question 2, are you using static or dynamic templating (this assumes you have MT 3.1 or greater) If its static templating, make sure you have rebuilt all pages in your blog. If its dynamic templating make sure the .htaccess code is in the appropriate folders Quote
didak Posted November 5, 2004 Author Posted November 5, 2004 HI- I'd still relaly like some help on #1. Or am I siig somthing so basic that I donlt warrnt a response? Quote
didak Posted November 5, 2004 Author Posted November 5, 2004 HI- I'd still really like some help on #1. Or am I missing something SO basic ? . . . Dida Quote
arvind Posted November 5, 2004 Posted November 5, 2004 I myself am stuck on #1, there doesn't seem to be any plugins/tags to take care of this. There is the ExcludeCategories plugin but that is for entries not listing of categories. Why not just put the category listing in a test page, grab the HTML produced, remove the categories you don't want listed! Quote
didak Posted November 5, 2004 Author Posted November 5, 2004 Well Arvind- if *YOU* don't know how to do this either-and i do know about the excludecategoreis plugin also but found it to not be what I want-then there is a need for a plug in to be written! (I'm not that far yet in my skills to do so myself) I'll try your idea and get back to you, ok? Dida 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.