[xwiki-users] Document macro doesn't display all documents
Hi, I am using this macro in one of my pages: {{velocity}} {{documents parent="$doc.fullName"/}} {{/velocity}} However, it doesn't display all child documents of this page. Why is that? Thanks
Hi,
On 21 Oct 2016, at 21:40, Dibyendu Das <dibyendu.adm@gmail.com> wrote:
Hi,
I am using this macro in one of my pages:
{{velocity}} {{documents parent="$doc.fullName"/}} {{/velocity}}
However, it doesn't display all child documents of this page. Why is that?
The doc is here: http://extensions.xwiki.org/xwiki/bin/view/Extension/Document+Tree+Macro#HPa... As you can see the “parent’ parameter doesn’t seem to exist.. If you wish to display children ,you could use the {{children/}} macro if you’re using XWiki 8.3+, see: http://extensions.xwiki.org/xwiki/bin/view/Extension/Children+Macro/ Otherwise you can use: {{velocity}} {{documentTree root="document:$doc.documentReference" /}} {{/velocity}} Thanks -Vincent
Thanks
Thanks for the suggestion. But I am need a livetable display, how would I go about that? On Fri, Oct 21, 2016 at 3:44 PM, Vincent Massol <vincent@massol.net> wrote:
Hi,
On 21 Oct 2016, at 21:40, Dibyendu Das <dibyendu.adm@gmail.com> wrote:
Hi,
I am using this macro in one of my pages:
{{velocity}} {{documents parent="$doc.fullName"/}} {{/velocity}}
However, it doesn't display all child documents of this page. Why is that?
The doc is here: http://extensions.xwiki.org/xwiki/bin/view/Extension/Document+Tree+Macro# HParameters
As you can see the “parent’ parameter doesn’t seem to exist..
If you wish to display children ,you could use the {{children/}} macro if you’re using XWiki 8.3+, see: http://extensions.xwiki.org/xwiki/bin/view/Extension/Children+Macro/
Otherwise you can use:
{{velocity}} {{documentTree root="document:$doc.documentReference" /}} {{/velocity}}
Thanks -Vincent
Thanks
users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
On 24 Oct 2016, at 19:14, Dibyendu Das <dibyendu.adm@gmail.com> wrote:
Thanks for the suggestion. But I am need a livetable display, how would I go about that?
You can use the {{documents/}} macro and the “location” parameter. Thanks -Vincent
On Fri, Oct 21, 2016 at 3:44 PM, Vincent Massol <vincent@massol.net> wrote:
Hi,
On 21 Oct 2016, at 21:40, Dibyendu Das <dibyendu.adm@gmail.com> wrote:
Hi,
I am using this macro in one of my pages:
{{velocity}} {{documents parent="$doc.fullName"/}} {{/velocity}}
However, it doesn't display all child documents of this page. Why is that?
The doc is here: http://extensions.xwiki.org/xwiki/bin/view/Extension/Document+Tree+Macro# HParameters
As you can see the “parent’ parameter doesn’t seem to exist..
If you wish to display children ,you could use the {{children/}} macro if you’re using XWiki 8.3+, see: http://extensions.xwiki.org/xwiki/bin/view/Extension/Children+Macro/
Otherwise you can use:
{{velocity}} {{documentTree root="document:$doc.documentReference" /}} {{/velocity}}
Thanks -Vincent
Thanks
users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
On 24 Oct 2016, at 19:15, Vincent Massol <vincent@massol.net> wrote:
On 24 Oct 2016, at 19:14, Dibyendu Das <dibyendu.adm@gmail.com> wrote:
Thanks for the suggestion. But I am need a livetable display, how would I go about that?
You can use the {{documents/}} macro and the “location” parameter.
Ah actually this is what you were using, I misread :) So you need to use the “location” parameter instead of the “parent” one. See http://extensions.xwiki.org/xwiki/bin/view/Extension/Documents+Macro (I’ve updated it). Thanks -Vincent
Thanks -Vincent
On Fri, Oct 21, 2016 at 3:44 PM, Vincent Massol <vincent@massol.net> wrote:
Hi,
On 21 Oct 2016, at 21:40, Dibyendu Das <dibyendu.adm@gmail.com> wrote:
Hi,
I am using this macro in one of my pages:
{{velocity}} {{documents parent="$doc.fullName"/}} {{/velocity}}
However, it doesn't display all child documents of this page. Why is that?
The doc is here: http://extensions.xwiki.org/xwiki/bin/view/Extension/Document+Tree+Macro# HParameters
As you can see the “parent’ parameter doesn’t seem to exist..
If you wish to display children ,you could use the {{children/}} macro if you’re using XWiki 8.3+, see: http://extensions.xwiki.org/xwiki/bin/view/Extension/Children+Macro/
Otherwise you can use:
{{velocity}} {{documentTree root="document:$doc.documentReference" /}} {{/velocity}}
Thanks -Vincent
Thanks
Thanks, I figured it out as well! On Mon, Oct 24, 2016 at 1:18 PM, Vincent Massol <vincent@massol.net> wrote:
On 24 Oct 2016, at 19:15, Vincent Massol <vincent@massol.net> wrote:
On 24 Oct 2016, at 19:14, Dibyendu Das <dibyendu.adm@gmail.com> wrote:
Thanks for the suggestion. But I am need a livetable display, how would I go about that?
You can use the {{documents/}} macro and the “location” parameter.
Ah actually this is what you were using, I misread :)
So you need to use the “location” parameter instead of the “parent” one.
See http://extensions.xwiki.org/xwiki/bin/view/Extension/Documents+Macro (I’ve updated it).
Thanks -Vincent
Thanks -Vincent
On Fri, Oct 21, 2016 at 3:44 PM, Vincent Massol <vincent@massol.net>
wrote:
Hi,
On 21 Oct 2016, at 21:40, Dibyendu Das <dibyendu.adm@gmail.com>
wrote:
Hi,
I am using this macro in one of my pages:
{{velocity}} {{documents parent="$doc.fullName"/}} {{/velocity}}
However, it doesn't display all child documents of this page. Why is
that?
The doc is here: http://extensions.xwiki.org/xwiki/bin/view/Extension/ Document+Tree+Macro# HParameters
As you can see the “parent’ parameter doesn’t seem to exist..
If you wish to display children ,you could use the {{children/}} macro if you’re using XWiki 8.3+, see: http://extensions.xwiki.org/xwiki/bin/view/Extension/Children+Macro/
Otherwise you can use:
{{velocity}} {{documentTree root="document:$doc.documentReference" /}} {{/velocity}}
Thanks -Vincent
Thanks
users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
participants (2)
-
Dibyendu Das -
Vincent Massol