Forums

This topic is locked

categories and subcats

Posted 12 May 2002 14:37:04
1
has voted
12 May 2002 14:37:04 Jens Stroede posted:
hi all

i want to make a download lsit with categories and subcategories. the categories and subc. are saved in the mysql table with the download data (file name etc.) but when i want to show the cats and the subcats the cats are repeated but i want to show only once the cat and then the subcats.

example:
cat1 subcat1
cat1 subcat2
cat1 subcat3
but it should look like this
cat1 subcat1
subcat2
subcat3

Replies

Replied 13 May 2002 17:10:41
13 May 2002 17:10:41 Julio Taylor replied:
i'm also trying to do something similar (for a dynamically populated menu). I can't think of any feasible solutions using SQL, and i'm quite sure that UD doesn't support nested repeat regions, which is what we need here.

Unless you code your nested repeat region manually (i have no idea how) i can't think of a good solution.

I think in the end my post was totally useless. oh well. sorry!

-- J

P.S. i killed kenny
Replied 15 May 2002 10:13:22
15 May 2002 10:13:22 Andrew Watson replied:
look up the T-Cubed tutorial on UD-Zone on nested repeats using recordset filtering.

Its not as tricky as it sounds.

Cheers
Leed


:: Son, im Thirty.... ::
Replied 16 May 2002 14:17:36
16 May 2002 14:17:36 Jens Stroede replied:
it is php compatible?
Replied 16 May 2002 17:22:06
16 May 2002 17:22:06 Julio Taylor replied:
i can't find it.

maybe i'm stupid. probably.

P.S. i killed kenny

Reply to this topic