Loading...
 
Features / Usability

Features / Usability


Adjust order of file gallery file listings

posts: 20 United States

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

posts: 4644 Japan

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

-- Gary


posts: 1092

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

sylvie

posts: 131 Singapore

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

--kwow

posts: 1092


> 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 beforerolleyes
>
> --kwow
I have no idea you I did that... wrong manipulation, I suppose .It seems that I attached an empty file

posts: 96 United States

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


Upcoming Events

No records to display

Menu