Author Topic: how can i added a new "task" in tabs of main interface  (Read 3504 times)

Offline mckaygerhard

  • Jr. Member
  • **
  • Posts: 29
how can i added a new "task" in tabs of main interface
« on: May 23, 2014, 01:05:24 PM »
i wish like the contacts, or help or calendar plugins, added a tab but for already made plugin..

i modifiy the "userifno" plugin for retunrs more usefull info... but i wish such feature as a tab (or task like contacts or settings)

how can i added that? please i a newbie on roundcube!

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,856
Re: how can i added a new "task" in tabs of main interface
« Reply #1 on: May 24, 2014, 11:33:14 AM »
Take a look at some of the existing plugins. The "help" plugin for example.... https://github.com/roundcube/roundcubemail/blob/master/plugins/help/help.php#L44

That line adds a button to the taskbar container, the image is set using CSS.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and moreā€¦

Offline mckaygerhard

  • Jr. Member
  • **
  • Posts: 29
Re: how can i added a new "task" in tabs of main interface
« Reply #2 on: May 26, 2014, 12:05:35 PM »
in fact, ithe only i see do that its the help plugin, but when i try the code, the js has different api calls ...

i try to made tabs buttons for password and userinfo plugins!!

any suggestion?