CPHDH / Curatescape

A set of add-ons for the Omeka content management system, designed specifically for location-based narrative content, and compatible with (optional) paid Curatescape mobile applications.

Home Page:https://curatescape.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ability to sort Related Resources entries

jbretmaney opened this issue · comments

Feature request. We are using the Related Resources section as a bibliography for articles (here's an example) and would find it useful if we could change the order of individual entries afterwards to keep the full list alphabetized. At present, the entries appear in the order in which they were inputted. This means that when a new resource entry is added, the full list often needs to be re-done to maintain alphabetization (that is, unless we've missed something). Thanks for considering!

Hi @jbretmaney, this is more of an Omeka feature request. I've also felt the pain of not being able to easily re-order metadata fields.

If you have the ability/inclination to edit the code yourself, you'd want to change the rl_related_links() function in the theme's custom.php file around line 1196. Just adding a new line like sort($relations); before the foreach loop should automatically alphabetize the output on the frontend so you don't need to manually re-order the entries.

Thank you for these clarifications, @ebellempire. I should have known you would already have remedied this, had it been possible.