• I have created a recursive list using the following shortcode:

    echo do_shortcode(‘[fileaway type=”table” base=”3″ recursive=”on” thumbnails=”permanent” onlydirs=”‘.$elgruppi.'” paginate=”true” pagesize=”5″ textalign=”left” hcolor=”blue” color=”red” iconcolor=”blue” searchlabel=”CERCA”]’);

    The problem is that the files in subdirectories of the “onlydirs” are not shown.
    I can see only the files in main directories.

    Can you help me?
    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author thomstark

    (@thomstark)

    Try opening up wp-content/plugins/file-away/lib/cls/class.fileaway_utility.php

    and change line 370 from:

    if(self::endswith("$folder", "$onlydir"))

    to:

    if(strpos($folder, $onlydir) !== false)

    Thread Starter lucaborghy

    (@lucaborghy)

    Thanks, but still it doesn’t work as I need.

    Now I see all files. But I need to show only files in the “onlydirs” folders and their subfolders.

    Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Problem with recursive table’ is closed to new replies.