Comments on jsTree Macro

Last modified by Admin on 2021/03/17 21:52

  • Danilo Oliveira
    Danilo Oliveira, 2014/04/25 20:44

    in order to make this extension to work, I needed to change the query.

    in the function getnodeurl, I took off the following part:
    " and doc.language ='' ''

    The parameter above was makeing return 0 results of my spaces.

    Great Extension!
    thanks

  • Eduardo Abritta
    Eduardo Abritta, 2014/05/13 19:11

    Hi, I modified your extension to show just one space.
    I needed to took off the parameter that Danilo comented above.
    I attached my version too.

    Ty, bye.

    • Thomas Mortagne
      Thomas Mortagne, 2014/05/14 09:31

      The best would probably be a pull request on https://github.com/xwiki-contrib/macro-jstree.

    • Josef Haimerl
      Josef Haimerl, 2014/05/15 14:24

      Thanks. I already updated the extension - future versions will have a macro parameter 'hiddenSpaces'. This will allow you to hide certain spaces.
      e.g. {{jstree hiddenSpaces="Sandbox" /}}

      • Vincent Massol
        Vincent Massol, 2014/05/15 14:28

        Might be better to call this "excludedSpaces" since hidden spaces is a notion that already exists in XWiki! emoticon_smile

  • Pavel D.
    Pavel D., 2015/06/18 11:54

    I tried this macro, but when I try to use in on sub-wiki, it attempts to look up articles on mother wiki

Get Connected