On May 16, 2017, at 12:16 PM, אחיקם אלירז
I want to a add a new tab, neer the tab 'discussion', and to call it
There is some extensions for new tabs, but all of them made the tabs in the
How can I do it? is it possible?
I'm not sure I understand your question exactly. Something like this might work in
public static function onGetPreferences(User $user, array &$preferences)
$preferences['foo'] = array(
'type' => 'toggle',
'label' => 'foofoo',
'section' => "draft/sectionxyz"
With this in extension.json:
And, in en.json, items like "prefs-draft": "Draft" and
"prefs-draft-sectionxyz": "Section XYZ".
Wenlin Institute, Inc. SPC (a Social Purpose Corporation)
Software for Learning Chinese
E-mail: wenlin(a)wenlin.com Web: http://www.wenlin.com
Telephone: 1-877-4-WENLIN (1-877-493-6546)