Problem arranging categories

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
Danielmc
Posts: 6
Joined: Thu Jun 10, 2004 8:59 am

Problem arranging categories

Post by Danielmc »

OK, I've got everything running pretty great and I've started adding categories.

If I have categories set up with subcategories like this

> Main Cat 1
> Main Cat 2
......>Sub Cat 2.1
......>Sub Cat 2.2
> Main Cat 3
> Main Cat 4

Now everything works well up to this point, but if I thy to arrange the categories - like this

> Main Cat 1
> Main Cat 4
> Main Cat 2
......>Sub Cat 2.1
......>Sub Cat 2.2
> Main Cat 3

It can't be done. What happens is that as I move Main Cat 4 up, the subcategories get messed up so that Sub Cat 2.1 becomes a main category with Sub Cat 2.2 being a subcatgory of it like this:

> Main Cat 1
> Main Cat 4
......>Main Cat 2
>Sub Cat 2.1
......>Sub Cat 2.2
> Main Cat 3

Please let me know if this is something anyone else has encountered, as I have many hundreds of FAQS to add and can't get started until I find a fix for this.
Khun Mo
Posts: 3
Joined: Thu Jun 10, 2004 11:06 am

Post by Khun Mo »

Hi,

Yes, have encountered the same problem, which is why I have decided to not yet add subcategories. Obviously, that is not a perfect solution though :)

Maybe a system could be set up whereby we get a list of the categories (or subcategories for a certian category) and can assign an order to them. This is how UBBT handles it, and it works quite well.

You would get something like this:

{ } Category 1
{ } Category 2
{ } Category 3
{ } Category 4

- submit -

You could enter the order numbers in fields, hit submit and the order gets update.

Khun Mo
Thorsten
Posts: 15739
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi Daniel,

sorting categories in 1.3 isn't really good, that's why there's a new category module in 1.4. Try the new one, everything should work there.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Danielmc
Posts: 6
Joined: Thu Jun 10, 2004 8:59 am

Post by Danielmc »

Can the category module from 1.4 be overwritten to the 1.3 version without problem? The reason I ask is because bI've already done some heave customization to my current installation.

Thanks,
Daniel
Thorsten
Posts: 15739
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi Daniel,

I don't think this can be done easily, sorry.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply