• Resolved ZoXx1991

    (@zoxx1991)


    Hey,
    first i would like to say thanks for this genius plugin !

    The plugin is used by my clients to download invoices.

    I write the title as follows:
    2015-07-25

    The problem is that newest bills are the last.
    Is there a way turn around the sorting?

    Thanks!!!

    https://wordpress.org/plugins/file-away/

Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter ZoXx1991

    (@zoxx1991)

    Another BBCode maybe?

    Thread Starter ZoXx1991

    (@zoxx1991)

    Could nobody help me???

    Plugin Author thomstark

    (@thomstark)

    Add sortfirst=”mod-desc” in your shortcode.

    Thread Starter ZoXx1991

    (@zoxx1991)

    Hey,
    thanks for answer!

    But it doenst work!

    my code:

    [O_U user_name=”XXX”][fileaway sub=”XXX” fadein=”opacity” sortfirst=”mod-desc” flightbox=”pdfs” boxtheme=”yang” encryption=”on” theme=”silk” iconcolor=”red” corners=”roundtop”][/O_U]

    Plugin Author thomstark

    (@thomstark)

    Oh I thought you were sorting by date modified. You’re sorting by file name. That would be sortfirst="filename-desc".

    All of this is in the tutorials provided with the plugin of course. Enjoy.

    Thread Starter ZoXx1991

    (@zoxx1991)

    Hey,
    thanks !!

    But this code doesnt work, too.

    [O_U user_name=”XXX”][fileaway sub=”XXX” fadein=”opacity” sortfirst=”filename-desc” flightbox=”pdfs” boxtheme=”yang” encryption=”on” theme=”silk” iconcolor=”red” corners=”roundtop”][/O_U]

    Plugin Author thomstark

    (@thomstark)

    Ah, dammit. You’re not in a table. You’re in a list. I didn’t notice that. In a list style display, files are sorted alphabetically, ascending. You can only control the sorting in a table style display.

    Thread Starter ZoXx1991

    (@zoxx1991)

    Could you please give me the code for table?

    Plugin Author thomstark

    (@thomstark)

    [fileaway sub="XXX" type="table" mod="no" fadein="opacity" sortfirst="filename-desc" flightbox="pdfs" boxtheme="yang" encryption="on" theme="yang"]

    Plugin Author thomstark

    (@thomstark)

    I forgot about this option, if you want to stick with the list:

    [fileaway sub="XXX" fadein="opacity" limit="5000" limitby="alpha-desc" flightbox="pdfs" boxtheme="yang" encryption="on" theme="silk" iconcolor="red" corners="roundtop"]

    You can use the “limit” feature to get around the sorting issue. Just set the limit to a really high number so that has no effect, and then limitby=”alpha-desc” will work for you.

    Thread Starter ZoXx1991

    (@zoxx1991)

    Great !!!
    BIG THANKS!!!

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Directory Files – Sorted List – newest on top’ is closed to new replies.