Add sortfirst=”mod-desc” in your shortcode.
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]
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.
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]
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.
Could you please give me the code for table?
[fileaway sub="XXX" type="table" mod="no" fadein="opacity" sortfirst="filename-desc" flightbox="pdfs" boxtheme="yang" encryption="on" theme="yang"]
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.