Adjust order of file gallery file listings Posted by frikk 18 Nov 2005 20:36 UTC Surely theres a way to adjust the order of how files are displayed in the file galleries? I have newsletters that are in a file gallery that are out of order, I'd like them to be in order. Thanks! Blaine
Posted by Gary Cunningham-Lee 21 Nov 2005 04:57 UTC I don't see a "default sort order" option for file galleries like the one for image galleries, so it doesn't seem to be (easily) possible. Files are apparently listed newest-first only. The database info could be edited to change the upload times of the files to rearrange their order, but this isn't exactly a user-friendly method. 😕 -- Gary
Posted by sylvie greverend 21 Nov 2005 19:11 UTC In the code you can change $sort_mode = 'created_desc'; with $sort_mode = 'name_asc'; in tiki-file_galleries.php sylvie $sort (0 b)
Posted by kwow 22 Nov 2005 04:54 UTC > In the code you can change > $sort_mode = 'created_desc'; > with > $sort_mode = 'name_asc'; > in tiki-file_galleries.php > > sylvie Can you tell what kind of link you have put under your name?? It say it is an forum attachment download...something new that i did not see before🙄 --kwow
Posted by sylvie greverend 22 Nov 2005 12:14 UTC > Can you tell what kind of link you have put under your name?? It say it is an forum attachment download...something new that i did not see before🙄 > > --kwow I have no idea you I did that... wrong manipulation, I suppose .It seems that I attached an empty file
Posted by bzahn 15 Dec 2005 19:55 UTC > In the code you can change > $sort_mode = 'created_desc'; > with > $sort_mode = 'name_asc'; > in tiki-file_galleries.php > > sylvie That also works for tiki_galleries.php, but tiki-browse_gallery.php is a little different. I tried adding 'name' as the sort order, but it didn't change anything. I would like to alphabetize the display of my pictures in the galleries.