Folder API

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dollylamb
    Junior Member
    • Oct 2013
    • 6

    #1

    Folder API

    Hi,

    I'm writing custom application & currently get stuck with folder tree creation. I read core applications (files/tasks/mail/...etc) & able to create folder tree container but cannot find any code to populate tree nodes. Is there any document for this out there?

    Thanks.
  • Viktor Pracht
    Open-Xchange Developer
    • Feb 2007
    • 253

    #2
    The folder tree is hardcoded to use the HTTP API. It uses io.ox/core/api/folder to fetch data.

    Comment

    • dollylamb
      Junior Member
      • Oct 2013
      • 6

      #3
      Thanks Viktor.

      One more question: How to change topbar items order? I tried to extend io.ox/core/topbar/launcher, iterate through items & change their index, but the code however dont work as expect.

      Comment

      • Viktor Pracht
        Open-Xchange Developer
        • Feb 2007
        • 253

        #4
        Changing the order of launchers is not supported. The launchers are displayed in the order, in which they are added.

        The order of other elements beside the launchers can be changed by changing the index of the extensions registered to the extension point 'io.ox/core/topbar', 'io.ox/core/topbar/right', etc.
        Last edited by Viktor Pracht; 03-03-2014, 02:10 PM.

        Comment

        Working...
        X