-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tree Structure for file list #2
Comments
I understand that a stack can be used instead of recursion but I am unsure of what to put into the stack given the variables or how to iterate through the stack. I assume <% control Listing %> iterates through the output from listing(...) but I don't exactly understand how ss handles these things as I just delved in ss today. |
Could work with a little editing? |
in code/controller/cmsmain.php
in code/controllers/assetadmin.php |
Sorry, I don't have time at the moment to look into implementing this, but if you do get this functioning I'd be interested to see a screenshot. |
I want to display all the files in a tree-like structure.
Am I on the right track that it would go something like
<% if Listing %>
<% control Listing %> --this loops through all the elements of listing (folder)
<% if ClassName = Folder %>
--- want to do listing again... how do I do this?
<% end_if %>
<% end_control %>
<% end_if %>
It would be great if I could get this to work just like the default tree structure in ss...
Thanks!
The text was updated successfully, but these errors were encountered: