Results 1 to 1 of 1

Thread: Tree Example Modification

  1. #1
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,379

    Default Tree Example Modification

    I just found Ext JS and am trying to use it. I wanted to start with the tree example but am running into a wall.

    I'm just trying to edit get-nodes.php to use my filesystem.

    on line 23 you have :

    PHP Code:
    $dir = isset($_REQUEST['lib'])&&$_REQUEST['lib'] == 'yui' '../../../' '../../'
    Where it has '../../' I tried to change that to match my filesystem but it just give me the root as a leaf and no children under it. I've tested the JSON and it shows 1 folder (which is correct) but the tree doesn't populate with the 1 folder. Am I changing it right?

  2. #2
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,379

    Default

    test
    Mitchell Simoens @LikelyMitch

    Check out my GitHub:
    https://github.com/mitchellsimoens

    Posts are my own, not any current, past or future employer's.

Posting Permissions

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