Page 1 of 1

usergallery - dir listing

Posted: Sat Oct 28, 2006 4:04 pm
by stm999999999
usergallery, the next :-)

given:

+article
++2006
+++hobby
++++hobby 1
++++hobby 2
+++work
++2005
+++hobby
+intern

Is there a way to display only the direct sub-dir of the current dir and not the sub-sub(-sub...)-directories? Like the child-pages in a static page?

not:

++2006
+++hobby
++++hobby 1
++++hobby 2
+++work

but:

++2006
+++hobby
+++work

And, if it is possible, the image count after the dir name should not only count the images in the sub-dir, but the summary of all images in the sub-dir AND the sub-sub(...)-dirs.

Posted: Sat Oct 28, 2006 11:35 pm
by mgroeninger
Just added Version 2.12 to CVS. This update adds this option (set "Only show one directory level lower" to "yes"), but it does not allow it when "Display the whole directory tree" is enabled.

Posted: Sun Oct 29, 2006 12:47 am
by stm999999999
you are my hero! :-)

one interesting side effect:

+article
++2006
+++hobby
++++hobby 1
++++hobby 2
+++work
++2005
+++hobby
+intern

Only show one directory level lower: no

i am in article(default-dir)::2006

I see:

+one level up
++hobby
+++hobby 1
+++hobby 2
++work


Only show one directory level lower: yes

+one level up
++2006 <- the level I am on!
+++hobby
+++work

Posted: Sun Oct 29, 2006 1:50 am
by mgroeninger
Ahhh... yeah... I put an "if" statement in to double check that I was parsing right and I forgot to remove it... Sorry 'bout that.

Version 2.13 should fix it.

Posted: Sun Oct 29, 2006 2:06 pm
by stm999999999
good job! thanks!

I hope the next days my project will be released - so I can show you and all the others, who implemented my whishes and suggestions, the result of our work :-)

Posted: Sun Nov 12, 2006 10:26 pm
by stm999999999