back to list

Re: How to add a new entry to the FAQ url tree

🔗Robert Walker <robert_walker@rcwalker.freeserve.co.uk>

3/2/2001 11:36:15 PM

For details, go to the tree

http://homepage.ntlworld.com/robertwalker/tree/tree.htm

and look under
Tree info | Add to tree.

Note that I've simplified it some more.

If your entry is to go in a top level folder, then even if the folder is
new, the program can detect it is needed, and add it automatically.

Only if you need to add a new subfolder of a folder, then you need to
read the part about how to do that.

Basic idea is - upload a file into the faq folder in the Files
area. Check to see if the file name has spaces in it, if so
replace them by underlines. Then note down the url.

Now go to the database area, and the FAQ_tree database.

Fill in all the fields.

First one is the Destination folder in the url tree

- this means the folder you see in the tree control - the one
you want to add your entry into.

This isn't a _real_ folder, it only means anything in the context
of the tree control, as a way of organising the faq tree.

---------------------------------------------------------
It isn't the folder you put it in in the files area, nor is it
the actual destination folder in the web site.

That's to make it possible to move entries around in the tree
and then remake the database, without disturbing the urls of
the files.

You don't need to know why it can work (makes me a bit dizzy to
to kind of think about it too) just that it is possible.

But basically, the thing that keeps the tree together as a tree
is the database, and particularly, the first Folder field.

This is the sort of thing programs are particularly good at,
for once.

Robert