Menu

Fileman 1.06 create_index

Help
AntalD
2003-01-27
2003-03-28
  • AntalD

    AntalD - 2003-01-27

    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?

     
    • Anonymous

      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.

                      $content .= "$cat_name &nbsp;> <a href=\&quot;./mod.php?mod=fileman&amp;op=view_cat&amp;id=$id2\&quot;>$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.

       

Log in to post a comment.