Magnus-
Please try the current CVS, should have mucho bugs
fixed now. (And
plenty of new exiting ones!;-)
Please turn E_NOTICE on in your PHP config. We use E_NOTICE now for
debugging purposes.
The category code triggers a notice in Parser.php, line 291, when viewing
a category page, which is this line:
if ( count ( $y ) == 2 && $y[0] == $cat )
It complains that $cat is an uninitialized variable. $cat seems to be used
nowhere in Parser.php, which proves the usefulness of E_NOTICE. I suggest
you replace it with the correct variable name, if any.
I've seen quite a bit of strange behavior (including such things as
templates being listed as subcategories), but let's start with this stuff.
Incidentally, it would be very useful if you would add some comments to
your code. Presently the only comments in the function categoryMagic()
are:
# Children
# Articles
Neither of which is particularly informative ..
Regards,
Erik