vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Admin menu sort order (https://vborg.vbsupport.ru/showthread.php?t=306613)

Bryan Ex 01-04-2014 03:16 PM

Admin menu sort order
 
1 Attachment(s)
In the admin panel on the left side is a list of various menus sections like phrases, templates, users, forums, etc. Where is the sort order kept for this list? I've had a couple of mods that added menu items either at the top or between other related menu functions. I would like to organize my main admin menu a little better if I can. I'm guessing it would be a display order list in the database but can't seem to find it. VB3.8.7

kh99 01-04-2014 03:40 PM

Look at the includes/xml folder. Those menus are described in the cpnav_*.xml files. There are displayorder attributes you could change. Mods will sometimes add a cpnav xml file, but I have seen at least one that added a menu from a plugin (so there would be no xml file).

Bryan Ex 01-04-2014 03:54 PM

Thank you. I wasn't even close to looking there and this issue has bugged me for some time now. Much appreciated.

--------------- Added [DATE]1388865810[/DATE] at [TIME]1388865810[/TIME] ---------------

Worked perfectly kh99. One other question on this is how the grouping of similar menu items might work. If you look at the stock menu items all user options are grouped together as are forums, thread, and images with a double space before the next group. Is this also managed in the xml files?


All times are GMT. The time now is 12:16 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00911 seconds
  • Memory Usage 1,708KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete