Somewhere there is a bug, in create_index i think.
I will try to explain:
I made a main-category and a couple of sub-categories.
I've put some files in a sub-category, leaving the main-category empty.
If i go to the create_index page it doesn't display the name of the main category, only the subcategory and the number of files in it. This is irritating if you make more then 1 main-category and several sub-categories, then the list becomes unclear.
Can anybody help me?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2003-03-28
I have this same problem with the 1.05 hack. You could add the name of the main category by changing this line (772?) in the fileman_functions.
You could also force that all main categories are listed by removing the if-clause, but the number of files is wrong in case a category has subcategories.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
A little bug?!?
I am using verdon's fileman 1.06 hack.
Somewhere there is a bug, in create_index i think.
I will try to explain:
I made a main-category and a couple of sub-categories.
I've put some files in a sub-category, leaving the main-category empty.
If i go to the create_index page it doesn't display the name of the main category, only the subcategory and the number of files in it. This is irritating if you make more then 1 main-category and several sub-categories, then the list becomes unclear.
Can anybody help me?
I have this same problem with the 1.05 hack. You could add the name of the main category by changing this line (772?) in the fileman_functions.
$content .= "$cat_name > <a href=\"./mod.php?mod=fileman&op=view_cat&id=$id2\">$subcat_name</a> ($cnumrows2)<br />";
You could also force that all main categories are listed by removing the if-clause, but the number of files is wrong in case a category has subcategories.