GeorgeS
Posts: 206
|
| Posted: 01/21/2007, 12:55 PM |
|
I fixed this bug myself.
CCDLookUpTreeToUL function needs to be corrected + I wrote one more function.
-------------------------------------------------------
if you have Sub Categories with similar names under different main categories then ALL SubSub Categories will show up under both Sub Categories.
Menu Table
menu_id menu_name menu_id_parent
1 new 0
2 used 0
3 cars 1
5 cars 2
7 Ford 3
8 GM 5
9 Toyota 5
It will give you:
new
-- cars
-- -- Ford
-- -- GM
-- -- Toyota
used
-- cars
-- -- Ford
-- -- GM
-- -- Toyota
If I change names like this:
menu_id menu_name menu_id_parent
1 new 0
2 used 0
3 autos 1
5 cars 2
7 Ford 3
8 GM 5
9 Toyota 5
Everything works as it should
new
-- cars
-- -- Ford
used
-- cars
-- -- GM
-- -- Toyota
In my project I have to use a lot of similar sub categories for electronic components menu.
_________________
GeorgeS |
 |
 |
Dean Covey
|
| Posted: 02/06/2007, 6:29 PM |
|
I couldn 't get this to work either. I gave up. I use another software to make my menues.
|
|
|
 |
|