Re: [xwiki-users] Document macro doesn't display all documents
Thanks, I figured it out as well! On Mon, Oct 24, 2016 at 1:18 PM, Vincent Massol wrote: > > > On 24 Oct 2016, at 19:15, Vincent Massol wrote: > > > > > >> On 24 Oct 2016, at 19:14, Dibyendu Das 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 > wrote: > >> > >>> Hi, > >>> > On 21 Oct 2016, at 21:40, Dibyendu Das > 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
Re: [xwiki-users] Document macro doesn't display all documents
> On 24 Oct 2016, at 19:15, Vincent Massol wrote: > > >> On 24 Oct 2016, at 19:14, Dibyendu Das 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 wrote: >> >>> Hi, >>> On 21 Oct 2016, at 21:40, Dibyendu Das 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
Re: [xwiki-users] Document macro doesn't display all documents
> On 24 Oct 2016, at 19:14, Dibyendu Das 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 wrote: > >> Hi, >> >>> On 21 Oct 2016, at 21:40, Dibyendu Das 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 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Document macro doesn't display all documents
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 wrote: > Hi, > > > On 21 Oct 2016, at 21:40, Dibyendu Das 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
Re: [xwiki-users] Document macro doesn't display all documents
Hi, > On 21 Oct 2016, at 21:40, Dibyendu Das 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
[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 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users