I added a quick workaround for my users can view the albums in alphabetical order always pretty much, unless otherwise chosen. The A-Z has been a mega hit among my users, everyone already is raving about it.
Now here's how to do what I did!
For the Menu
Go to app/themes/YOURTHEME/header.php
and find line 450
Change that line to:
For the user's page
Go to app/themes/YOURTHEME/views/user.php
and find line 104
Change that line to:
Now here's how to do what I did!
For the Menu
Go to app/themes/YOURTHEME/header.php
and find line 450
Code:
<li><a href="<?php echo CHV\Login::getUser()["url_albums"]; ?>"><?php _se('Albums'); ?></a></li>
Code:
<li><a href="<?php echo CHV\Login::getUser()["url_albums"]; ?>?sort=name_asc"><?php _se('Albums'); ?></a></li>
For the user's page
Go to app/themes/YOURTHEME/views/user.php
and find line 104
Code:
<a class="number-figures" href="<?php echo get_user()["url_albums"]; ?>"><b data-text="album-count"><?php echo get_user()["album_count"]; ?></b> <span data-text="album-label" data-label-single="<?php _ne('album', 'albums', 1); ?>" data-label-plural="<?php _ne('album', 'albums', 2); ?>"><?php _ne('album', 'albums', get_user()['album_count']); ?></span></a>
Code:
<a class="number-figures" href="<?php echo get_user()["url_albums"]; ?>?sort=name_asc"><b data-text="album-count"><?php echo get_user()["album_count"]; ?></b> <span data-text="album-label" data-label-single="<?php _ne('album', 'albums', 1); ?>" data-label-plural="<?php _ne('album', 'albums', 2); ?>"><?php _ne('album', 'albums', get_user()['album_count']); ?></span></a>