Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

[Style] Clickable category icons

2»

Comments

  • Options
    You did all the work, I just wrapped it up like a present. Thank you.
  • Options
    A change was made to the css to correct the cutting off of the image at the top and bottom. This is courtesy of Ryan Taylor. The change is only to the stylesheet and is as follows in case you don't want to download the zip file again. Just add it to the top of the stylesheet.

    /*IE Fix*/
    #Categories li li {
    height:60px;
    }

    .CategoryDescription {
    margin-top:-40px;
    }

    /*Image overlap fix*/
    #Discussions li li {
    height:40px;
    }
    /**********************/

    Thanks for the correction Ryan.
  • Options
    Yeah, I didn't include an IE fix for that, good work.
  • Options
    There seems to be a compatibility problem with the Preview Post extension. I get this error when I try to preview a post with Category Icons enabled:
    Fatal error: Call to a member function on a non-object in ..\extensions\CategoryIcons\default.php on line 12
  • Options
    it would be nice as an extension. An icon field when u create categories.
  • Options
    I fixed this and uploaded version 1.0.2 of CategoryIcons. The icons only need to be displayed on the Discussions and Comments, not anywhere else.
  • Options
    Great job, it works fine now. Thanks a lot jimw :)
  • Options
    How do I have the Icons display for CATEGORIES but NOT DISCUSSIONS?
  • Options
    Icons are invisable but the links do work.

    I've used background-image: url in the catagory's body, could that cause a problem?

    Any help will be appreciated.

    David K.
    T-Shirt Magic
  • Options
    is there a menu option to change the category icon or is this all done manually by admin? I'm interested in being able to assign a new image upon creation of a new category.
  • Options
    @CAP492: that could be the problem. try removing your background-image and see if the icons display.

    @u2wedge: There is no admin to handle this. You have to edit the extension style.css.
This discussion has been closed.