Customizing SMF > Modifications and Packages

SA Knowledge Base

<< < (2/51) > >>

SA™:
you mean choose placement of the menu button?

GlitchPC:

--- 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.

SA™:
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

GlitchPC:
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...

SA™:
that can be found in sources/KB/KBHooks.php


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

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version