[xwiki-users] Sorting pages in a tree macro
Hello, In XWiki Enterprise 7.4.2., is it possible to sort girls pages in a tree macro ? For example, if I create a page for each chapter of a documentation, and I want the parent page to contain the list, should I do the summary by hand ? Thanks. _________________________________________________ Bruno Joffredo Ecole Centrale de Nantes Centre de Ressources Informatiques - Bur. D019 1 rue de la Noë BP 92101 F-44321 Nantes cedex 3 Tél. 02.40.37.68.06 Mail : bruno.joffredo@ec-nantes.fr <mailto:bruno.joffredo@ec-nantes.fr> _________________________________________________
On Tue, Jun 7, 2016 at 5:29 PM, Bruno <Bruno.Joffredo@ec-nantes.fr> wrote:
Hello,
In XWiki Enterprise 7.4.2., is it possible to sort girls pages in a tree macro ?
I suppose you are referring to the document tree macro http://extensions.xwiki.org/xwiki/bin/view/Extension/Document+Tree+Macro . The child pages are already sorted by their (technical) name. There is an open issue http://jira.xwiki.org/browse/XWIKI-12832 to sort by page title. What do you want to sort by?
For example, if I create a page for each chapter of a documentation, and I want the parent page to contain the list, should I do the summary by hand ?
Thanks.
_________________________________________________
Bruno Joffredo
Ecole Centrale de Nantes
Centre de Ressources Informatiques - Bur. D019
1 rue de la Noë
BP 92101
F-44321 Nantes cedex 3
Tél. 02.40.37.68.06 Mail : bruno.joffredo@ec-nantes.fr <mailto:bruno.joffredo@ec-nantes.fr> _________________________________________________ _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Le 08/06/2016 18:51, Marius Dumitru Florea a écrit :
On Tue, Jun 7, 2016 at 5:29 PM, Bruno <Bruno.Joffredo@ec-nantes.fr> wrote:
Hello,
In XWiki Enterprise 7.4.2., is it possible to sort girls pages in a tree macro ?
I suppose you are referring to the document tree macro http://extensions.xwiki.org/xwiki/bin/view/Extension/Document+Tree+Macro . The child pages are already sorted by their (technical) name. There is an open issue http://jira.xwiki.org/browse/XWIKI-12832 to sort by page title. What do you want to sort by?
I am referring to the gadget "Page tree" which allows to sort the pages by drag and drop. However, he does not preserve the imposed order (on my wiki). I would like to be able to sort manually, to give the order I want to my pages (as with "Page tree" but with order preserved). Is it possible or must I do it by creating my summary manually ?
For example, if I create a page for each chapter of a documentation, and I want the parent page to contain the list, should I do the summary by hand ?
Thanks.
_________________________________________________
Bruno Joffredo
Ecole Centrale de Nantes
Centre de Ressources Informatiques - Bur. D019
1 rue de la Noë
BP 92101
F-44321 Nantes cedex 3
Tél. 02.40.37.68.06 Mail : bruno.joffredo@ec-nantes.fr <mailto:bruno.joffredo@ec-nantes.fr> _________________________________________________ _______________________________________________ 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
_________________________________________________ Bruno Joffredo Ecole Centrale de Nantes Centre de Ressources Informatiques - Bur. D019 1 rue de la Noë BP 92101 F-44321 Nantes cedex 3 Tél. 02.40.37.68.06 Mail : bruno.joffredo@ec-nantes.fr <mailto:bruno.joffredo@ec-nantes.fr> _________________________________________________
On Thu, Jun 9, 2016 at 5:49 PM, Bruno <Bruno.Joffredo@ec-nantes.fr> wrote:
Le 08/06/2016 18:51, Marius Dumitru Florea a écrit :
On Tue, Jun 7, 2016 at 5:29 PM, Bruno <Bruno.Joffredo@ec-nantes.fr> wrote:
Hello,
In XWiki Enterprise 7.4.2., is it possible to sort girls pages in a tree macro ?
I suppose you are referring to the document tree macro
http://extensions.xwiki.org/xwiki/bin/view/Extension/Document+Tree+Macro . The child pages are already sorted by their (technical) name. There is an open issue http://jira.xwiki.org/browse/XWIKI-12832 to sort by page title. What do you want to sort by?
I am referring to the gadget "Page tree" which allows to sort the pages by drag and drop. However, he does not preserve the imposed order (on my wiki).
I'm not sure what you mean by "Page tree" gadget. If it's the tree displayed on the home page by default then it uses the Document Tree Macro http://extensions.xwiki.org/xwiki/bin/view/Extension/Document+Tree+Macro and it doesn't have drag & drop enabled by default precisely because the changes are not saved. Check the "readOnly" parameter: "Note that the changes you make to the tree structure are currently not saved. This is something we'd like to implement in the future."
I would like to be able to sort manually, to give the order I want to my pages (as with "Page tree" but with order preserved).
Is it possible or must I do it by creating my summary manually ?
For example, if I create a page for each chapter of a documentation, and I
want the parent page to contain the list, should I do the summary by hand ?
Thanks.
_________________________________________________
Bruno Joffredo
Ecole Centrale de Nantes
Centre de Ressources Informatiques - Bur. D019
1 rue de la Noë
BP 92101
F-44321 Nantes cedex 3
Tél. 02.40.37.68.06 Mail : bruno.joffredo@ec-nantes.fr <mailto:bruno.joffredo@ec-nantes.fr> _________________________________________________ _______________________________________________ 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
_________________________________________________
Bruno Joffredo
Ecole Centrale de Nantes
Centre de Ressources Informatiques - Bur. D019
1 rue de la Noë
BP 92101
F-44321 Nantes cedex 3
Tél. 02.40.37.68.06 Mail : bruno.joffredo@ec-nantes.fr <mailto:bruno.joffredo@ec-nantes.fr> _________________________________________________
_______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Le 09/06/2016 18:03, Marius Dumitru Florea a écrit :
On Thu, Jun 9, 2016 at 5:49 PM, Bruno <Bruno.Joffredo@ec-nantes.fr> wrote:
Le 08/06/2016 18:51, Marius Dumitru Florea a écrit :
On Tue, Jun 7, 2016 at 5:29 PM, Bruno <Bruno.Joffredo@ec-nantes.fr> wrote:
Hello,
In XWiki Enterprise 7.4.2., is it possible to sort girls pages in a tree macro ?
I suppose you are referring to the document tree macro
http://extensions.xwiki.org/xwiki/bin/view/Extension/Document+Tree+Macro . The child pages are already sorted by their (technical) name. There is an open issue http://jira.xwiki.org/browse/XWIKI-12832 to sort by page title. What do you want to sort by?
I am referring to the gadget "Page tree" which allows to sort the pages by drag and drop. However, he does not preserve the imposed order (on my wiki).
I'm not sure what you mean by "Page tree" gadget. If it's the tree displayed on the home page by default then it uses the Document Tree Macro http://extensions.xwiki.org/xwiki/bin/view/Extension/Document+Tree+Macro and it doesn't have drag & drop enabled by default precisely because the changes are not saved. Check the "readOnly" parameter:
"Note that the changes you make to the tree structure are currently not saved. This is something we'd like to implement in the future."
OK. I will rename pages by prefixing them with numbers. Thanks !
I would like to be able to sort manually, to give the order I want to my pages (as with "Page tree" but with order preserved).
Is it possible or must I do it by creating my summary manually ?
For example, if I create a page for each chapter of a documentation, and I
want the parent page to contain the list, should I do the summary by hand ?
Thanks.
_________________________________________________
Bruno Joffredo
Ecole Centrale de Nantes
Centre de Ressources Informatiques - Bur. D019
1 rue de la Noë
BP 92101
F-44321 Nantes cedex 3
Tél. 02.40.37.68.06 Mail : bruno.joffredo@ec-nantes.fr <mailto:bruno.joffredo@ec-nantes.fr> _________________________________________________ _______________________________________________ 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
_________________________________________________
Bruno Joffredo
Ecole Centrale de Nantes
Centre de Ressources Informatiques - Bur. D019
1 rue de la Noë
BP 92101
F-44321 Nantes cedex 3
Tél. 02.40.37.68.06 Mail : bruno.joffredo@ec-nantes.fr <mailto:bruno.joffredo@ec-nantes.fr> _________________________________________________
_______________________________________________ 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
_________________________________________________ Bruno Joffredo Ecole Centrale de Nantes Centre de Ressources Informatiques - Bur. D019 1 rue de la Noë BP 92101 F-44321 Nantes cedex 3 Tél. 02.40.37.68.06 Mail : bruno.joffredo@ec-nantes.fr <mailto:bruno.joffredo@ec-nantes.fr> _________________________________________________
participants (2)
-
Bruno -
Marius Dumitru Florea