A-  A  A+ RSS Feed

Deep Thoughts by Robert Felty

thoughts on wordpress, latex, cooking et alia

Collapsing Categories

IMPORTANT INSTALLATION NOTES for WP 2.7
Please deactivate before upgrading, then re-activate the plugin.

The collapsing categories plugin creates a list of all categories, subcategories, and posts, which can be expanded and collapsed dynamically, as you can see in the sidebar on this page.

The plugin is hosted on the official wordpress repository at: http://wordpress.org/extend/plugins/collapsing-categories

If you have any questions, bug reports, or feature requests, please visit the Frequently Asked Questions, and at the other comments here (find is your friend)).

Your appreciation

If you really like my plugins, please give them a nice ranking in the wordpress plugin repository (links above), or you can send me a donation via paypal below:


237 Responses to “Collapsing Categories”

  1. On May 25th, 2008 at 1:00 pm
    Philip wrote:

    Great plugin. I experimented with an earlier version of this and it didn’t really work for me. This one is much better. It’s great that you’ve provided the options to exclude certain categories.

    One minor bug: when the mouse arrow hovers over the “expand” / “contract” character, rather than turn into a finger (to indicate that something might happen if you click on it) it turns into a simple vertical line (as if you are expected to type or select text). Readers therefore are unlikely to click on the “expand” / “contract” character.

    Strange: it seems to work fine in your sidebar on this site, but on my test site (http://test.londonkoreanlinks.net/) the mouseover doesn’t work as it should. Any ideas?

  2. On May 25th, 2008 at 7:41 pm
    Cindy wrote:

    Hi, I just installed your plugin and it seems to be working great- thanks. One question though…. Is there a way to change the color of the collasping bullets. The black color is just too dark for my site.

    Thanks again!

  3. On May 27th, 2008 at 9:42 am
    robfelty wrote:

    @Philip,

    Check out this page on your site:
    http://test.londonkoreanlinks.net/wp-content/plugins/collapsing-categories/collapsCat.css
    It should be the same as:
    http://test.robfelty.com/wp-content/plugins/collapsing-categories/collapsCat.css

    I think this probably a problem with your mod-rewrite settings. If you don’t want to change those, you can copy the style info in the the collapsCat.css file to your themes stylesheet, and that should do the trick.

    @Cindy,

    The color of the bullets should be inherited by whatever color you have chosen for plain text, which seems to be black, looking at the content on your site. You should be able to add a rule this in your theme’s style.css file

    #sidebar .collapsCat {color:#878773}

    I hope that helps.

    Rob

  4. On May 30th, 2008 at 7:22 am
    Philip wrote:

    Thanks Rob
    I couldn’t access the css file on your site…

    But I’ve done the following:
    - I verified that the css file in my plugin directory is the same as the one in the latest version of the widget downloaded from WordPress. That was fine.
    - I pasted the css into my main stylesheet. That helped. Cursor behaviour improved – managed to get a pointer (I even played with the cursor attribute to get a crosshair – which is the version that’s on my test site at the moment). But this behaviour only seems to work in Internet Explorer (which I don’t use), not Seamonkey (my default browser), Flock, Opera or Firefox.

    So close! But I’m reluctant to install something which only seems to work with IE. I don’t think my mod-rewrite settings are anything other than standard, but they may be. Also, maybe there’s stuff in my main css file which conflicts with your css, but I can’t see anything obvious.

    Anyway, thanks for looking.

    Philip

  5. On May 30th, 2008 at 9:11 am
    robfelty wrote:

    @Philip,

    Whoops. I gave you the wrong url –
    http://robfelty.com/test/wp-content/plugins/collapsing-categories/collapsCat.css

    I think I may have found your problems – your html doesn’t validate, and neither does your css. There are only a few problems with the html — check it out here:
    http://validator.w3.org/check?uri=http%3A%2F%2Ftest.londonkoreanlinks.net%2F&charset=%28detect+automatically%29&doctype=Inline&group=0

    you have some html style comment delimiters in the css file (<– comment –>) instead of (/* comment */). It happens to be right before the span.collapsCat definition, so I think that may be the problem.
    http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Ftest.londonkoreanlinks.net%2Fwp-content%2Fthemes%2FLKL_Version_3%2Fstyle.css&profile=css21&usermedium=all&warning=1&lang=en

    Interesting that it works in IE. I use Firefox mostly (but try to test stuff in IE as well). Have you tried out the Firebug plugin for Firefox? It is a great tool.
    Let me know if this helps.

    Rob

  6. On May 30th, 2008 at 9:33 am
    Philip wrote:

    Thanks – I’ll take another look soon.
    Annoying – I had already fixed the css error in my live site last time I did a validation check. I just hadn’t got around to keeping my test site in synch :-(
    Cheers
    Philip

  7. On May 31st, 2008 at 5:53 pm
    Philip wrote:

    OK, me again.
    My html and css is fine now. IE is fine.
    Other browsers seem to be fine initially, but once you expand the category, the cursor reverts to its old behaviour, for that category. And for some reason the little arrow-heads shrink once you’ve expanded them…

  8. On May 31st, 2008 at 10:17 pm
    robfelty wrote:

    Philip,

    I checked your version, and you are on 0.5.6. I was about to quickly reply to upgrade, then I realized that I hadn’t actually committed 0.5.7 yet. It is now committed, and I am 90% sure that this should fix the remaining problems.

    Thanks for your patience,

    Rob

  9. On June 15th, 2008 at 3:18 am
    Matt wrote:

    One problem here (first let me not forget to congrat you on your widget, seems to be the only of several Coll-Cats that works for me at all):

    On my site and with Firefox/Mac on mouseover it seems to ignore my Cat Descriptions, replacing them with the standard “View all posts filed under cat” for non-existant descriprions.

    WP 2.5.1, plugin 0.5.6

    I have double checked my args for descriptions, they are definitely not empty, and also checked your files, at first glance your code suggests it would transport and ack the descriptions… – but it doesnt…

    Check out: http://mallorca-service.net/node/ , as its a test site atm I gladly give you the necessary information to investigate at some depth, contact me via site.

    Keep up the great work!

    Kind regards,
    Matt

  10. On June 15th, 2008 at 11:40 pm
    Matt wrote:

    Just installed version 0.5.8, the problem with the Categories Descriptions not displaying is solved.

    Thanks, GJ!

    Kind regards,
    Matt

  11. On June 16th, 2008 at 1:34 pm
    john wrote:

    Hi,

    One annoying thing I’ve noticed about this plug-in and others like it is that the expanded selection collapses after the page is updated with the selected item. Is this something that was done purposefully in the design or a side-effect of the design.

    -john

  12. On June 17th, 2008 at 12:36 pm
    Tim from San Diego wrote:

    Thanks Robert. I’m just getting started trying your plugin and believe it will be the perfect feature for me to add to a new web site. I’d like to display empty categories as I build the site. If you can recommend a way to do this, I’d appreciate it.

    -Tim

  13. On June 17th, 2008 at 3:29 pm
    robfelty wrote:

    @Matt – Thanks for finding that bug, and I am glad the problem is fixed

    @John – That is the intended behavior. The expanding happens with javascript. It would be possible to set cookies with javascript, and then read them back. I will think about this in the future.

    @Tim – If you only want to do this temporarily, you can remove the following from collapsCatList.php
    Line 246 – change:

    if ($theCount > 0) {

    to

    if ($theCount >= 0) {
  14. On June 17th, 2008 at 6:02 pm
    Tim from San Diego wrote:

    Thank you very much. I got it to work. I’ll touch base again once I have the site up.

  15. On June 18th, 2008 at 6:02 pm
    TritonB7 wrote:

    I’ve been looking for a plugin like this for quite some time now. I am currently using your collapsing categories and archive plugins. Concerning your Collapsing Categories plugin for wordpress, would it be possible to automatically expand specific categories. Perhaps by typing in the category name into a box like your exclude category option.

  16. On June 20th, 2008 at 9:57 am
    Matt wrote:

    Hi!

    (I think I) found another bug:

    I followed your hint to show empty cats (much better for my purposes that people see where there is nothing to slook for), but now the Top cats show the double count of what is actually present.

    You can check that out at my test website (http://mallorca-service.net), right the first cat shows this behaviour (Animals). It shows a (false) post count of 2, the subcat (Veterinaries) shows (correctly) a post count of 1. If you click on the Animals cat you can see there is only one post present that is categorized both in “Animals” and “Vets”.

    Even worse this behaviour is in the “Food and Drink” category, there we have 5 posts that sum up to a (false) top cat post count of 22 somehow.

    Any ideas?

    Kind regards,

    Matt

  17. On June 20th, 2008 at 4:20 pm
    robfelty wrote:

    @Matt,

    Well, this could be considered a bug, or it could be considered the correct functionality. What is happening in that you have some posts that are categorized as more than one category, and some of these categories are subcategories of each other. For example, you have post 1 categorized as A,X, and Y, and your category structure looks like:
    A
    X
    –Y
    –Z
    B
    C

    Post 1 gets counted twice, because it is tagged as both X, and Y. I am not sure there is a workaround to this, other than only categorizing posts as either X or Y. If you choose Y, it will automatically be included in the listing for category X; if you choose X, it will not be included in the listing for Y. I think this is really how subcategories should work.

    Rob

  18. On June 22nd, 2008 at 9:31 am
    Philip wrote:

    Hi Rob
    Just to say, I’m now playing with v0.5.8, and it seems to be working fine. Time to take it across to my live site, I think.
    Requests for functionality in future upgrades?
    - fully customisable category order
    - ability to insert spacers and / or subheadings in the category list
    No harm in asking!
    Thanks for the great work.
    Philip

  19. On June 22nd, 2008 at 10:07 am
    Philip wrote:

    Spoke too soon. It’s working absolutely fine on my live site, except that it doesn’t seem to want to exclude the parent categories I tell it to exclude. Not a big deal. Is it just something buggy on my site, or is it a bug in v0.5.8?
    Thanks
    Philip

  20. On June 23rd, 2008 at 10:15 pm
    robfelty wrote:

    @Philip,

    Thanks for the suggestions.

    As far as order goes, there is a field in the database called “term order”, which does not seem to be used yet. As soon as wordpress actually starts using this, my plugin should be able to take advantage of it, but until then, I don’t feel like I can do much.

    What do you have in mind as far as subheadings or spacers? Could you provide an example?

    As far as category exclusion, are you inputting the names of the categories, or the numbers? The default wordpress function uses category number, which seems very cumbersome to me, so I use category name. I actually convert it to a slug, so if you have a category called “foo Bar”, I convert it to “foo-bar”, meaning that any of “foo bar”, “Foo Bar”, “Foo-BaR”, etc. should work.

  21. On June 24th, 2008 at 2:38 am
    Philip wrote:

    Re subheadings, I guess it’s a way of organising my categories without changing the permalink structure. So, I’ve got long established categories such as “film” “book reviews” “Art reviews” which I’d like to group together in the sidebar under a heading such as “Culture Zone”; categories such as “style” and “travel” which I’d like to group together under a heading such as “Living”. It’s like pulling together the different segments of a newspaper into pull-out sections I guess. When I started with my obvious categories, I didn’t realise that some day I’d want to group them, and now I don’t want to play with them too much in the database – I’m looking for a “topside” way of achieving it. Hence also the request for customisable order – because sorting alphabetically or by slug or by ID won’t do it for me. I would need a “user-sort-id” field so that (eg) “film”, “book reviews” and “art reviews” are IDs 1,2,3.

    But maybe a quick way round would be to have the ability to have several collapsing category widgets in the same sidebar. Widget 1 I could call “culture zone” and only include the categories I wanted in that group; Widget 2 I could call “Living” and only include “style” and “travel”, and so on. Within each widget the category order wouldn’t matter too much. All that’s probably easier to achieve than the way I expressed it the first time round.

    Category exclusion – I was using IDs. I’ve now tried slugs, and it’s working fine. Thanks very much

    Philip

  22. On July 20th, 2008 at 9:52 pm
    Jeff wrote:

    I use your collapsing categories at a site that I’m putting together for a Master’s project and it works great!!! I’m really new to the whole WordPress thing and I’ve run into one issue. When I activated your plugin, I was hoping it would replace the existing categories section included with the theme I’m using. Instead, I have the category section, then blogroll, and then the collapsing categories. Is there any way I can get rid of the category section that came with the theme and replace it with the collapsing version? The site is at http://www.tech4teachers.info. Any help would be greatly appreciated.

  23. On July 21st, 2008 at 4:10 am
    YuBe wrote:

    Plz add one more sort order “ORDER BY $wpdb->terms.term_order” for compatibility with my-category-order plugin.

  24. On July 23rd, 2008 at 1:00 am
    Michael wrote:

    I just installed the latest version of your hack on my website and cannot get the post links to show up. Javascript is enabled. If you have any ideas, give me a message.

  25. On July 25th, 2008 at 2:42 pm
    Jeff wrote:

    I’m using the collapsing categories plugin at my site and it works great. The problem that I’m having is that now I have a regular categories section (non-collapsing) and a collapsing category section. I only want the collapsing category section. Do you know how this can be done? To see what I mean, please check out http://www.tech4teachers.info. Thanks

  26. On July 30th, 2008 at 3:16 pm
    Ami wrote:

    hi there! i just wanted to say that this is a fantastic plug-in, i’ve tried quite a few different ones and this one is by far the most successful and the prettiest and most user-friendly.

    i just have two simple questions (i think they’re simple!) and i’m hoping you can help. i have show post count activated. on the top level categories there is no space between the category name and the post count it shows:

    uncategorized(1)

    rather than what i would like:

    uncategorized (1)

    on the child categories the spacing is perfect. could anyone point me to which file and where exactly in the CSS i would add that space (i’m pretty much a beginner but i can read the code).

    secondly, is there a way to not have categories with 0 posts show up?

    thank you SO much!!!!

  27. On August 1st, 2008 at 9:36 am
    Ami @ Elizabeth Anne Designs wrote:

    fantastic plug in – definitely the best one i have found to fulfill this purpose! thank you.

    i just have one question. there is no space between the category and post count at the top level of the category heirarchy (all other levels have the space). can you point me to what file and where in the css code i would add in that space? thank you!

  28. On August 2nd, 2008 at 8:03 am
    Leo wrote:

    Hey,
    Just wanted to say what an awesome plugin. It seems to fit in quite nicely with the dbx boxes I have on my site.
    Just a quick question… Do you have any plans to make a collapsing links plugin?
    I have found another plugin which does this called enhanced links but prefer the style of your plugins and as such would like to keep all collapsing widgets looking and working the same. I would really love it if there was one plugin which took care of all widgets (i.e. links, pages, categories and archives) Is this possible?

  29. On August 7th, 2008 at 10:14 am
    robfelty wrote:

    Sorry for the lack of responses lately. I have been busy with other projects, including an update to the postie wordpress plugin. I have fixed a few bugs and made some more options in 0.5.9

    @Ami – I fixed this display bug. Thanks for poiting it out

    @Leo – I will think about doing that. That is how the collapsing pages plugin got started. I can start an empire of collapsing plugins!! (Hopefully that won’t mean my empire will collapse)

    @Yube – I added an option to sort by term_order.

    Thanks for your feedback everyone, and I hope you enjoy the plugin.

  30. On August 15th, 2008 at 1:05 pm
    SharkGirl wrote:

    Ditto what Leo wrote about collapsing links plugin. I want mine to look the same as the categories and archives. I haven’t added one yet for pages, but plan to. I would also like to replace the default link topic with an image instead. One image for each category. Image size should be able to vary and not be a fixed size.

    I would also like a special plug-in that is database-driven like Mister Linky, but can be hosted on my own server.

    Example of how it would work: Basically, if I start a post about a specific type of poem, and I want others to join in on the project, they would scroll to the bottom of my post and enter their link to their post for that particular project. My post then becomes the “host” for others to add their links to. Now we have a auto-link blogroll on the post for all the poets to follow.

    Then, I want to create a post for say…a photography theme, such as critters. Again, I can place the autolink widget in my post html code, give it a title theme so the database will know this is a different project from the poem one. It will keep a separate list of blogroll for this project.

    Unlimited projects, but the ability to close out a project so new people to the post will see that the project is closed an no more links can be added.

    If others have the same need, perhaps we can make a collection of development funding if you’ll make the plugin.

  31. On August 16th, 2008 at 4:59 pm
    Hans wrote:

    Hi,
    I downloaded Collapsing Cats ffrom the WP repository 2 days ago to try it out on a WP 2.6.0 de (German). I found it rather useful but I’m not sure if there’s bug or an installation failure:

    On the dashboard under ‘Einstellungen’ (settings) I find a sub-point ‘collapsing categories’. Clicking on this results in a blank screen below the tabs with the question ‘Bist du sicher, dass du das tun möchtest?’ (are you sure you want to do this?’) and nothing else: no option to react. No button osre anything else.

    My question: Is this intentionally or is there a bug in the installation for instance?

    TIA for your response!
    Hans.

  32. On August 20th, 2008 at 1:40 pm
    Jon wrote:

    Rob,

    To echo others this plugin is awesome. I do have a couple of feature requests. I’m setting up a site that is using WordPress as a CMS and as such has a number of page templates. Each page template will have it’s own sidebar and so I would like to be able to have multiple instances of this widget. This then leads to the next request which is to have an option to title the widget instance so instead of Categories I could have My Text show for the heading. Thanks and keep up the good work.

  33. On August 26th, 2008 at 9:37 am
    robfelty wrote:

    @Sharkgirl – I just released the Collapsing Links plugin yesterday. It does not have support for Mr. Linky like behavior yet. I will have to look into that. It does allow multiple instances of the widget though.

    @Jon – You should already be able to set the title of the widget in the widget options. A version allowing multiple instances should be coming out soon.

    Thanks for your feedback.

    Rob

  34. On August 27th, 2008 at 8:49 am
    Star wrote:

    I have the same issue as Hans. Initially, I was able to set the options. Now, I just get the blank page with the question, “Are you sure you want to do this?”

  35. On August 28th, 2008 at 7:27 am
    Scott wrote:

    I have been using the plugin for quite a while with no problem – until I upgraded this morning. For me, it doesnt work at all, its activated, the widget is listed in the theme, but no matter what I do, it wont display. I’m using wp 2.3.3. My ISP (startlogic) decides when I upgrade, so I’m stuck with 2.3.3 for now. Hopefully I saved an older version somewhere.

  36. On August 28th, 2008 at 7:43 am
    Scott wrote:

    Update – I went to the WP site and installed older version 0.5.10. Works perfectly again

  37. On August 28th, 2008 at 8:24 am
    Matt wrote:

    I have the same prob as Hans after upgrading (luckily only one blog): Accessing settings results in a blank white screen below the tabs with the link “Are you sure you want to do this?” and nothing else: no option to react. No button or anything else.

    No problems with the functionality, just cannot get any options/settings to show (e.g. not change markers).

    As atm everything works fine I of cause did not hit the “AYSYWTDT” link and will wait to the next version that allows accessing settings again (or downgrade).

    Kind regards,

    Matt

  38. On August 28th, 2008 at 12:54 pm
    philip wrote:

    I’ve been a happy user of this for a number of months now. Great plugin. And I’ve been merrily clicking my automatic upgrade button on my plugins page on my live site without problems. But on reading the above two comments I decided to proceed more cautiously this time (particularly as I can’t get your new collapsing links plugin to work.) I upgraded on my test site (http://test.londonkoreanlinks.net/) and sure enough it stopped working:
    (1) The widget unilaterally removed itself from the sidebar
    (2) When I put it back in the sidebar in the widgets page, when I click on “edit” to configure it, it immediately removes itself again.
    I’ll move back to 0.5.10 as that works just perfectly. Fyi, I’m on WP 2.6 (not 2.6.1).
    Thanks for all your efforts
    Philip

  39. On August 28th, 2008 at 1:25 pm
    robfelty wrote:

    @Scott and @Philip – Thanks for the feedback. I have confirmed that this updated only works on 2.6+. I have gotten it to work fine on fresh installs of 2.6 and 2.6.1. So it should be working for you Philip. My suggestion is to disable the plugin, then re-enable it, and see if that does the trick.

    0.6 is a major update. I thought about calling it 0.6alpha, because I was a bit worried there might be some big bugs. But I didn’t.

    Thanks to both of you for your courage in trying out new things!

    @Scott – I’m sorry you can’t upgrade wordpress yourself. You are definitely missing out on some nice features. I don’t know what your hosting contract is like, but I like Dreamhost.

    Rob

  40. On August 28th, 2008 at 3:22 pm
    Andy wrote:

    Ouch, the new version has some serious issues. I can’t use the plugin with the “tabbed widget” plugin. I guess because of the “not working as non-widget” stuff. It works as soon as I put the categories into an additional widget… Would be fine if you could fix this..

  41. On August 28th, 2008 at 4:46 pm
    Philip wrote:

    Thanks for getting back to me Rob. Deactivating then reactivating got it working.

    One minor bug seems to be affecting me: no matter how hard I try to tell it not to show the post count, every time I click “save changes” that box magically checks itself again!

    I like the option of clicking on the parent category either expanding the list or going to the category archive. Good thought.

    Cheers
    Philip

  42. On August 28th, 2008 at 5:04 pm
    robfelty wrote:

    @Andy,

    I had not heard of tabbed widgets. I tried installing that on a fresh 2.6.1, and I could not get the tabbed-widgets to work with any other widgets. I had no problems using the tabbed widgets using WP 2.6 with version 0.6 of collapsing categories. I will give you the same advice as Philip. Try deactivating and re-activating the plugin. Don’t ask me why this works, but it often does.

    @Philip,

    Glad to hear it is working for you. And thanks for pointing out that bug. I fixed it in the development version. I will wait a few more days to release 0.6.1

    Rob

  43. On August 29th, 2008 at 3:29 pm
    philip wrote:

    Here’s another interesting quirk: for some reason there seems to be a change in how the css works in v0.6.0. Suddenly the styling looks suspiciously like the styling on *your* site, Rob, rather than being “inherited” from the styling on mine.
    Here it is, at the bottom of the left sidebar:
    http://test.londonkoreanlinks.net/
    Philip

  44. On August 29th, 2008 at 7:07 pm
    robfelty wrote:

    @Philip,

    I looked at your test site, and it looked like you had 0.5.10 installed, so I couldn’t see what you were talking about. I did not change the css, but I did change the html. If you use the option to have category names activate the expanding, then you will see the whole thing in a fixed-width font. I did this because otherwise the +/- signs are slightly different width in most fonts, and I found it to be annoying. If you don’t like it, you can remove that line from the CSS file.

    Rob

  45. On August 29th, 2008 at 7:29 pm
    Matt wrote:

    Rob,

    I read your email response to Philips post (which doesnt appear here), he is talking “FONT”, not +/- signs.

    Up to now the font used was inherited by the used theme, now (in his case, and I have heard someone else reporting the same to me in private) its your (This one here!) pages font and size.

    Check his page aagain and you will see the cats look familiar… ;-)

    Kind regards,

    matt

  46. On August 29th, 2008 at 7:34 pm
    Philip wrote:

    Hmmm. Well, according to my plugins page it’s 0.6 ^^.

    And yes, I see what you mead. When “Clicking on category name” is set to “Links to category archive” everything looks fine. When it’s set to “Expands to show sub-categories and / or posts” the styling changes to a completely different font. And, in the latter case, you have to have “Expanding shows” set to “Subcategories and posts”, otherwise clicking on the sidebar will never take you to any content.

    But actually, my preference is to have “Clicking on category name” set to “Links to category archive”, so I’ll be alright I think.

    Best wishes
    Philip

  47. On August 29th, 2008 at 10:12 pm
    robfelty wrote:

    @Matt and Philip – Here is the deal:
    Here is the default code:

    <span class='collapsing show'  onclick='expandCat(event)'>[+] </span> <a href='#'>a collapsed category</a>
    <span class='collapsing hide'  onclick='expandCat(event)'>[-] </span> <a href='#'>an expanded category</a>

    which is rendered as:
    [+] a collapsed category
    [-] an expanded category
    Clicking on the span (+/-) triggers some javascript

    On the other hand, if you choose the option to have the category name trigger the javascript, then I write the following code

    <span class='collapsing show' onclick='expandCat(event)'>[+] a collapsed category</span>
    <span class='collapsing hide' onclick='expandCat(event)'>[-] an expanded category</span>

    In the former case, the css styling applies just to the +/- signs, not to the category name. In the latter, it applies to both. The reason I chose the fixed width font in the former case is because otherwise the + and – signs have slightly different widths, which means that the category label jumps around a bit, which I don’t like.

    If either of you have a better suggestion, I am all ears. I am not very satisfied with the current state of affairs either.

    And by the way, if you don’t like the default style of my blog, you can actually change it via the options in the top of the sidebar.

  48. On August 30th, 2008 at 1:42 am
    Matt wrote:

    I see.

    I suspect you have a reason (probably CSS formatting) for using characters to advise that the category is expanddable, but personally I dont like the approach too much, as they appear differently in different browsers (though I dont feel its a show stopper at all).

    In my case (I use the triangles), e.g. in Firefox the unexpanded triangle appears just 4 pixel high, whereas when looking at my page in IE it appears to be about 10 px high.

    Maybe thinking about substituting (optionally?) characters for imgages could standardize the appearance?

    Just thinking aloud, I can live with how it is currently.

    Matt

  49. On August 30th, 2008 at 4:52 pm
    Star wrote:

    Scott–I’m using 2.6.1 on startlogic. Contact me for details–http://starferdinand.com/WordPress/contact-form/.

    Rob–Do you have a solution to the “Are you sure you want to do this” issue reported by Hans, Matt, and me?

    Also, how do the pages sort? I assumed they would be in chronological order by publication date, like the posts, but that’s not how they’re showing up. I can’t tell how they’re sorted.

  50. On August 30th, 2008 at 5:01 pm
    Star wrote:

    Scott–I’m using 2.6.1 on startlogic. Contact me for details. http://starferdinand.com/WordPress/contact-form/

    Rob–Do you have a solution for the “Are you sure you want to do this” issue reported by Hans, Matt, and me?

    Also, how do the pages sort? I assumed they would sort in chronological order by publication date, like the posts, but that’s not the case. I can’t tell how they’re sorted. http://starferdinand.com/WordPress. Expand Roy Osborne/Acts. The pages are Acts; Acts, part 1; Acts, part 2, etc. If they sort by pub date, they should be in numerical order, which they are not. So, how can I control their order?

  51. On September 2nd, 2008 at 2:23 pm
    robfelty wrote:

    @Star – I have been unable to reproduce that error, so I don’t know how to fix it. However, you can set the options from the widget page. Starting with version 0.6 and up, this will be the only way to set options. There are options for sorting categories and posts.

    Rob
    p.s. there are a couple bugs in 0.6. 0.6.1 will be released soon. If you want to preview it, check out the development version.

  52. On September 5th, 2008 at 8:48 am
    Hans wrote:

    @star: I use my-page-order and ‘my-category-order’ from the same author, and the settings made there, are accepted or can be selected in ‘collapsing categories’.

    The page order or category order widgets need not even be used in the sidebar; their settings are found under “Manage” on the dashboard.
    Hans

  53. On September 9th, 2008 at 4:58 pm
    Andy wrote:

    Hi Rob!
    Me again, I have no chance to make your new version work in “tabbed widgets” though the old version worked. AND I can make it work within “tabbed widgets” if I have an ADDITIONAL copy of the widget outside of tabbed widgets. So there must be some option-saving problem? I’ve tried to de-activate and everything, nothing helped. By the way: the images +/- are great but actually the [-] didn’t work, it just stays on [+]…

  54. On September 9th, 2008 at 6:25 pm
    robfelty wrote:

    @Andy – I wish I could fix this for you, but I can’t figure it out. It seems to be a pretty complicated interaction. I am using WP 2.6.2 on this blog, with collapsing-categories 0.6.1, and I just added tabbed-widgets 0.73, and as you can see, it works. I have a few test blogs as well:

    http://robfelty.com/test26/
    uses WP 2.6, and tabbed widgets work there
    http://robfelty.com/test261
    uses WP 2.6.1 and tabbed widgets work
    http://robfelty.com/test
    uses WP 2.6.2, and tabbed widgets don’t work, no matter what widgets I put in them.

    I would be happy to help you get it working, but I will need some more info. What version of WP are you using? And does it have something to do with your theme?

    I will look into the [-] image issue. Thanks for pointing that out.

  55. On September 11th, 2008 at 10:06 pm
    robfelty wrote:

    @Andy – I fixed the image issue in 0.6.2. I also investigated the tabbed widgets a bit more. Now I finally understand what you are saying. However, I believe this is actually an issue with the tabbed widgets plugin. For example, if you try to add a basic text widget, the same problem occurs. Basically, the problem occurs for any widget that allows multiple instances of it. Several people asked for this functionality, and it required a major rewrite of the code.

    Interestingly enough, if you add a text widget both inside and outside of a tabbed widget, then it will show up in the tabbed-widget. The same goes for collapsing categories. This makes me think it should be possible to get it to work, but I think that it is the tabbed widgets plugin which should support widgets that support multiple instances. I used the recommended template directly from the widgets.php file to create the 0.6 series of collapsing categories.

    Rob

  56. On September 11th, 2008 at 11:53 pm
    Ray wrote:

    Rob,

    How can I eliminate the line spacing between categories?

    thanks,
    Ray

  57. On September 12th, 2008 at 1:33 am
    Gus wrote:

    Great plugin! I love that you can sort posts by the number of comments. But is there a way to also show the # of comments next to each post?

  58. On September 12th, 2008 at 12:28 pm
    Rick wrote:

    Hey, Rob …

    I haven’t been able to use collapsing categories since upgrading to 2.6.1. I just downloaded and installed 0.6.2 and it didn’t help. It is activated, but doesn’t show up on my sidebar. It worked fine for months before the upgrade.

    Thanks for any advice. I love your plugins.

  59. On September 12th, 2008 at 5:35 pm
    robfelty wrote:

    @Ray – Add a line to the collapscat.css file in the .sym class, like so:

    .sym {font-family:monospace;
          font-size:1.5em;
          line-height:1.5em;
          padding-right:5px;}
  60. On September 12th, 2008 at 5:40 pm
    robfelty wrote:

    @Rick – try disabling then re-enabling the plugin.

  61. On September 15th, 2008 at 5:18 am
    Yick wrote:

    There seems to have a bug in the include/exclude option, i try to exclude with catid, catslug and catname. none seen to work. it is the same for expand option. Can you pls kindly show me the exact syntax to exclude, expand certain cat. I know it should work because it work on your example of the left.

    Help much appreciated.

  62. On September 15th, 2008 at 9:43 am
    robfelty wrote:

    Yick,

    All you have to do is enter a list of category names separated by commas. For example, if you want to exclude foo, bar, and cat with spaces enter:

    foo, bar, cat with spaces

    Rob

  63. On September 15th, 2008 at 9:00 pm
    Yick wrote:

    Thanx for your quick response! I know why it doesn’t work already.

    I do more test, I successfully expand the categories with catslug. (with catname with space in them) When I do catslug or catname on exclude, it doesn’t work if the catname has space.

    For example,
    Catname:Health, catalug:health, it successfully excludes
    Catname:Article and Tips, catalug:articlestips, it does not exclude

    I believe it is a bug. Please check it out.

  64. On September 17th, 2008 at 5:52 pm
    Andy wrote:

    Hmmm, there is still this big problem with “Tabbed Widgets”-plugin. Everything works fine as long as there is an additional widget of collapsing categories running, but the implementation doesn’t work if I only implement your plugin in the collapsed widget. Everything worked fine with 0.5.2

  65. On September 17th, 2008 at 6:18 pm
    Gus wrote:

    Hi Rob,

    Is there a way to display the # of comments next to each post?

  66. On September 17th, 2008 at 6:49 pm
    Rob wrote:

    @Andy – You are correct. However, what I am saying is that this problem is not just with collapsing categories, but also with the default text widget that ships with wordpress, and any other widget that follows that template. I could not get the text widgets to work at least. I would suggest asking the tabbed widget author about it.

    @Gus – not yet. I will implement this soon.

  67. On September 18th, 2008 at 6:36 am
    Andy wrote:

    Strange. the normal text widget works without problems in my config.. Anyhow, another question: do you know the very cool plugin “widget cache”? It implements additional options to the widgets to create a cache. These options don’t show up in your two widget but in all other. Maybe you could take a look. Thanks!

  68. On September 20th, 2008 at 5:52 am
    Andy wrote:

    Hi again, Rob! Everything works fine now… thanks a lot for the effort. One question though.. are you gonna update the collapsing archives plugin that it uses the same images as + – ?

  69. On September 20th, 2008 at 10:40 am
    robfelty wrote:

    Andy,

    Glad to hear that things are working fine. I am a bit curious what changed, since I haven’t changed anything in about a week.

    I am working on an update to the collapsing archives plugin, and it will have the new features of collapsing categories, including the images option.

  70. On September 24th, 2008 at 9:27 am
    Ruben wrote:

    Hi, I really LOVE this categorie widget. Only thing I don’t really like is the ‘waste of space’, but I’m not sure if this is because of your widget or just my site stylesheet. I mean, it now displays like this:

    +/-
    Categorie name
    (posts)

    …and I rather just have…

    +/- Categorie name (posts)

    Any idea on how to change this? Could not find any line-returns in the code.

  71. On September 24th, 2008 at 9:50 am
    robfelty wrote:

    @Ruben,

    Without a link to your site, I can’t provide that much help. My suggestion is to make sure you have the latest version 0.6.2.

    Rob

  72. On September 24th, 2008 at 9:55 am
    Ruben wrote:

    Never mind my previous question. Just tried another theme and it looks fine. So I’ll just have to dive into the theme’s CSS I think. Thanks again for this great widget!

  73. On September 30th, 2008 at 4:53 am
    Jeff wrote:

    Hi,

    I just activated the plug in and found it on the widgets list, but I tried many times to add the Collapsing Categories widget still unsuccessful. When I press ‘Add’ then ‘Update’, the widget remove itself!

    I go to check my css and seem it’s ok
    http://mysite/wp-content/plugins/collapsing-categories/collapsCat.css

    Any suggestion for me, thank you

    Jeff

  74. On September 30th, 2008 at 8:34 am
    Rob wrote:

    @Jeff – what version of wordpress are you using? The plugin (version 0.6+) requires at least 2.6

  75. On September 30th, 2008 at 11:40 am
    Jeff wrote:

    Hi Rob, I’m using wordpress 2.5, will update to 2.6 and try again. Thank you

  76. On October 4th, 2008 at 10:09 am
    Philip wrote:

    Hi Rob
    The latest version of the plugin (0.6.3) seems to make the display of the RSS logo compulsory. Even though I select the “none” option, that radio button de-selects itself as soon as I press “Change”. And the default behaviour when no options are selected seems to be to display a whole load of orange logos down my sidebar.
    http://test.londonkoreanlinks.net/

  77. On October 4th, 2008 at 7:02 pm
    Robert Felty wrote:

    @Philip – thanks for noticing that. I fixed it. Please re-download 0.6.3

    Rob

  78. On October 5th, 2008 at 12:08 pm
    William wrote:

    Nice widget. I like the collapsible idea..in that it helps some sites keep annoyingly long lists shorter. In which I need to ask…. Can I use this widget for collapsing my “blogroll” categories and links? I’m not exactly knowledgeable in code. BTW can’t the little arrow ( i seen a comment based on ) be resized in css? I have some sites Rss/Atom feeds that I respect and would like collapsed and a blogroll that might get somewhat longish… It seemed as though it would of been a given by WP that it would be there with a tickable box. Thanks

  79. On October 9th, 2008 at 1:21 pm
    Chris wrote:

    First of all thanks to your very good plugin.
    Just one minor thing I wanted to improve:
    I prefer that the choosen category stays open when clicked, so I added
    the lines below at collapscatlist.php at line ~288.
    You can see how it works at http://www.physik-versuche.de .
    If you like it, you can add it to your code.

    Would be nice if you answer to this mail, just that I know you got it and no spam filter ate it.

    Thanks for your work. – Please delete this comment.

    if ($defaultExpand!=”) {
    $autoExpand = preg_split(‘/,\s*/’,$defaultExpand);
    } else {
    $autoExpand = array();
    }
    //New content
    if (is_category()==true) {
    //collapse current category
    $cat = get_the_category(); $cat = $cat[0];
    array_push($autoExpand, $cat->cat_name);
    $parentkategorien=explode(“]|[", (get_category_parents($cat, false,']|[‘,false)));
    $autoExpand=array_merge($parentkategorien,$autoExpand);
    }
    //End of new content

    echo “\n \n”;

  80. On October 15th, 2008 at 11:29 am
    Twincascos wrote:

    Hello Rob,
    I’ve just made a deviation of your plugin, I take it that you will be ok with that.
    I’ve made it work with Mootools instead of jquery. I’ve also switched it from an unordered list to a data list. I do give you credit for the code, and I have removed various options which yours has, have a look and let me know if you have any problems with my usage. Thanx for your time. http://wp-superslider.com/superslider-menu

  81. On October 24th, 2008 at 8:39 pm
    sonyanews wrote:

    Hi there. I really like this plug-in, but I’m curious if you have a version for wordpress MU. Thanks for any help offered.

  82. On October 29th, 2008 at 3:30 pm
    Chris Berry wrote:

    I just installed 0.6.3 and I love it. I do have one small problem that I hope you can solve. I can’t get the rss icon to go away. I can switch between the text and the icon, but when I choose none I still get the icon. I’m on WP 2.6.

  83. On October 29th, 2008 at 7:07 pm
    robfelty wrote:

    @Sonyanews – I know nothing about MU (except that it exists). Any advice on what a MU version would be like?

    @Chris – hmmm, I thought that I fixed this bug, and I just tried downloading the plugin again, and the fix seems to be there. Try downloading it again. If that doesn’t work, try uninstalling and re-installing the plugin. And if that doesn’t work, I can try to help you figure it out. I like your blog layout by the way.

    Rob

  84. On November 9th, 2008 at 2:36 am
    Oracle wrote:

    Thanks for the great plugin. However I found that when I have plugin manager plugin or with Minimeta plugin installed, installing collapsing cat plugin would yield to error 500 to the plugin page. I have to delete the collapsing cat plugin in order to fix the problem. Am I the only one here?

    Thanks again for your hard work.

  85. On November 10th, 2008 at 12:08 pm
    robfelty wrote:

    @sonyanews – I finally got around to playing around with wordpress mu. I set up a test site at http://robfelty.com/testmu, and both the collapsing archives and collapsing categories plugins seem to work just fine out of the box. They display the categories and archives only for each blog. Were you looking for something that would show the archives and categories for all the blogs combined?

  86. On November 11th, 2008 at 2:27 pm
    rob wrote:

    Hi, I like your plugin, but recently when i upgraded from 2.6.2 to 2.6.3 of Wordpress MU, I lost the options screen where I can configure things. I’m looking to exclude certain categories from appearing, but can’t find the main options screen.

    Can you help me out?

  87. On November 11th, 2008 at 9:11 pm
    Robert Felty wrote:

    @rob – what version of collapsing categories are you using? If you are using version 0.6+ then you can only access the options through the widgets page. Soon I will be bringing back the normal options page as well. I only recently figured out how to add both multiple instances of the widgets, and a non-widget version.

    Rob

  88. On November 11th, 2008 at 11:26 pm
    rob wrote:

    @robfelty I’m using version 0.6.4 of Collapsing Categories and can only change the following in Design > Widgets:

    Title
    [] Show as dropdown
    [] Show post counts
    [] Show hierarchy

    What I need to do right away is exclude a category from the dropdown I’m using. Is there a way I can do that in the database manually?

  89. On November 12th, 2008 at 10:13 am
    robfelty wrote:

    @rob

    Those are the options for the standard categories widget. You need to add the “collapsing categories” widget. The plugin does not replace the categories widget, but rather adds the option for an additional widget.

    You don’t want to exclude stuff in the database directly. You want to exclude it in your sql query, which is what my plugin does.

    Rob

  90. On November 12th, 2008 at 12:51 pm
    rob wrote:

    *smacks forehead* D’oh! That’s why I was confused. Thanks.

  91. On November 14th, 2008 at 6:16 pm
    rob wrote:

    Sorry, but I’m still having problems even after using the Collapsing Categories widget. When I type a valid cat_ID, cat_name, or category_nicename (slug) into the Exclude text box, and then click “Change” and “Save” in Widgets, the page still shows the category name I excluded.

    So, for example, I typed (in three separate attempts:

    388
    People Spotlight
    people-spotlight

    and the category still appeared in the list. What am I not doing right?

    Thanks.

  92. On November 17th, 2008 at 12:49 pm
    amenity wrote:

    Okay, I really shouldn’t jinx it…But I’ve just installed this plug in and think its brilliant. Just one problem: where can I donate?
    Thanks for your work.

  93. On November 17th, 2008 at 1:27 pm
    robfelty wrote:

    @Rob – Do you have any sort of caching on your site? That could be the problem. Excluding works by category name (or category slug). It works fine for me on this blog (I just tested it).

    @Amenity – Whoops, I guess I forgot to include a donate link in this page (I have one for collapsing archives). I just added it. Thanks

  94. On November 17th, 2008 at 1:29 pm
    rob wrote:

    I haven’t done any custom caching on our site. Just what comes with Wordpress MU. Which settings should I check with Wordpress MU?

  95. On November 18th, 2008 at 7:17 pm
    Martin wrote:

    Hello Rob,

    this plug-in is exactly what I need :)

    I have one question. If I click on some subcategory I can see posts what I want – its perfect but after I click on this subcategory the whole categories closes. Is there any choice and the categories would stay collapsed(Opened) on my last click? Thanks

  96. On November 18th, 2008 at 8:15 pm
    Robert Felty wrote:

    @Martin,

    That feature has been requested several times, and I do plan to implement it in the future, but it might be a while. Stay tuned for updates.

    Rob

  97. On November 18th, 2008 at 11:53 pm
    Robert Felty wrote:

    @Martin,

    Actually, I just implemented it. (It is not an option, it just does it.) I currently have it in the development version. Please try it out and see what you think.

    Rob

  98. On November 19th, 2008 at 5:19 am
    Martin wrote:

    Hi Rob,

    Thanks for yor fast reacion. Where can I download your development version with this functionality? Thanks. Martin

  99. On November 19th, 2008 at 6:18 am
    Martin wrote:

    Rob,

    finally I have found your development version. I deleted old directory collapsing-categories and uploaded the new one (development version). Then I tried to load my pages but it freezes my explorer. After I did recopy the old version it worked. I think the problem is in collapscat.php because then I tried to replace everything in steps by routines and after copy every routine I tried my pages. After copy of collapscat.php the pages freezes.

  100. On November 19th, 2008 at 11:59 am
    robfelty wrote:

    @Martin,

    As is to be expected, Internet Explorer (IE) always does things differently. It was quite trivial to get things working for Firefox, but there was a lot of guesswork to get it to work for IE. I have tested it with IE 6.0 now, and that seems to work. Please try downloading the development version again, and see if that works for you. Please also let me know what version of IE you are using.

    Ro

  101. On November 21st, 2008 at 10:55 am
    David wrote:

    Hi… I really like the plugin, but the display on my sidebar is weird. I have the same problem as Ruben in that there are line breaks between the “bullets” and the items:
    +
    Category
    >
    Post

    Ruben was content to switch themes, but I’m not. Can you take a peek at MemorizeShakespeare.com and see if you can identify why this happens? Thanks.

  102. On November 21st, 2008 at 12:29 pm
    robfelty wrote:

    @David,

    Check out version 0.6.6. The problem is that you set

    li a {display: block}

    in your style.css file. This automatically starts a new line. I added a float:left to the symbol, which takes care of this in most cases.

    Rob

  103. On November 23rd, 2008 at 9:09 am
    Philip Garrow wrote:

    Hi Rob Felty:

    About two months ago I sent you a letter requesting that you make specific improvements in your plug-in Collapsing-Categories that I would need for the development of my site http://AspergerSyndromeEmployment.com. At that time I offered to contribute to you for this service. When I didn’t hear back from you I brought the project to another web developer to modify as I needed for my site. To date I have paid over $1000.00 for the work to be done to this plug-in. You can go to my site to review the results of his work.

    The development work done was roughly divided into two parts:

    The Javascript work needed to keep the menu open when a new page was visited cost roughly $500.00. I was sad when I just went back to visit your site and see that you have duplicated this work.

    The CSS work needed to display different fonts at different menu depths, at roughly another $500.00 from another developer.

    As I see that you are actively involved in the continuing upgrade of this plug-in I have a dilemma; is it the right thing to do, to contribute my $1000.00 of custom code back to you, when you didn’t even email me back?

    Given this choice I would like to send you my code. I have several motivations for this:

    It may be that the Javascript that I had done professionally may improve your code base, and the addition of the refined fonts in my menu may be something that you are working on, or have on your to-do list, (altruistic).

    If I don’t contribute’ my code back to yours I can never take advantage of any upgrade you make to the plug-in, without paying for additional custom coding to my menu, (practical).

    I would hope that you could in some way credit me in your documentation for the code of mine that you use, and make a mention of my web site so that people who can benefit from my project to benefit Autism could be made aware of it, (charitable).

    Finally, the code that I have paid for still needs some work. The menu displays correctly in Firefox and Safari for both Windows and Ubuntu. There is a small glitch in the animation in IE7. And the CSS still needs work in IE6. I hope that if I contribute my code back to you, you could fix these problems and save me the additional development costs, (cheap)! :-)

    I look forward to hearing from you. Regards, Phil

  104. On November 23rd, 2008 at 11:37 am
    Philip wrote:

    Hi Rob

    Thanks for your continued work on this great plugin.

    I don’t like the little tweak you made in 0.6.6, though. My sidebars are all text-aligned right, so floating the symbol left looks really odd. Take a look here: http://test.londonkoreanlinks.net/

    0.6.4 worked just fine: http://londonkoreanlinks.net/

    Keep up the good work

    Cheers
    Philip

  105. On November 24th, 2008 at 6:58 pm
    robfelty wrote:

    @Philip Garrow –
    I apologize for not responding to your letter. I am not very good about keeping my paper life organized, yet I seem to do pretty well with my digital life. I also feel bad that I missed out an opportunity to make some money, and I feel bad that you paid so much for so little. If you would like me to help you with styling, I would be happy to do so at a price (much less than what this other hack was charging you). Since this styling would be custom for your site, the appropriate place to put it would be in your theme, not in the plugin.

    As far as sharing back the code, that would depend somewhat on the arrangement you have made with that developer. If you own the code, and wish to share it, I would be happy to see it.

    @Philip (of London Korean Links) -
    You’re absolutely right. I have gotten rid of that change in 0.7 (and I added some other new cool features).

  106. On November 25th, 2008 at 12:20 am
    minorio wrote:

    Serious Error!

    Warning: collapscat::include_once(collapscatUI.php) [function.collapscat-include-once]: failed to open stream: No such file or directory in /wp-content/plugins/collapsing-categories/collapscat.php on line 57

    The collapscatUI.php is not included in the Zip package downloadable as collapsing-categories.0.7.zip.

  107. On November 25th, 2008 at 1:05 pm
    Rob wrote:

    @Minorio,

    Thanks for alerting me to this. I forgot to add that file to the repository after testing it out. I just added it. Please try re-downloading the zip file.

    I apologize for the mistake.

    Rob

  108. On November 25th, 2008 at 2:49 pm
    Rattler wrote:

    Hi, Rob!

    Just tried to upgrade to 0.7 and was hit by a bunch of problems, both on my test site todos-contra-matias.net as well as at my private ohlmer.es (WP 2.6.3):

    - It started with uploading, I had to use file-by-file upload as for some reason it wouldnt do all the folder at once (Transmit on a Mac, and I upöloaded 6 more polugins at the same time w/o probs)

    - Once uploaded, when going to administer plugins I got the message “Error: Collapsing Categories got deactivated because the plugin collapsing categories doesnt exist”

    - I re-activated, and all seemed normal, until I found out it didnt appear in the sidebar: Adding it would accept it, but saving changes it would be out of the sidebar widget list again.

    - Also could not change any settings while I had it in the list.

    Now on TCM back to 0.6.3, my private on normal cats.

    Am I doing anything wrong?

    Thanks,

    Rattler

  109. On November 25th, 2008 at 4:03 pm
    Matt Algren wrote:

    I’m having the same type of problem as minorio, both on the Options page and the widget editing box thingie. It seems to be having trouble finding the files ‘processOptions.php’ and ‘options.txt’ from ‘collapscatUI.php’ (lines 53 and 63) AND from ‘collapscatwidget.php’(lines 99 and 104).

  110. On November 25th, 2008 at 7:47 pm
    Rob wrote:

    @Rattler and Matt,

    Jeez. I feel like an idiot today. I have added the files to the repository. Please try downloading once more. Thanks for letting me know.

    Rob

  111. On November 25th, 2008 at 9:49 pm
    David Chua wrote:

    Hi Rob,

    I’m having problems with IE not animating when clicking on the expansion. Please take a look at my site http://www.d3dphotography.com/blog

    Thanks

  112. On November 25th, 2008 at 10:09 pm
    minorio wrote:

    One more file missing.

    Thanks Rob, for your quick response!

    I re-downloaded the collapsing-categories.0.7.zip, and uploaded 3 new files;
    collapscatUI.php
    options.txt
    processOptions.php

    Now I can see the collapsing-categories’s Admin contol page. But I cannot execute option update. The updateOptions.php file seems to be missing.

    I got the following error message;
    Warning: include(updateOptions.php) [function.include]: failed to open stream: No such file or directory in /wp-content/plugins/collapsing-categories/collapscatUI.php on line 34

  113. On November 25th, 2008 at 10:37 pm
    David Chua wrote:

    Hi Rob,

    I have a problem with the 0.7 not expanding or contracting the Categories in IE. Tested with Firefox and Chrome no problems.

    Please take a look at my site.

    Thanks

  114. On November 25th, 2008 at 10:37 pm
    Rob wrote:

    @Minorio – ok. what a terrible day for me. I have added updateOptions too. Now all should work.

    Rob

  115. On November 26th, 2008 at 11:59 am
    Matt Algren wrote:

    HA! Glad it was an easy fix!

    The open/shut animation isn’t working (even after I changed the setting on the widgets page), but that seems to be a conflict with the javascript in my contact form. Not your problem.

    Also (you love me, you know you do!) I just tried in IE7 and am having the same problem as David Chua above. The error report it’s giving me (after I click to open a category) is as follows:

    Line: 33
    Char: 5
    Error: ‘1′ is null or not an object
    Code: 0

    Line: 53
    Char: 12
    Error: ‘className’ is null or not an object
    Code: 0

    Thanks for a great plugin!

  116. On November 26th, 2008 at 12:00 pm
    Rattler wrote:

    Rob,

    thx, all fixed, and no probs even with my test site todos-contra-matias.net running 2.7 beta3 (WP that is).

    If you ever need a checklist for digital task organisation, call on me… :-)

    Kind regards,

    Rattler

  117. On November 26th, 2008 at 2:12 pm
    John wrote:

    Ditto on the recent update breaking the expanding/contracting ability on my website, http://heroesofblackfield.com/heroes_blog/ at least when looking at it in IE.

  118. On November 27th, 2008 at 12:00 am
    Aimee wrote:

    My site is not widget-ready. Is there a way to call the plugin on a page, without using the drag-n-drop feature?

  119. On November 27th, 2008 at 7:46 am
    minorio wrote:

    Hi Rob,

    I have a issue as it sets unwanted hierarchy between categories.
    I wrote the details with screenshots on my blog. Please see this when you have time. Thank you.
    http://d.hatena.ne.jp/minorio/20081127/1227750274

  120. On November 30th, 2008 at 1:19 pm
    robfelty wrote:

    Sorry for the slow response time to your comments. I was pretty busy with the Thanksgiving holiday here in the U.S. I will look into the problems with IE7.

    @Aimee – yes. You can use it like so:

    <?php
    if (function_exists('collapsCat')) {
      collapsCat('%i%')
    } else {
      echo "<ul>\n";
      wp_get_categories(your_options_here);
      echo "</ul>\n";
    ?>

    @Minorio – I will try to check into your issue

  121. On November 30th, 2008 at 6:52 pm
    Rattler wrote:

    Sorry to bother you again, more so as I am not able to donate atm (if prayers help pls feel heavily donated!?)

    This time I ran into following problem (chk http://mallorca-service.net/nodees/):

    - cats work as links (if you set them so, but my site wants just what you did offer: Expand when clicking on instead of going to cat archive: On my english and german sites this produces map loading attempts in the order of 300+….) but simply wont expand under any setting.

    This happened after updating to v0.7, my other sites – same theme – running 0.6.3 are fine (but of cause w/o the feature to have cats-click just do expand: http://mallorca-service.net/node/)

    WP 2.6.3, CC v 0.7

    Works fine with other theme on my private blog (http://ohlmer.es/blog/)

    What am I doing wrong?

    Rattler

  122. On November 30th, 2008 at 8:12 pm
    robfelty wrote:

    @Rattler,

    It looks to me like it is a conflict between the prototype javascript library and the scriptaculous javascript library that I use in my plugin. Try disabling animation, and see if that helps.

    Rob

  123. On December 1st, 2008 at 2:54 am
    Rattler wrote:

    Thanks a lot, Rob! Disabling Animation indeed did the trick!

    Kind regards from Mallorca!

    Rattler

  124. On December 1st, 2008 at 10:19 am
    robfelty wrote:

    I think I have fixed the javascript bug in IE7. Try upgrading to 0.7.1

    Rob

  125. On December 3rd, 2008 at 11:43 am
    David Radovanovic wrote:

    Thanks for the plugin! I have two problems:

    #1 – Exclude doesn’t seem to work using either cat ID, cat SLUG, or cat NAME.

    #2 – Where does the small double arrow “>>” or (»), which appears where a list bullet would appear, get loaded, e.g. via css, javascript or CSS? I can’t seem to get rid of it: http://rsc-web.rsci.com/levi/

    Thanks again.

    Oops, BTW I using WordPress version 2.6.3

  126. On December 4th, 2008 at 4:12 am
    David Chua wrote:

    Thanks a lot Rob, IE is working now!

  127. On December 4th, 2008 at 6:49 pm
    robfelty wrote:

    @David Radovanic,

    The double arrow is specified in the collapscat.css file in a :before rule.

    Rob

  128. On December 5th, 2008 at 8:27 pm
    Andy wrote:

    Hi Rob! I get the following error with your newest version in Firefox:
    expand is null
    [Break on this error] var thisli = expand.parentNode;

    By the way. In IE after epxanding a category the new entry first jump to left and then back to the correct position after a mouseover..

  129. On December 6th, 2008 at 3:57 pm
    Fundamental Charlie wrote:

    OK, I probably don’t know enough to know what I don’t know; here goes anyway.

    I love the way this works on your site but I can not get it to show up on mine. I have it in the widget selections and when I click to add it, it shows up in the sidebar listing. The problem is that when I click save, or edit, it disappears. I have no idea why, and I don’t even know how to be sure that Javascript is enabled.

    Please Help Save Me from Myself!!!

  130. On December 6th, 2008 at 5:07 pm
    robfelty wrote:

    @Andy – I will look into those bugs. What settings are you using?

    @Charlie – the newest version only works with WP 2.6+. I see that you are using 2.5.1. You can either upgrade wordpress, or downgrade collapsing categories to 0.5.10. Note that most wordpress plugins show a minimum version, and a tested up to version on the main page where you download them.

  131. On December 6th, 2008 at 9:45 pm
    Andy wrote:

    I’m using the standard options except that I use images instead of +/-. So, animation is on.

  132. On December 8th, 2008 at 3:44 pm
    jerry wrote:

    I have cat ver 0.7.1 and arc ver 0.9.6 activated and they show up on widgets and after i add and save they disappear from the listing of widgets used on side bar… and don’t show up on the front page…

    I am using WordPress 2.7-RC1-10119…

    Will you be updating plugins to work with 2.7?…

  133. On December 8th, 2008 at 9:29 pm
    Rob wrote:

    @Jerry,

    I am planning on making the plugins compatible with 2.7. Actually, I had already tested them out a little bit, but I did not try removing and adding them from the sidebar. Strangely enough, if they are already there when you upgrade, they remain there fine. It looks like they have changed the widgets api slightly. Hopefully I should be able to get it figured out relatively quickly.

    Rob

  134. On December 10th, 2008 at 12:33 pm
    Dreas wrote:

    Hi I’m using your plugin on my website, but the cookie handling does not work. The categories are collapsed every time i’m clicking on a sublink. I’m using WP 2.6.5 German edition

    Do you have a solution?

    Dreas

  135. On December 10th, 2008 at 5:09 pm
    Rob wrote:

    @Dreas,

    Can you provide a link to your site please?

  136. On December 11th, 2008 at 11:53 am
    Rob wrote:

    @Dreas,

    I checked out your site, and it seems that the cookies are getting added, but the javascript is not working right. It looks like you modified the plugin somewhat, since I don’t see any sort of collapsing/expanding symbols. I think that this might be the problem. I have 2 suggestions for now:
    1. undo some of your modifications
    OR
    2. try the development version

    I will also try to add an option to not use any symbols at all, since some people seem to like that. Personally, I think it is confusing, since there is no indication that when I click on “Hunde”, the list expands, but if I click on “Information” I get a different page.

    Rob

  137. On December 16th, 2008 at 8:36 pm
    Iraqgoals.com wrote:

    will this pulgin work for 2.7?

  138. On December 17th, 2008 at 12:50 am
    Iraqgoals.com wrote:

    i have tested it with 2.7 arabic and its working,

    can someone tell me how can I arranage the categories accourding to the termorder?

    please help thanks

  139. On December 17th, 2008 at 9:01 pm
    Rob wrote:

    @Iraqgoals,

    You should be able to sort the categories using the options in the widget settings.

    Rob

  140. On December 17th, 2008 at 10:10 pm
    Iraqgoals.com wrote:

    When I chose sort by category Term order all of the categories dissappear from the main page

    why is that

  141. On December 19th, 2008 at 5:57 pm
    Insane Free Stuff wrote:

    Is there a collapsing pages plugin?

  142. On December 19th, 2008 at 7:09 pm
    Jeremiah wrote:

    Rob, great work on the plugin, it’s a godsend.

    The only major issue I’m having with it is that I see the expand buttons and they all work great.
    However, once expanded, no collapse button appears and the category is un-collapse-able until the page is reloaded, whereupon the menu goes back to its default collapsed state.

    This occurs in both Firefox and IE7, so I think it’s gotta be either a style issue or a javascript problem. Any ideas?

    Thanks in advance.

  143. On December 19th, 2008 at 8:56 pm
    San Diego Tim wrote:

    Hi Rob,

    Is there a way to exclude empty categories without having to list each one individually in the widget? I have prepared a number of categories that I only want to be seen once they are no longer empty. Thank you.

  144. On December 21st, 2008 at 10:00 am
    John wrote:

    I have recently begun operating blogs for friends and had tested collapsing categories and was pleased with how it worked. After WP2.7 upgrade, on a test site where it was already installed it continued working. After I removed the widget and tried to add it again via the widget page it initially appeared on the right hand side of the widget page but as soon as I pressed Save Changes the widget vanished off the list of wigets on the right hand side of the page. Interestingly the total of widgets at the top “You are using 3 widgets in the “Primary Aside” sidebar.” had changed to 4 although only 3 were now shown as installed. The only way to re-set the total figure was to add the collapsing categories widget again, click edit, click remove and then click Save Changes. The total was reset to 3 again and (of course) the widget removed itself. This happens for my other blogs as well.

    Any suggestions how I can get it to stick when I add it?

    Thanks in advance – I really need it for a blog I am just creating for someone.

  145. On December 21st, 2008 at 10:14 am
    tim wrote:

    Im getting an error on page error in ie 7, i tested it in ie beta 8 and the error is the same. Looks like a web script page error.

    ‘1′ is null or not an object
    Line: 32
    Char: 5
    Code: 0

    Ive tried setting various different options within the widget options but whatever I do the error is still the same, in ie and tested on various pcs. any idea what it might be?

    really hope you can help Rob this plugin is vital to me.

    thanks

    Tim:)

  146. On December 21st, 2008 at 10:36 am
    tim wrote:

    forgot to mention im using the latest 0.8 version and WP 2.7.

    Tim

  147. On December 21st, 2008 at 11:16 am
    robfelty wrote:

    @Tim,

    Thanks for letting me know about that. I don’t have access to IE8, but have some limited access to IE7. Besides producing an error message, what other effect does it have, and when does it happen? Does it happen on page load, or when you try to expand or collapse a category? And does it actually break some functionality, or is it really more of a warning?

    I will try to figure it out.

    Also, can you give me a link to your site so I can check it out there?

    Rob

  148. On December 21st, 2008 at 12:20 pm
    robfelty wrote:

    yes there is. Look at the page called “collapsing pages”

  149. On December 21st, 2008 at 12:22 pm
    robfelty wrote:

    @San Diego Tim – Empty categories should not show up at all. They don’t on my site at least.

    @John – Please upgrade to the latest version, and look at the installation instructions for a workaround to this problem. I am trying to figure out a permanent solution.

    Rob

  150. On December 21st, 2008 at 2:00 pm
    Jeff wrote:

    I am having the same problem as Tim. After adding the widget to the sidebar and the pressing “update” the widget dissapears and the widget count shows one more widget than appears in the sidebar. I am using Firefox 3.0.5.

  151. On December 21st, 2008 at 3:16 pm
    robfelty wrote:

    @Jeff – I have updated the installation instructions in the readme. I know about this issue. A temporary workaround for WP 2.7 is to add the widget, then save, then select “show unused widgets”. It should be there, and you can add it fine from there. I am working on figuring out the real solution, but it is quite elusive.

    Rob

  152. On December 21st, 2008 at 7:59 pm
    zak wrote:

    firstly,greet plugins

    but when i updated all collapsing plugins in 2.7,they seems dont work as a widget…

  153. On December 21st, 2008 at 8:52 pm
    tim wrote:

    hi rob, the site isnt live yet at the moment, the error happens on every page the widget is shown on and ie reports an error in the bottom left screen. also it appears the animation is a little buggy at times in ie.

  154. On December 21st, 2008 at 11:03 pm
    Iraqgoals.com wrote:

    Rob..
    When I chose sort by category Term order all of the categories dissappear from the main page

    why is that

  155. On December 21st, 2008 at 11:22 pm
    Jeff wrote:

    Hi Rob,

    Thanks for updating your read me. I can get the Colalasping Category plugin to work when I select the “show unused widgets” item in the widgets window. The interesting thing I noticed is that I have 6 instances of the widget listed as unused. My guess is that I’ve tried to add the widget 6 times (I didn’t actually count, but that seems about right). If I uninstall the plugin and reinstall it the 6 instances remain which tells me that something is being stored in the database somewhere and not getting removed. Let me know if I can help debug any further.

  156. On December 22nd, 2008 at 9:34 am
    DarrenH wrote:

    Rob – Thanks for the great plugin. However, I can’t seem to get it working fully. I can see the collapsed categories, but I cannot expand them. I am running WP2.7 locally on my Mac (creating an overhaul of my existing website before I post it to the web). I am running the very latest (0.8) of your plugin, looks like it was just posted before I downloaded it. I am not using the widget feature. I am just dropping the hook code into my sidebar.php per your suggestion in your documentation. Any suggestions?

  157. On December 22nd, 2008 at 2:24 pm
    robfelty wrote:

    @Iraqgoals – I fixed sorting by term order. Please download the development version. It will also be included in 0.8.1, which should come out in a couple weeks.

    Rob

  158. On December 22nd, 2008 at 4:40 pm
    Philip wrote:

    Hi Rob, me again
    0.8 doesn’t seem to work (for me at least) in IE 6, nor in the latest Firefox (that is, the categories don’t expand).
    To be honest, I don’t expect most things to work in Firefox which is why I hardly ever use it, but I usually expect things to work in IE6.
    It’s fine in IE7, and the latest releases of Seamonkey, Flock, Opera and Safari.
    Best
    Philip

  159. On December 22nd, 2008 at 5:09 pm
    robfelty wrote:

    @Philip,

    interesting. Your site with 0.8 works fine for me in Firefox 3.0.5 and Safari 3. I mostly test on Firefox, and expect things to work there, but less so on IE of any sort. I find developing for IE very difficult, as it doesn’t give you much information. But I like things to work everywhere. You’re not the only one who has reported problems. Hopefully I will be able to figure things out soon.

    Rob

  160. On December 22nd, 2008 at 6:21 pm
    Philip wrote:

    Yes, don’t fret too much about Firefox: the problem’s more with me. I’m sure it works fine, but I’ve never worked out how to configure the blasted thing (Firefox, that is) so that simple things like youtube videos will appear ^^. IE6 is more of a pain though as so many people seem to be on it still.
    Cheers.

  161. On December 22nd, 2008 at 8:50 pm
    robfelty wrote:

    @Philip, seems to work fine for me in IE6. Try a hard page refresh (not from cache), with shift+refresh. It might be that the browser is using a cached version of collapsFunctions.js

    Rob

  162. On December 23rd, 2008 at 12:38 am
    Iraqgoals.com wrote:

    thanks rob i will try it and let you know

  163. On December 23rd, 2008 at 6:58 am
    DarrenH wrote:

    Hey Rob – just checking to see if you had any idea why the category list will not expand as I had stated earlier. any help would be greatly appreciated. thanks!

  164. On December 23rd, 2008 at 1:45 pm
    Philip wrote:

    Yes Rob you’re right. A hard page refresh and IE6 is working fine. Even my Firefox is working now!
    Happy holidays to you
    Philip

  165. On December 23rd, 2008 at 10:38 pm
    robfelty wrote:

    @DarrenH – try a hard page refresh (shift + refresh)

    If that doesn’t work, send me a link.

    Rob

  166. On December 24th, 2008 at 4:39 pm
    DarrenH wrote:

    Rob – still not working and unfortunately, I can’t send you a link, because I’m building it locally. Any other suggestions?

  167. On December 26th, 2008 at 4:15 am
    Jessie Angel wrote:

    First I’d like to say: “Great plugin!”

    It works very well on my site: http://www.voodooenvy.com/.

    However, I am having an small issue with it. All my categories are duplicated on the page. How can I fix this?

    I am using the following code on my sidebar:

    <?php
         if( function_exists('collapsCat') ) {
          collapsCat('%i%');
         } else {
          echo "\n";
          wp_list_categories();
          echo "\n";
         }
        ?>

    I was using the wp_get_categories option before, but I kept getting an error message, so i used the wp_list_categories instead and it works fine.

  168. On December 26th, 2008 at 12:20 pm
    robfelty wrote:

    @Jessie,

    Nice site! The styling on your collapsing plugins looks great. I am not sure why the categories are showing up twice. Have you modified the code at all? It looks like it is simply printing out each twice. The other possibility is that they might be duplicated in your database. Sorry I am not more help. Let me know if you figure it out.

    I will also update the readme file on the installation about the wp_list_categories. Thanks.

    Rob

  169. On December 26th, 2008 at 2:10 pm
    Jessie Angel wrote:

    @robfelty,

    Thank you so much for your response.

    I did check my database out, but I still can’t figure it out. I remember this issue happened even before I updated the plugin.

    If I figure it out, I will let you know.

    Thanks!

  170. On December 28th, 2008 at 7:23 pm
    Dave Jackson wrote:

    Hi Rob,

    This would be wonderful if I could get it working. I installed the plug-in and my template is not-wigitable, so I am using your instructions for manual install – however, it seems to be missing some code… Like maybe a closing bracket – but I don’t know where to put it.

    The error is Parse error: syntax error, unexpected ‘}’

    What is the correct code for a manual install?

    Thanks a bunch! BTW, the wordpress site really fudged up the manual code – but I found it in your readme file. Still no go. Thanks for any help.

    Kind regards,
    Dave Jackson

  171. On December 28th, 2008 at 7:36 pm
    John Bunting wrote:

    It is great plugin that I regard as essential. After updating to WP 2.7 although it still works in existing WP setups I cannot get it to install in the Widget page in admin.

    I click to add and it moves over to the right hand side but when I press Save Changes it vanishes off the right hand side again and does not appear on the post page on the site. Interestingly the system thinks it is still there as it is included in the number of widgets used on the Widget page. To reduce the count on the Widget page I have to add it again and then remove it before saving changes.

    I have tried this on more than one fresh installation and with different themes.

    The WP update was using Fantastico but I have found no other problems – yet!

    Any thoughts?

    John

  172. On December 28th, 2008 at 9:06 pm
    Stef wrote:

    Same problems here – I eventually got both Collapsing Categories and Collapsing Links working fine on WP 2.6.3, and they continued to work after I updated to WP 2.7, but as soon as I tried to save settings after another wigdet update, both disappeared from the sidebar. They’re both latest-issue and are both still visible in the list of available widgets, but they won’t stick when I add them to the sidebar. Tried the dev release too but it made no difference.

    This is a great shame, because the Collapsers were the best sidebar space-savers that I’d ever used, due to the way that they handled the huge number of links that I have.

    Hopefully you’ll come up with a fix soon, Rob.

    Cheers,

    Stef

  173. On December 28th, 2008 at 11:23 pm
    Rob wrote:

    @John, @Stef –

    I am aware of this issue, and included instructions in the readme for a temporary workaround for wp 2.7. If you select “show unused widgets”, you will see “collapsing categories” there, and if you add it, then save, the changes will stick. I spent about 4 or 5 hours trying to figure this out, but have not figured it out yet. I think it will ultimately take me a day or so, but I probably won’t find that day for another week or two. I apologize for the inconvenience.

    @Dave,

    This works for me:

    <?php collapsCat('%i%') ?>

    I hope it will work for you too.

    Rob

  174. On December 29th, 2008 at 6:18 am
    Stef wrote:

    Hmmm…

    Went to “show unused widgets” and found 20 x Collapsing Links and 20 x Collapsing Archives listed on the left. None of them will add to the “current widgets” column on the right, and there’s no “save changes” button there anyway.

    At the bottom of the left column is a bit of code that seems vaguely familiar: %BEG_OF_TITLE%mvp%END_OF_TITLE%

    I’ve ditched Collapsing Categories as I no longer need it, but the others are keepers

    I’ll wait for a proper fix, but there’s no rush, it’s chill-time!

    Cheers for the reply, Rob.

  175. On December 29th, 2008 at 8:01 am
    Stef wrote:

    FWIW, I’ve sussed the inability to add from the “unused widgets” screen – I disabled the WordPress.com stats helper plugin ( http://vlad.bailescu.ro/wordpress/plugin-stats-helper-functions-and-widgets/ ) which was responsible for the “mvp” code glitch, and it then allowed adding and saving. After resetting the options in both Collapsing Archives and Links widgets, I reactivated the rogue plugin and it’s all holding together at the moment.

  176. On December 29th, 2008 at 8:46 am
    John Bunting wrote:

    Thanks for reply Rob. Must try reading Readme.txt files in future :-( . Good news is that it worked. Great! I only found 13 unused CC links! Not complaining, I’m just happy. I must learn to do a manual install.

    Liked your recipies (& philosophy) as another 95% vegan. I regularly do a simple humous with loads of garlic ;-) – will try yours. Will try rye bread once I succeed in making a starter that works.

    John

  177. On December 30th, 2008 at 11:32 pm
    John wrote:

    I recently upgraded and now I am not able to see the categories on my sidebar even though they are there in the widget area in Admin. Hopefully a fix can be found soon, I do like this plugin.

    John

  178. On December 31st, 2008 at 9:28 pm
    Jessie Angel wrote:

    Hi there! Happy New Year!

    Sorry to say, but I had to deactivate collapsing categories because it kept giving me a double entry for my categories. As soon as I did that, my categories seemed to work fine.

    What do you think the issue is. I did check the database and that seemed to be okay as well. I’ve looked at the code and I just can’t figure it out…. help?

    http://voodooenvy.com

  179. On January 2nd, 2009 at 10:53 am
    Loulou wrote:

    Hi :)
    Your plugin sounds great so I installed it :)
    But each time I configure the widget, it turn back by itself back from the list of widget of the sidbar :(
    I ‘m at servage.net hoster, autoinstalled wordpress 2.6.2 but somewhere I saw an automatic analyser telling me 2.7 …
    please is there any suggestion?

  180. On January 2nd, 2009 at 11:52 am
    robfelty wrote:

    @John,

    Sorry you are having problems. I can’t really offer much advice without seeing your problems in action. I like to keep a test site where I can test out new plugins (and develop my own), which uses much of the same database as my real blog. I would be happy to help you if you set up a test site.

    @Jessie,

    Since you seem to be comfortable with looking at the code, try inserting the following debugging code into the collapscatlist.php file on line 325 or so (right after the 2 “get_results” functions).

    echo "<pre>";
      echo "$postquery\n";
      print_r($posts);
      echo "$catquery\n";
      print_r($categories);
      echo "</pre>";

    This will show you exactly what the database query is and the results of it. If you see doubles here, then there must be something to do with the database (or the query).

    @LouLou,
    See the installation instructios in the readme.txt file. There is a workaround for this in WP 2.7

  181. On January 2nd, 2009 at 2:18 pm
    Loulou wrote:

    oh god, thanks for your answer but i’m absolutly new in wordpress and does not know at all all about php
    each time I have a bug with my wordpress, I take 2 days to correct it and connection is very expensive here in lebanon, so very very thanks for your ideas, But i’m too afraid of making a mistake and taking much much time to resolve it :)
    in all case, your widget was a great cute idea :)

  182. On January 3rd, 2009 at 7:47 pm
    watson wrote:

    I was using CC with WP 2.6 and it worked well. Upgraded to WP 2.7 and CC .8 and now I can’t get CC to work (list of categories do not show up in the CC widget area of the sidebar). I tried the “show unused widgets” trick but this did not help. Tried deactivate/reactivate, uninstall and reinstall, but no luck.

    In the widget area, for some reason there are (8) CC widgets being unused.

    Would like to try the following but need to know exactly where (between what other code) I should put this following code into the sidebar.php file:
    ——
    <?php
    if (function_exists(‘collapsCat’)) {
    collapsCat(‘%i%’)
    } else {
    echo “\n”;
    wp_get_categories(your_options_here);
    echo “\n”;
    ?>
    ——–

    Thanks for any help. Really enjoyed the plug in when I had WP 2.6. Hope to get it working again. Cheers and happy new year
    Jay

  183. On January 5th, 2009 at 8:15 am
    Anaxagoras wrote:

    Hello,

    i have a one issue. I have WP 2.7 and latest plugins Collapsing Categories and Archives. But two weeks ago collapsing categories started just showing the name of the widget and no categories. So i dissabled the widget and enabled again but it started to disapper from the active widget list after i saved changes. So i deactivated the plugin and deleted it from ftp. I went to wordpress.org, downloaded it again, extracted it again to my wordpress plugins folder, then went to plugins page in wordpress admin area but it is not showing there. Neither it is not showing on FTP after, so it seems that WP is deleting it by itself :-( any ideas ? Thanks for any help. Best regards

  184. On January 5th, 2009 at 9:54 am
    Anaxagoras wrote:

    So i get it work like it was. It is showing just name of the widget at the main page of my blog, but no categories inside. When i look into widgets managing at WP i can see 5 unused widgets of Collapsing Categories, which i tried to appear at the main page but it was constantly disappearing :-( any suggestions ?

  185. On January 5th, 2009 at 11:43 am
    robfelty wrote:

    @Watson,
    After selecting “show unused widgets”, did you try adding one of those 8 collapsing categories widgets to the sidebar, then clicking on “save changes”? That is what works for me. Sorry if the instructions weren’t clear.

    @Anaxagoras,
    What sort of settings do you have for collapsing categories? Collapsing Archives seems to be working okay on your site.

    Rob

  186. On January 6th, 2009 at 4:13 am
    watson wrote:

    Hi Rob,
    Yes I did add one (and tried more than one) of the CC widgets to the sidebar. Like others have mentioned here, the widget in the sidebar only showed the name of the widget and no categories were listed inside (below the widget name). I tried a combination of options inside the CC widget with no progress.

    Settings: show post count, sort by category name, sort posts by date, expanding shows sub categories and posts, clicking links to archives, auto expand = blank, include/exclude = blank (note: would like all categories to be included and have tried to manually include with cat names but no progress) , animate = off, include RSS = none, style info = blank.

    Still no progress. Do I need to enter any code in my sidebar.php file? If so exactly where should I try to put this info (which lines)? Thanks for any help.

  187. On January 6th, 2009 at 4:12 pm
    Tom Brincefield wrote:

    Rob,
    I decided to give a couple of your other plugins a go, once I got the Collapsing Links working the way I wanted. I installed Categories, placed the widget in my sidebar and it shows up. But it has all of my categories nested under each other. Since I only have 2 child categories, this doesn’t make much sense.

    Also, I have your Collapsing Links, Archives (Working well, BTW), and Categories in the same sidebar. If the Archives widget is below the Categories widget, the Archives do not show up in the sidebar at all. If the Category widget is on the bottom, both show up, but the Categories are messed up as I mentioned and the text widget I have at the bottom of the sidebar is added to the Category lists. And I can not get posts to show up under any of the categories, no matter how I set the options.

  188. On January 7th, 2009 at 11:30 am
    Mitch Berger wrote:

    Hi,

    I use collapsing archives and categories. The first is working well (and thanks for folding in my fix for a sparse year), but collapsing categories is failing to produce any rows. So, I turned on debugging. The failure appears to be at:

    CATEGORY QUERY:
    SELECT wp_term_taxonomy.count as ‘count’,
    wp_terms.term_id, wp_terms.name, wp_terms.slug,
    wp_term_taxonomy.parent, wp_term_taxonomy.description
    FROM wp_terms, wp_term_taxonomy, wp_term_relationships
    WHERE wp_terms.term_id =
    wp_term_taxonomy.term_id = wp_term_relationships.object_id
    AND wp_terms.name != ‘Blogroll’ AND
    wp_term_taxonomy.taxonomy = ‘category’ ” ORDER BY wp_terms.name
    ASC

    CATEGORY QUERY RESULTS
    Array
    (
    )

    However, I saw categories before recent upgrades, and my posts say they are categorized.

    -mitch

  189. On January 7th, 2009 at 12:06 pm
    Jerome wrote:

    I’m trying to use Collapsing Categories manually and find that I cannot change the options for it under Settings — I can select the various form items, but when I “Update options”, none of the changes stick except for what is in the Style info box. (I’m using version 0.8.1 under WP 2.7, Widget mode works fine).

    Also, I think your manual installation code is missing a semi-colon and a curly bracket, I beleive it should be:

    <?php
    if (function_exists('collapsCat')) {
      collapsCat('%i%');                     /* added semi-colon */
    } else {
      echo "<ul>\n";
      wp_get_categories(your_options_here);
      echo "</ul>\n";
    }                                        /* added curly bracket */
    ?>
  190. On January 7th, 2009 at 12:12 pm
    Jerome wrote:

    Hmmm… not sure what happened to my code up above, but Jessie Angel’s first post on Dec 26 does show the properly corrected code.

  191. On January 7th, 2009 at 12:46 pm
    Jerome wrote:

    Update…

    I installed 0.7.1 and that seems to work fine in a manual mode. I would like to try 0.8 too, but that does not appear anymore at wordpress.org. (I did also try the development version, but that worked the same as 0.8.1)

  192. On January 7th, 2009 at 12:54 pm
    robfelty wrote:

    @Mitch,

    I just released a few more bug fixes in 0.8.2. (should be on the wordpress site soon). It looks like it might have something to do with excluding or including categories. You might try playing with those options

    @Jerome,
    For nice code, use lang=’php’ (or whatever language you are using). I should put a note about that in the comments.

    That is weird that 0.8 seems to have vanished.

    I fixed the manual settings in 0.8.2

    Rob

  193. On January 7th, 2009 at 5:14 pm
    Mitch Berger wrote:

    I just got frustrated playing with include / exclude. I tried each with the field blank, I tried exclude “Uncategorized” and then tried silly things just to see if I can get anything to show.

    Looking at the SQL I posted, I was wondering. Did you really intend to create “WHERE wp_terms.term_id = wp_term_taxonomy.term_id = wp_term_relationships.object_id”, a three-way equals, as the first AND term? I am surprised MySQL even parsed it.

    Awaiting 0.8.2’s arrival as an auto-upgrade….

    -mitch

  194. On January 7th, 2009 at 6:32 pm
    watson wrote:

    Rob
    I upgraded to CC 0.8.2 and still no luck. The CC widget shows up in the sidebar, but only the title shows up. No categories or posts show below. I upgraded automatically. Tired to do a manual install of CC but don’t know where to put the code into my sidebar.php file. The older version of CC and WP 2.6 worked great with an auto install. No luck since moving to WP 2.7. Any help is appreciated. Thanks

  195. On January 7th, 2009 at 6:56 pm
    robfelty wrote:

    @Mitch,

    does the SQL query return anything from the command line? It works fine for me. I’ve fooled around a bit, and the following query also seems to return the right results for me:

    SELECT wp_term_taxonomy.count AS 'count', wp_terms.term_id, wp_terms.name, wp_terms.slug, wp_term_taxonomy.parent, wp_term_taxonomy.description FROM wp_terms, wp_term_taxonomy, wp_term_relationships WHERE wp_terms.term_id = wp_term_taxonomy.term_id  AND wp_terms.term_id = wp_term_relationships.object_id AND wp_term_taxonomy.term_id = wp_term_relationships.object_id AND wp_terms.name != 'Blogroll' AND wp_term_taxonomy.taxonomy = 'category' AND wp_terms.slug NOT IN ('uncategorized') GROUP BY wp_terms.term_id ORDER BY wp_terms.name ASC;

    @Watson – it is likely that your problem is the same as Mitch’s and that it has something to do with mysql. I think we are making progress.

    Rob

  196. On January 8th, 2009 at 2:04 pm
    John Bunting wrote:

    Humn I spoke too soon. 0.8.2 is not working in this blog that I am taking over soon hence odd way of writing it http://sdaresourcesADD-DOT-HEREorg/health/

    John

  197. On January 8th, 2009 at 2:07 pm
    mheej wrote:

    i just uploaded the newest version 0.8.2 for collapsing categories and my widget for collapsing categories now is NOT SHOWING.

    I have already deactivated the plugin . reactivated.
    uninstalled and reinstalled and added it again on my widget
    but it’s still NOT SHOWING

    please help

  198. On January 8th, 2009 at 2:39 pm
    Mitch Berger wrote:

    John,

    The query the plugin produces doesn’t work on the command line. Your query, where the three way comparison is split into two comparisons ANDed together does return results. I don’t know if this is an error, but the results begin as follows, with duplicates:

    count

    term_id

    name

    slug

    parent

    description

    7
    28
    Absolutism
    absolutism
    3
     

    7
    46
    Ahavah
    ahavah
    5

     

    7
    46
    Ahavah
    ahavah

    5
     

    5
    34
    Amidah

    amidah
    6
     

    7
    24

    Anavah
    anavah
    5
     

    7

    24
    Anavah
    anavah
    5
     

    5
    56
    Anger
    anger
    5
     

    15
    47
    Audio
    audio
    0

     

    15
    47
    Audio
    audio

    0
     

    3
    26
    Aveilus

    aveilus
    5
     

    (No, you’re not going nuts or dyslexic, many of the Categories are transliterated Hebrew.)

    -mitch

  199. On January 8th, 2009 at 3:55 pm
    John Bunting wrote:

    Rob

    0.8.2 works beautifully in all blogs where it has not already been installed under previous versions.

    What file/file(s) does or can the plugin write to in current and previous versions? I was wondering if legacy code was left somewhere that was causing problems. Anyway I would be interested to check and compare.

    Thanks

    JohnB

  200. On January 8th, 2009 at 4:50 pm
    Rob wrote:

    @John,

    The problem seems to be with the sql query for categories, and other people are having this problem too. I think I have a solution for it, which I will release soon.

    Rob

  201. On January 8th, 2009 at 5:18 pm
    robfelty wrote:

    @Mitch,

    The reason I used the 3-way equals because otherwise I got some duplicate results, as you mention. Using three separate 2-way equals with AND still returns a few duplicates for me, but then adding a GROUP BY gets rid of them. Obviously the 3-way works fine for me, but apparently it does not work in all versions of mysql. I am not an SQL expert by any means.

    I have changed the query in 0.8.3. Hopefully this will work for more people.

    Rob

  202. On January 8th, 2009 at 8:25 pm
    watson wrote:

    Well we are getting much closer. Two updates in one week that is a lot of work! Nice job Rob. It is now almost working for me.

    Problem: After upgrading to CC 0.8.3 the widget now appears in the side bar, but only 4 of my 12 categories show up.

    Suggestion: Would be nice if users could click an option to remove or keep the “>>” that shows up the left of their categories. The >> is not needed because of your other expanding icon options.

    Jay

  203. On January 8th, 2009 at 8:56 pm
    robfelty wrote:

    @Jay,

    Thanks for the encouraging words. There seems to be some issues with the SQL query to grab categories. Both 0.8.2 and 0.8.3 were working fine for me. I want to hear what some other people have to say about 0.8.3. I am hopeful that we can find a query that seems to work for everyone. If there are any SQl wizards listening, I would not turn down some help :)

    As far as the option you suggest, there are already so many options, that I don’t want to add a bunch of style-specific options. You can change the style settings from the settings page now. I think the default settings I have should now display the >> before items that expand and collapse, but it should before items which have no subitems.

    Rob

  204. On January 8th, 2009 at 9:59 pm
    watson wrote:

    Thanks Rob. In the meantime. What line would I remove from the >> from the style settings. Just checked it and didn’t see anything that reads “>>”. Checked a few of your php and css files. Closest thing I found was:

    #sidebar li.collapsCat:before {content:”;}

  205. On January 8th, 2009 at 10:25 pm
    Tom Brincefield wrote:

    Rob,
    I don’t know if my problem is caused by a problem with SQL or not. I don’t do anything beyond CSS and HMTL. But while your Archives and Links plugins work fine for me, the Collapsing Categories is not even close. I have installed 0.8.3 and there is no change in the behavior. I have left it on my sidebar, with the debug option enabled, but I don’t know how to interpret what is being put out.

    @watson, comment out this line in the css on the options page:

    #sidebar li.collapsCatPost:before {content: '\00BB \00A0' !important;}

    That should remove the >> from your links.

  206. On January 9th, 2009 at 3:54 am
    Jessie Angel wrote:

    YAY! So with your latest update, my sidebar looks like it’s supposed to. I know others are still having issues, but I seem to be doing okay so far. Thanks for the fix!

  207. On January 9th, 2009 at 10:46 am
    Joe wrote:

    Rob,

    I tried both 0.8.2 and 0.8.3 and have the same results, nothing shows up no matter if I include any categories in the include section or not. I have no problems with collapsing archives or pages.

    Thanks,
    Joe

  208. On January 9th, 2009 at 4:08 pm
    Philip wrote:

    Hi Rob. Me again.

    All through the recent version releases, CC has been working fine for me and I’ve been wondering why other people have been having problems. But with 0.8.3 it’s stopped working: Once the category has been expanded, the little expand / collapse symbol disappears so that you can’t collapse the category any more. I’ve uninstalled and reinstalled a couple of times, and played with the settings just to make sure.

    0.8.3 is on my test site here http://test.londonkoreanlinks.net/ while 0.8.2 is on my live site working just fine. http://londonkoreanlinks.net/

    Happy New Year to you
    Philip

  209. On January 9th, 2009 at 4:17 pm
    robfelty wrote:

    @Joe,

    I think I figured out the problem. You are not actually using categories on your blog. You are only using tags. Collapsing Categories WAS only looking for categories. I have now added an option to list categories, tags, or both. The default is still to only list categories. My hunch is that this should fix the problem for many others too.

    Please download the development version. If it seems to be working for people, I will call it 0.8.4.

    Rob

  210. On January 9th, 2009 at 4:29 pm
    Joe wrote:

    Rob I am using categories, the most recent post was posted in ‘Regulations & Legislative’ and the post before that in ‘All tied up’. If I enable the WP categories widget it populates and works fine. I enabled that on the left sidebar and left yours on the right.

    Joe

  211. On January 9th, 2009 at 5:36 pm
    robfelty wrote:

    @Joe,

    Indeed you are using categories. Thanks for your patience. I think I have it all figured out now. If you wouldn’t mind, please re-download the development version, and see if it is working for you now.

    @Philip – I don’t see the collapsing categories widget at all on your test site.

    Rob

  212. On January 9th, 2009 at 6:41 pm
    Philip wrote:

    Hi Rob
    I’ve moved it top left and renamed it to make it obvious!
    It works just about OK in IE7 (though the mouse arrow doesn’t behave ideally on hover), but flock / firefox / chrome / safari / opera / seamonkey all have the problem where the little icon vanishes when you expand, which means you can’t collapse it again.
    Philip

  213. On January 9th, 2009 at 8:20 pm
    robfelty wrote:

    @Philip,

    I think I was getting a cached page. After clicking on a page other than the front page, I saw collapsing categories.

    It turns out that another plugin is causing the issue – there is a style sheet called gigpress.css that defines

    span.hide {display:none}

    I use the class ‘collapsCat hide’ to indicate that it should be collapsed. If you add the following to your css, the problem goes away:

    span.collapsCat.hide {display:inline}

    Also, it looks like there is no style defined for collapsCat at all. Check the settings page to set the style.

    Rob

  214. On January 10th, 2009 at 7:17 am
    Philip wrote:

    Thanks for the swift and accurate analysis Rob
    I deactivated the conflicting plugin, pressed “restore original style” in the settings page and everything’s working fine now. Thanks a lot.
    I’ll bear your css tweak in mind if I ever go live with gigpress.
    Best wishes
    Philip

  215. On January 11th, 2009 at 8:46 am
    Joe wrote:

    Rob,

    With the dev version it seems they show up nested under each other.

    Joe

  216. On January 11th, 2009 at 1:18 pm
    robfelty wrote:

    @Joe,

    I think I found that bug. Please try the development version one more time.

    Thanks for your help in debugging. (Also, could you turn the debugging option on in your blog?)

    Rob

  217. On January 12th, 2009 at 9:30 am
    Joe wrote:

    Rob,

    Downloaded it and turned on debugging. The categories themselves look good now but the content under them looks a little mixed up…no the right posts under the right categories.

    Thanks,
    Joe

  218. On January 12th, 2009 at 4:26 pm
    Tom Brincefield wrote:

    Rob,

    I just tried the Development build off of Wordpress. I had to use FTP to delete the existing Collapsing Categories directory, Wordpress couldn’t upload and open the zip.

    When I tried it on my site, it still just nested the categories. It would include the right ones, and give the correct number of posts, but it just nested the categories. I found that by using the Expanding Shows: Just Sub-categories, it would put up an unordered list of the included categories, but they all would just go to the category archive, even when the option for expanding when clicking on the category name was used.

    Currently, it almost works for the one category (reviews) that has sub-categories. But there are 2 sub-categories under it (music and books) and only one shows, plus it has any categories that come under it in the nested.

    Debug is on, so if you want to take a look, good luck.

  219. On January 12th, 2009 at 4:36 pm
    Mitch Berger wrote:

    Rob,

    When we last left my story, I replaced the three way join with two joins separated by an “=” along with a “SELECT DISTINCT”. However, I now have subcategories disappearing from my list.

    Let me know if you want any more info, and what I can do to help. I have debug on, if you wish to take a look.

    -mitch

  220. On January 14th, 2009 at 12:34 pm
    robfelty wrote:

    screenshot of toms categories
    @Tom,

    It seems to be working ok for me on Firefox. Is this what you were expecting?

    screenshot of aishdas categories
    @Mitch,
    What subcategories are missing? This is what I see.

    @Joe,

    Could you tell me what posts you are expecting to show up in your “tackle” category? I am still having trouble figuring out what is going on there.

    Rob

  221. On January 14th, 2009 at 12:55 pm
    Tom Brincefield wrote:

    Rob,

    No that is not correct. Reviews is a parent category, but there are only 2 sub-categories under it, music and books. It is showing music, games, comic books, and humor as sub-categories, but books is not showing. Games, comic books, and humor are all parent categories. If I change the sort order so Reviews is at the top of the list, all of my other categories will show up under it as sub-categories on your list.

    Here are the settings I have for that list. Notice that posts are supposed to be showing? But the debug says that is set to no.

    I have added the regular Wordpress Category drop down so you can see what my actual categories are. The shorter list on the collapsing one is because I have only included some of them for testing.

  222. On January 14th, 2009 at 1:59 pm
    Mitch Berger wrote:

    Rob,

    It seems that Tom and I are seeing similar symptoms.

    Here’s the full hierarchy as taken from the blog’s config pages:

    audio   15
    chumash 1
            bamidbar        9
            bereishis       9
            devarim 3
            shemos  3
            vayiqra 4
    machashavah     5
            absolutism      7
            creation        6
            eschatology     5
                    geulah  1
            faith-and-proof 8
            forks   9
            fundamentals    14
            halachah        0
                    process 17
                    taamei-hamitzvos        16
                            clothing        3
                            holidays        25
                                    pesach  13
            reward-and-punishment   4
            science-and-torah       3
            theology        6
                    theodicy        7
    mussar  4
            deios   21
            history 2
            middos  13
                    ahavah  7
                    anavah  7
                    anger   5
                    aveilus 3
                    bitachon        9
                    simchah 7
                    yirah   3
            teshuvah        9
            tools   5
            torah-as-growth 6
            ufem    3
    psyche  17
            naran   6
                    qedushah        3
                    taharah 3
    tefillah        6
            amidah  5
            daily   9
            preparation     1
            shabbos 6
            shacharis       5
            shema   9
            yom-tov 15
    uncategorized   10
    

    -mitch

  223. On January 14th, 2009 at 3:12 pm
    robfelty wrote:

    @Tom,

    Maybe my option labeling is misleading. You do indeed have it set to show only sub-categories, not posts. Look at the setting which says “Expanding shows:”. If you posts to show up, you should select “Sub-categories and posts”.

    @Mitch,

    Thanks for the hierarchy. I am still confused though. I can navigate to “pesach” just fine with your collapsing category widget, which is pretty deeply nested. Is there a specific subcategory that is missing?

    Rob

  224. On January 14th, 2009 at 3:45 pm
    Mitch Berger wrote:

    Doing a diff, I found that what is missing from the page is “Mussar->Middos” and its subcategories. Mussar is a parent level category, so this is only one level down. It is in the debug output hidden on my home page.

    (I guess it’s the problem Diogenes faced :-) — I can’t find the section on refining one’s virtues!)

    -micha

  225. On January 14th, 2009 at 3:52 pm
    Tom Brincefield wrote:

    Rob,

    No, I just forgot, I had it set to not show posts on the first option, because if I change that setting, this is what it looks like. Note that there are still no posts showing, and debug says posts are not supposed to appear. And everything is nested under everything above it. The only option I changed was the Expanding Shows: option to show both Sub-categories and Posts.

    I have it with those options on my site right now.

  226. On January 15th, 2009 at 12:13 pm
    robfelty wrote:

    @Tom and Mitch,

    Tom lent me his database, which was very nice for debugging help. I spent quite a bit of time playing around with the queries, and I think I have them working now. I did a test install of wordpress using Tom’s database, and it seems to be working. Please give the development version one more try.

    Thanks.

    Rob

  227. On January 15th, 2009 at 12:20 pm
    Joe wrote:

    Rob,

    The latest build looks like it has fixed my issues as well. No more nesting other top level categories and the correct posts showing under their categories. I have to do a little more checking to verify but at first glance it looks great.

    Thanks for all your efforts on this.

    Joe

  228. On January 15th, 2009 at 12:42 pm
    Mitch Berger wrote:

    Rob,

    Thanks. The development version is working for me.

    Now, since I can’t just leave you alone, a feature request: If a category contains posts as well as sub-categories, could there be an option for creating a “General” or “Miscellaneous” entry for grouping them into one place?

    -mitch

  229. On January 15th, 2009 at 2:55 pm
    JeZZoo wrote:

    Hey,
    After update to latest version of plugin I’ve got no category in widget. When I enable debug in source is a list of categories in debug part but none on list.
    This part of code looks like:

    <li id="collapscat-328988982" class="widget collapsCat"><h2>Categories</h2>
        <ul id='collapsCatList'>
    <pre style='display:none' >MySQL server version: 5.0.41
    CATEGORY QUERY:
     SELECT sz_term_taxonomy.count as 'count',
                sz_terms.term_id, sz_terms.name, sz_terms.slug,
                sz_term_taxonomy.parent, sz_term_taxonomy.description
                FROM sz_terms, sz_term_taxonomy, sz_term_relationships
                WHERE sz_terms.term_id = sz_term_taxonomy.term_id
          AND sz_terms.term_id  = sz_term_relationships.object_id
          AND sz_term_taxonomy.term_id  = sz_term_relationships.object_id
                AND sz_terms.name != 'Blogroll' AND
                sz_term_taxonomy.taxonomy = 'category' ''
          GROUP BY sz_terms.term_id ORDER BY sz_terms.name
                ASC

    CATEGORY QUERY RESULTS
    Array
    (
        [0] => stdClass Object
            (
                [count] => 72
                [term_id] => 10

    <in this place is correct list of categories)

    What should i check to resolve problem.

  230. On January 15th, 2009 at 4:00 pm
    Tom Brincefield wrote:

    Rob,

    No joy here. With these settings, I get this on page load and this when I expand everything. Posts still don’t show no matter how I set it. If if is working on the copy of my database, then there must be something else, probably another plugin, on my site screwing with it.

  231. On January 15th, 2009 at 6:53 pm
    robfelty wrote:

    @Jezzoo – I’m working on fixing these issues. Please try the development version.

    @Tom – look here:
    http://robfelty.com/tomBlog/
    (and do one more update). My guess is that it might have to do with your old version of mysql, since the postquery is not returning anything. I don’t have an old version of mysql to play around with. One tip. I tried removing DISTINCT from the postquery in collapscatlist.php, and it doesn’t seem to display duplicates. Maybe that would work with mysql 4.0

    Rob

  232. On January 15th, 2009 at 6:54 pm
    robfelty wrote:

    @Mitch, that is a good idea for a feature. It might take me awhile to work on it though.

    Rob

  233. On January 16th, 2009 at 1:13 am
    Tom Brincefield wrote:

    Rob,

    I did another download and install of the development version. No change at all. I removed the distinct from the postquery, it didn’t seem to change anything either. On that testblog, the listing looks good, but nothing happens when I click on anything. Is that supposed to be like that?

    I am thinking I really need to set up a test blog and go through my plugins. I know of at least one intermittent problem that screws with my dashboard if I load any of 3 plugins.

  234. On January 16th, 2009 at 9:47 am
    amenity wrote:

    Can I use this widget outside of the sidebar as well? It works so beautifully, I’d like to have it on a page to browse categories.

  235. On January 16th, 2009 at 11:22 am
    robfelty wrote:

    @Tom,

    Whoops, I just realized I had the ‘home’ set wrong in the database. That test site should look better now. Here is my suggestion. Set up a brand new wp 2.7 install, and try it out that way. I still think it might have to do with the version of mysql.

    @amenity,

    Currently the plugin is designed to be used either as a widget or manually, but not both. Here is a workaround. Find out the id number of your collapsing category widget by looking at the html source. You should see something like:

    <li id="collapscat-299723351" class="widget collapsCat"><h2 class="widgettitle">Categories</h2>

    Then, insert the following code where you would like to have it:

    <?php collapsCat(299723351) ?>
  236. On January 16th, 2009 at 11:25 am
    robfelty wrote:

    Since this page is getting so ridiculously long, I am closing comments. Please post your bugs, questions and feature requests in the collapsing categories forum.

    Thanks.

    Rob

  237. On July 16th, 2009 at 8:27 am
    Firefly » Blog Archive » Firefly-Update wrote:

    [...] Integration von Collapsing Categories [...]