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.

Category Listing

edited May 2006 in Vanilla 1.0 Help
Is it possible at all to list the categories within the sidebar (panel.php), or will it only work called from categories.php ?

I just want to be able to list title/link/description.


  • Funny you should ask that; I was wondering the same thing...
  • lechlech Chicagoland
    edited May 2006
    /me points the the "Categories" drop down menu in the upper left portion of your forum view. providing you do have it enabled via your account...
  • ithcyithcy New
    edited May 2006
    but that doesn't show descriptions...
    the answer is, as usual: it would be a very quick extension add-on :)
  • lechlech Chicagoland
    Yeah, I'm sure you could take that extension, then extend it to display the kind of info you require, including the code for block/unblock category all in a nice list there instead of the drop-down. Seems like a nice alternate sidebar replacement extension for that thing.
  • edited October 2009
    Really old topic but still.

    I got pissed with MVC.. Here's something really ugly to add to panel.php to get categories listed:

    // Get categories and sort by priority $query = "SELECT * FROM LUM_category ORDER BY Priority ASC"; $sql = mysql_query($query);?> <ul> <?php while ($rows = mysql_fetch_row($sql)) { ?> <li><?= "<a href='".$rows[0]."'>".$rows[1]."</a>"; ?></li> <?php } ?> </ul>
  • Btw. If theres a more proper way to do this, gief me a hint. Its quite hard to find addons from this site, since lack of tags etc.
Sign In or Register to comment.