Skip to content

stuck getting jqueryfiletree to work #11

@a2b-alb

Description

@a2b-alb

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions