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

joelstein’s picture

Thanks 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.

yukare’s picture

Ok.
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.

yukare’s picture

Assigned: yukare » Unassigned
yukare’s picture

Current work on drupal 8 version: https://github.com/yukare/filetree

It works now with drupal beta 6.

yukare’s picture

Sorry for the double post.

yukare’s picture

I 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.

kovtunos’s picture

Here's my Drupal 8 port: https://github.com/kovtunos/filetree
Works well with Drupal 8.2.6

joelstein’s picture

Thanks 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?

Ann August’s picture

FYI: I installed it on my 8.2.6 test site. It's working perfectly. Thank you.

wheretoplaygames’s picture

Tested 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!

wheretoplaygames’s picture

Only 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?