Skip to content
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

stuck getting jqueryfiletree to work #11

Open
a2b-alb opened this issue Sep 4, 2017 · 0 comments
Open

stuck getting jqueryfiletree to work #11

a2b-alb opened this issue Sep 4, 2017 · 0 comments

Comments

@a2b-alb
Copy link

a2b-alb commented Sep 4, 2017

I am trying to get jqueryfiletree to work. But I'm stuck figuring out what parameters go into your helper functions:
create_doc_tree(id, tree_url, content_url, opts = {})
and
render_doc_tree(parent, dir)

Could you please help me out on how to use the two helper functions in your JqueryFileTree::DocTreeHelper and maybe given example on how to setup the jqueryfiletree in redmine_bootstrap_kit ?

I think it should look something like this, but how does the 'parent' and the 'dir'- array parameter have to look like?

<% content_for :header_tags do %>
<%= bootstrap_load_base %>
<%= jquery_file_tree_load_base %>
<% end %>
<%= create_doc_tree('mytree', '/tree_base_dir/', '/tree_base_dir/', opts = {}) %>
<%= render_doc_tree(parent, dir) %>

Many Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant