Hide Empty Folder Message when there are subfolders

Home \ forums/topic \ Hide Empty Folder Message when there are subfolders

Support Home Page Forums Joomla Software Easy Folder Listing Pro Plugin Hide Empty Folder Message when there are subfolders

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #260
    evn64
    Participant

    Hi Michael,

    I use EFLPro on a client site. They get confused by the message ‘There are no files to list.’ that shows when there are only subdirectories. Technically speaking the message is correct of course and it’s useful as feedback for the website user, especially when a folder hasn’t got content. But is there a way to switch the message off when the directory contains subdirectories?

    Rgds, Eric

    #1537
    Michael Gilkes
    Keymaster

    @evn64. Thanks for your question. All you need to do is to change the value for “Show empty message” from “Yes” to “No” in the Plugins Manager. See the following screenshot for guidance.

    #1538
    evn64
    Participant

    Hi Michael,

    thank you for your quick reply. I’m afraid I wasn’t totally clear. What I would like to achieve is that

    – the message shows when there are no files and no subdirectories in a directory

    – the message is hidden when there are files in a directory

    – the message is hidden when there are just subdirectories in a directory

    Perhaps it helps to point out that in my situation the structure is always

    directory

    – subdirectory 1

    • file 1

    • file 2

    • file 3

    – subdirectory 2

    <empty>

    – subdirectory 3

    • file 1

    • file 2

    • file 3

    The subdirectories are always there. If there are files inside them, can change. In the maindirectory there won’t be a file ever.

    Hope this clears it up a bit.

    Rgds, Eric

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Hide Empty Folder Message when there are subfolders’ is closed to new replies.