Hi,[ snip ]
So I'm working on a CMS that has the ability to move pages from one category to another, and whole sub-categories (and all their pages) to a different categories. I have a file that defines the hierarchy of the menu:
.|Something ..|sub-something ..|sub-something else .|something -else ..|sub-something-else ...|etc. .|else-something ..|it's children
I think if you were to change you menu definition file to XML, it would make this a lot easier. Then you can use the domxml functions to grab your parent/child relationships.
-- Burhan Khalid phplist[at]meidomus[dot]com
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php