[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Houston, we have a problem...




I just found a "problem".  It's more of an annoyance really.  Take this
example- you have two parent categories:

1.3 Networking
1.42 Sys_Admin

I decide I want to move the Networking category under Sys_Admin:

1.42.3 Networking

Easy enough.  Except that all the categories/articles under Networking:

1.3.5 DNS
1.3.23 PPP

No longer exist on the web site.  They're kinda like orphaned children
because the parent left them.  This means that if we ever move a category,
we have to find all the old children and move them manually one by one.  A
far better solution is to store cats/arts in the db not by specifying the
whole location, but just the parent ID.  This way you can move the parent
and all the children automatically follow it.

As far as I can tell, this is just a matter of fixing functions.php3 to
work with the DB in a slightly different manner.  Probably a significant
bit of work though.

Comments?

--
Aaron Turner, Core Developer       http://vodka.linuxkb.org/~aturner/
Linux Knowledge Base Organization  http://linuxkb.org/
Because world domination requires quality open documentation.
aka: aturner@vicinity.com, aturner@pobox.com, ion_beam_head@ashtech.net