Homepage | Products | OX Knowledge Base | Support | Try Now | Contact | Company
OX Logo
Results 1 to 7 of 7
  1. #1
    Join Date
    Oct 2011
    Posts
    5

    Default Create a new plugin

    I'm learning how to add a new plugin in te configuration in Ox6, but I'm having problems trying to add a new tab in a leaft node, I want to put two pages, each one in diferent tab but in the same leaf node. I read the api but I can't understand how.

    Please any help it's helpfull.


    Thanks.

    Ps: I don't know where put this question.

  2. #2
    Join Date
    Feb 2007
    Posts
    252

    Default

    Take a look at the classes ox.Configuration.Tabs and ox.Configuration.Tab.

    You will need a recent GUI source. The documentation can be either build to HTML by executing "ant jsdoc" from the top source directory, or looked up in the source code directly in the file js/configuration.js.

  3. #3
    Join Date
    Oct 2011
    Posts
    5

    Default

    First of all thanks.

    I install Eclipse (galileo) and download the GUI source but I can't find the ox.Configuration.Tab, I already look in the configuration.js. but can't find either.

    The source it's from the branch 6_18_2, besides the source throw me a lot of errors.
    I'm really loss here, please any advice?

  4. #4
    Join Date
    Feb 2007
    Posts
    252

    Default

    The classes were introduced in version 6.20.

  5. #5
    Join Date
    Oct 2011
    Posts
    5

    Default

    Thanks for the answer, but went a try to update to the 6.20 branch I can't connect to the server.
    Error while loading project set, reason: Could not connect to: pserver:cvs.netline.de:/var/lib/cvs: Cannot locate host: cvs.netline.de

    I had no problems with the 6.18.2 version.

    I still can't find the ox.Configuration.Tabs .

    My idea it's create a interface inside the tree, in the Configuration section, I think in a leaf node create a interface whit two tabs or modify the User leaf node whit a new tab to create a user.

    Please I'm reading the code of the open-xchange but I'm still very loss.

    Thanks in advance.
    Last edited by kenmod; 11-02-2011 at 05:24 PM.

  6. #6
    Join Date
    Feb 2007
    Posts
    252

    Default

    This sounds like you checked out server code. The CVS command to check out the GUI code is:
    Code:
    cvs -d :pserver:anonymous@www.open-xchange.com:/cvsroot co open-xchange-gui
    If you want to run your plugin in 6.18, then you can copy the class definitions from js/configuration.js into your plugin. Don't forget to either remove them when you upgrade your OX to 6.20+ or to check if the classes exist at runtime before overwriting them.

  7. #7
    Join Date
    Oct 2011
    Posts
    5

    Default

    Thanks for the answer.
    First try whit not luck but I think I make it work.

    Thanks Viktor Pracht

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •