• Resolved ratbo

    (@ratbo)


    hello,
    is there a way to configure the number of the displayed files? if i could set the number of displayed files to 1 it would be possible to show the latest download from a folder.

    thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author maennchen1.de

    (@maennchen1de)

    Hi!
    Sorry, there is no function like this at the moment.
    I will put it on the wishlist!
    Regards

    Thread Starter ratbo

    (@ratbo)

    Thanks. I managed to change it myself.

    i added if(!array_key_exists('latest', $atts)) $atts['latest'] = ""; to get a latest attribute and between the foreach a if ($atts['latest'] == "1") {break;}

    now, when i use latest=1 as attribute and the sort order i can output the first, or the last file in the directory (our files has a date as filename)

    works great and thank you for the great plugin

    Plugin Author maennchen1.de

    (@maennchen1de)

    Nice! And thank you for using this plugin! ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Select last File from Folder’ is closed to new replies.