Customizing SMF > Modifications and Packages

SA Knowledge Base

<< < (2/63) > >>

you mean choose placement of the menu button?


--- Quote from: SA™ on January 22, 2012, 04:46:37 PM ---you mean choose placement of the menu button?

--- End quote ---

Yes...however, as a sub-menu button in a drop-down.  Not as a main menu tab.

yeah i hear ya ill see what i can do though im not fully sure how to implement sub button part going to think how i can achive this

I look forward to your next release...

In the meantime...where's the code that adds the current KB tab to the menu?  I'd like to remove it and manually code Subs.php to add the link as a sub-menu link in the Help tab.

Thanks, in advance...

that can be found in sources/KB/KBHooks.php

--- Code: ---if(!empty($modSettings['kb_enabled']) && allowedTo('view_knowledge')){
    KB_array_insert($menu_buttons, 'mlist',
    'kb' => array(
    'title' => $txt['knowledgebase'],
    'href' => $scripturl . '?action=kb',
    'show' => true,
    'sub_buttons' => array(
    'active_button' => false,
--- End code ---


[0] Message Index

[#] Next page

[*] Previous page

Go to full version