Totally Zenned
- Join Date:
- Apr 2007
- Location:
- Ontario, Canada
- Posts:
- 1,733
- Plugin Contributions:
- 14
BannersAll sort order fix
Minor change may help correct sort order issues in BannersAll
Condition: Sort order is not being followed - Stock Responsive Classic Template.
Found in:
includes/templates/YOUR_TEMPLATE/sideboxes/tpl_banner_box_all.php
line 22
$sql = "select banners_id from " . TABLE_BANNERS . " where status = 1 " . $new_banner_search . $my_banner_filter . " order by banners_sort_order";
The Fix:
$sql = "select banners_id from " . TABLE_BANNERS . " where status = 1 " . $new_banner_search . $my_banner_filter . " order by banners_sort_order asc"; // Twitch fix banners display sort order
Now my banners follow the correct sort order.
Twitch.
https://www.twitchtoo.com Do you work for free? Please donate.
June 7.2026 - NOW AVAILABLE - Twitch Base8 - Obsidian