Re: Directory/file browser as TreeView



On Fri, 29 Sep 2006 08:06:25 +0200
"Ratcliffe, Jeffrey (Peters)" <Jeffrey Ratcliffe External eads com> wrote:

Hi again, this was as far as I got with my "dummy" insertion
method. It seems to work, but still suffers from some slow loading.
See below.

My dummy insertion attempt, run from /

Only it doesn't unless you change

&make_trunk('.');

to

&make_trunk('/');

Then it doesn't show the root /, just the subdirectories. And you can't expand them. But that is because the 
root / gets lost somewhere.

Did you try it before posting, or am I missing something?

Jeff

Oops, I was testing it from /, so I didn't notice. I designed the script to
run from the pwd (maybe thats a mistake ?). Anyways, you can chdir.
Try this:

chdir('/');
&make_trunk('.');

Sorry, 
zentara


-- 
I'm not really a human, but I play one on earth.
http://zentara.net/japh.html



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