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
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.
I just want to be able to list title/link/description.
0
Comments
the answer is, as usual: it would be a very quick extension add-on
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='http://yoururl.com/?CategoryID=".$rows[0]."'>".$rows[1]."</a>"; ?></li> <?php } ?> </ul>