Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Working on this.
Please, can you create a 8.x branch and a dev release so we can have issues against 8.x, not 7.x?
Comments
Comment #1
joelstein CreditAttribution: joelstein commentedThanks for the note. I'm also working on a D8 version. I'll open up a branch soon and commit what I have, and let you take it from there.
Comment #2
yukare CreditAttribution: yukare commentedOk.
I have it working now, just a minor issue that when i click it, it do the click event two times, so it expands and colapse again.
I will wait for your branch and after this submit patches.
Comment #3
yukare CreditAttribution: yukare commentedComment #4
yukare CreditAttribution: yukare commentedCurrent work on drupal 8 version: https://github.com/yukare/filetree
It works now with drupal beta 6.
Comment #5
yukare CreditAttribution: yukare commentedSorry for the double post.
Comment #6
yukare CreditAttribution: yukare commentedI updated it a lot, so now it works with current git, and did some improvements. I will make a class to render and remove that functions from filter class, so the filter class just parse the param and call the render class to create the html, i need this in a module that i am working, it will use filetree as an service.
Comment #7
kovtunos CreditAttribution: kovtunos commentedHere's my Drupal 8 port: https://github.com/kovtunos/filetree
Works well with Drupal 8.2.6
Comment #8
joelstein CreditAttribution: joelstein at On Fire Media commentedThanks kovtunos! Will somebody please test it out? I'll be glad to open up the D8 branch with this code as a starting point.
Also, would anyone like to co-maintain the project to manage the D8 branch?
Comment #9
Ann August CreditAttribution: Ann August commentedFYI: I installed it on my 8.2.6 test site. It's working perfectly. Thank you.
Comment #10
wheretoplaygames CreditAttribution: wheretoplaygames commentedTested https://github.com/kovtunos/filetree on DP 8.3.1 on IIS 8.5 with AdaptiveThemes 8.x-2.0
...and it is working beautifully!
Comment #11
wheretoplaygames CreditAttribution: wheretoplaygames commentedOnly works in one directory? I'm having this weird issue with #7, where the first fieltree directory i set up works fine, but no others work (just display the code).
Even if i edit the first one to point to a sub-directory of the original, it doesn't work. And i'm sure the file/folder permissions are the same.
ie:
[filetree dir="/pdf"]
works, but[filetree dir="/pdf/subfolder"]
does not.Any ideas why?