Loading...
 
Skip to main content

Features / Usability


Adjust order of file gallery file listings

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

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


In the code you can change
$sort_mode = 'created_desc';
with
$sort_mode = 'name_asc';
in tiki-file_galleries.php

sylvie

> 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


> 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

> 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.