Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Can the navigation menu items be reordered?
matt
✭✭
Best Answer
-
peregrine MVP
you can put something like this in config.
$Configuration['Garden']['Menu']['Sort'] = array('Discussions', 'Conversations', 'User', 'Questions', 'Activity', 'Applicants', 'Dashboard');
you can reorder in plugin as well, I suppose by setting config
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
1
Answers
you can put something like this in config.
$Configuration['Garden']['Menu']['Sort'] = array('Discussions', 'Conversations', 'User', 'Questions', 'Activity', 'Applicants', 'Dashboard');
you can reorder in plugin as well, I suppose by setting config
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
Thanks very much.
profile tabs also ala businessdad:
$Configuration['Garden']['ProfileTabOrder'] = array('MyTab', 'Discussions', 'Thanks', 'Comments', 'Votes');
http://vanillaforums.org/discussion/comment/162956/#Comment_162956
more on plugin ala gary mardell
http://vanillaforums.org/discussion/9725/menu-position-code-advice
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
figured I'd add this here from another thread on sorting on items
e.g. to put who's online at the the top followed by...
from the documentation:
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
@peregrine how about sorting the Custom Menu, the one created for menu items added by plugins?
I've run into the same dilemma.
try this - if you are successful - post here.
http://vanillaforums.org/discussion/9725
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
That doesn't work for me, the order on the front end remains unchanged.
I kind of expected that as the system menu links are written first, and the {custom_menu} is written afterwards in the template.
As a workaround I just moved the position of {custom_menu} in my theme template
As a side note, I was never able to get the config sort to work, either:
$Configuration['Garden']['Menu']['Sort'] = array(...);
seems like the easiest way in smarty template.
the menu sort doesn't seem to work with smarty templates, but it will work for non-smarty themes like the default theme.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
Good to know, thanks
hijacked your thread a little...
more info here ...
figured I'd put links and info in this thread so I have links and info to where I want to go.
in one bookmark
http://www.vanilla-wiki.info/vdocs/hierarchy.html
http://vanillawiki.homebrewforums.net/index.php/Main_Page
http://vanillawiki.homebrewforums.net/index.php/Modules
http://vanillaforums.org/docs/modules
http://vanillaforums.org/docs/errors
http://vanillaforums.org/discussion/comment/163138/#Comment_163138
http://vanillaforums.org/discussion/19915/deploying-a-new-forum-and-adding-a-theme-for-everyone#latest
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.