Page 2 of 2
Posted: Thu Sep 21, 2006 10:56 pm
by chrisT33
i've done that
@judebert - thanks

Posted: Fri Sep 22, 2006 4:03 am
by judebert
I just sent the working version to CVS. I tried it out on my site. First I duplicated your problem. Then I fixed it and verified the solution.
This was a little trickier than expected. The thing is, the OPENING div was only output if the category existed in the database table. But we started with category 0. That's not usually a valid category, but it *is* a valid parent. So we wouldn't output the opening div, but we would output the closing div.
I just made a variable to keep track of whether the opening div was printed, then checked before printing the closing div.
Let me know if this fixes it for you, chrisT33.
Posted: Fri Sep 22, 2006 8:32 am
by chrisT33
judebert i owe you a beer
with Categorically view it works
PERFECT
with JS the projects don't hide, but that doesn't matter anymore... i'l use the simple Categorically view
thanks once again
judebert 
Posted: Fri Sep 22, 2006 4:06 pm
by judebert
I'll take the onion rings, thanks.
I'll bet the JavaScript problem is because I modified the category ID. I'll look at that again sometime, but JS is my weakest language.
Sorry it took so long. Glad we got it!