You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i call the public funnction in the last line of my plugin init with: $this->plugin_submenu();
but i get a error in the roundcube logfile:
PHP Fatal error: call to undefinded method rcmail_output_json::button()
Do you have any idea what i miss or can you please give a little bit more detailed instructions how to implement a submenu to a taskbar button?
Update: I have now seen that the div is added in the html source above the footer and in the header section rcmail.register_button is added for every entry in the menu. However, the php error is not gone :-( I didn't understand why the error occurs and the code is executed.
The text was updated successfully, but these errors were encountered:
Im a little bit confused. I have now tried the following code in my client.js file:
buttonid is the id of my button in the taskbar. In my plugin.php file i have a function for adding the menu above the page footer:
i call the public funnction in the last line of my plugin init with: $this->plugin_submenu();
but i get a error in the roundcube logfile:
PHP Fatal error: call to undefinded method rcmail_output_json::button()
Do you have any idea what i miss or can you please give a little bit more detailed instructions how to implement a submenu to a taskbar button?
Update: I have now seen that the div is added in the html source above the footer and in the header section rcmail.register_button is added for every entry in the menu. However, the php error is not gone :-( I didn't understand why the error occurs and the code is executed.
The text was updated successfully, but these errors were encountered: