View Single Post
Old 05-14-2015, 11:29 PM   #1
Junior Member
 
Join Date: Jan 2015
Posts: 28
mduh is on a distinguished road
Default New toolbar button

Hello,

I would like to add new toolbar button. I have the following code:

Code:
  <metadata name="vm" type="list" key="id" keyname="name" autoupdate="300">
        <toolbar>
             <toolbtn func="uh.console" name="console" img="t-go" type="edit"/>
        </toolbar>
  </metadata>

  <handler name="uh_console.py" type="cgi">
          <func name="uh.console" />
  </handler>

  <lang name="en">
        <messages name="vm">
                <msg name="short_console">Remote console</msg>
                <msg name="hint_console">Remote console</msg>
        </messages>
  </lang>
Unfortunately the new button does not show up. Could you please provide me any clue what am I doing wrong?

Thanks,
-Maciej
mduh is offline   Reply With Quote