My next plugin is a new catagory lister. It will work about like this:
1) it should duplicate the catagory order per weblog
2) There will be a linear and nested order switch, nested will be handled different
2a) Nesting will NOT use unordered list, it will however provide a “Nesting Level” that can then be applied through style sheets.
3) Custom Listing order will allow user to order catagories and even nest them however you like regardless of how they are listed in your control panel
4) Comment count will be incorporated with the plugin automatically
5) Counts in nested catagories will be available
6) Top level count will be Top level comments + aggrigate of sub catagories
7) Top level count Only for top level, no aggrigate (option)
8) Show or not show empty catagories
9) Rank Catagories (Hottest to coolest) (no nesting)
10) Rank Catagories (Hottest to coolest) with psuedo nesting
11) Ability to combine weblogs (order, nest, rank, “p"rank)
12) Limiting functions, date functions.
More maybe ...
Expected usage:
{exp:cat2 weblog="weblog1|weblog3" nest="1" count="single|double" rank="0" order="DESC" specific_order="default"}
<div class="cat2-{nl}"><a href="{path}">{catagory} ( {count} ) {last_date}</a></div>
{/exp:cat2}
Notice that “{nl}” is a nesting level and controlled directly by CSS. Since there are no “UL” arrangement and layout of the list will be greatly enhanced and easily controlled with 4 or 5 CSS class defs.
Expected output:
—- Style One—-
catagory one (100) <—- Note: 82 posts in this catagory + 18 in this main catagory
...catagory oneA (50)
...catagory oneB (10) <—- Note: 2 post in this catagory + 8 posts in the subs
......catagory oneA (4)
......catagory oneA (4)
...catagory oneC (22)
Catagory two (25)
—- Style Two—-
catagory one ( 18 / 82 ) <—- Note: 82 posts in this catagory + 18 in this main catagory
...catagory oneA (50)
...catagory oneB ( 2 / 8) <—- Note: 2 post in this catagory + 8 posts in the subs
......catagory oneB A (4)
......catagory oneB B (4)
...catagory oneC (22)
Catagory two (25)
—- Ranked (pseudo nesting)—-
Catagory One - ONE A (50)
Catagory Two (25)
Catagory One - ONE C (22)
Catagory ONE (18)
Catagory One - ONE B - A (4)
Catagory One - ONE B - B (4)
Catagory One - ONE B (2)
Style:
Nest Level 1
Nest Level 2
Nest Level 3
The cool thing here is the margin control will be a lot easier and it will have the advantage of easier cross platform compatibility with Mozilla and IE. (Does anyone esle see a prolem with list and CSS in IE? or Vice Versa?) Eliminating the list use allows for easier formatting.
This is putting me back to my dev days… And to think, I used to get paid for this.
-JB