Hi,

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

the ones with 1 dot are 1st level, 2 dots, second level, and so on...
the menu is defined in order that it is shown (it doesn't check each
item, it just replaces the periods with the correct items). So if I
wanted to move, say, "something -else" under "sub-something else" (the
child of "Something") and all the stuff under it without affecting
else-something and it's children how could I move it in the text file?

Sorry if I don't make sense. Please ask for clarification if you need.
My other question is if there is an easier way to do this? With a
database or something? I would still need to output a file with the same
format from that for my menu...

Thanks in advance.

-Michael
-- 
Mike <[EMAIL PROTECTED]>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to