Comments on jsTree Macro
Last modified by Admin on 2021/03/17 21:52
- Manage
- Copy
- Actions
- Export
- Print Preview
- Viewers
- Source
- Siblings
- Content
- Attachments (5)
- History
- Information
- Likes
Export
Choose the export format from the list below:
$services.rendering.render($uix.execute(), 'html/5.0')
- Office Formats (1)
-
Export as Portable Document Format (PDF) using the Web Browser
-
- Other Formats (1)
-
Export as HyperText Markup Language (HTML)
-
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
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.
The best would probably be a pull request on https://github.com/xwiki-contrib/macro-jstree.
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" /}}
Might be better to call this "excludedSpaces" since hidden spaces is a notion that already exists in XWiki!
I tried this macro, but when I try to use in on sub-wiki, it attempts to look up articles on mother wiki