View Full Version : List sections in alphabetical order
AndrewSimm
03-23-2013, 04:07 AM
How would I go about making the box that list sections, list them in alphabetical order instead of order they are created. When We promote an article to a thread I would like for the mod to be able to find the section easily.
I rss each section into my entry page on vbadvanced so that is why I have a lot of sections.
Lynne
03-23-2013, 04:03 PM
I would guess you need to modify the query near the bottom of the packages/vbcms/widget/sectionnavext.php file to order by the title instead of the leftnode.
AndrewSimm
03-26-2013, 05:38 AM
Its not a widget but under the heading "Publishing Options" when promoting a post to an article.
Lynne
03-26-2013, 05:52 PM
Ah, under Display Settings > Section. Those are actually in the same order as listed in the Admicnp > vBulletin CMS > Section Manager. So, if you list them in the order you want them in the Section Manager, then they would show in that order when promoting a thread. It looks like the sections are set in packages/vbcms/content/section.php around line 1062-1104. So, you would need to modify that code there.
AndrewSimm
03-27-2013, 05:56 AM
Ok I want them to show in order they are promoted but in the list to select the section I would like that list to show in alphabetical order.
Is that still in the section.php file?
--------------- Added 1364363958 at 1364363958 ---------------
$displayorder_array = array(0 => '');
Maybe changing that?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.