[xwiki-users] Parent/Child Relationships
Hi all, I have a problem with the parent child relationships. The problem has allready been an issue (see detailed information below) and a solution has been given by Sergiu Dumitriu, but this solution does not seem to work for me. Whenever I leave out the space from the parent, my child has no parents at all anymore, it does not automatically get parents assigned. Basicly what I want to do is set up mutliple spaces, where some pages are used in more than only one space. I want that the users stay in their respective space, but see the pages form other spaces sometimes. What works great for this is the include macro, but the bigger my wiki gets, the more includes I have and this might get a bit chaotic in the future. A much cleaner solution would be to just link from one Space.Page to another, but when I do this my breadcrumb navigation does not follow, since I have the Parent Child issue unsolved. I know it must work, I just dont know how to get it to work. Any help would be greatly appreciated. Greetings, Wouter On 05/13/2010 10:19 AM, S.L wrote:
Hi all,
I have a page "Child" in with Space A(A.Child), with parent "A.Main".
Now I would like to copy this page to Space B, so it becomes "B.Child with parent "B.Main". But when I copy page using copy function in UI or using "xwiki.xWiki.copyDocument", "B.Child" 's parent is always "A.Main".
What could I do to acheive my expected result, "B.Main"? Since I would like to use marco to copy multiple pages, I hope I could find a solution besides manually modifying the pages.
Thank you so much for you help!
You can leave out the space from the parent, as in "Main". This will always resolve to the "Main" document in the current space, thus A.Main when the document is in the space A, B.Main when in space B. -- Sergiu Dumitriu from: http://lists.xwiki.org/pipermail/users/2010-May/020659.html
Hi, The Space.Page structure and also the Parent.Child structure are not made to have multiple parents. In order to have your behavior you would have to use tags or categories, in order to assing pages to different/multiple groups. You would have to do your custom displayers for this kind of navigation if the tag cloud is not enough. Thanks, Caty On Mon, Jul 11, 2011 at 12:08, Wouter de Vos <[email protected]>wrote:
Hi all,
I have a problem with the parent child relationships. The problem has allready been an issue (see detailed information below) and a solution has been given by Sergiu Dumitriu, but this solution does not seem to work for me. Whenever I leave out the space from the parent, my child has no parents at all anymore, it does not automatically get parents assigned.
Basicly what I want to do is set up mutliple spaces, where some pages are used in more than only one space. I want that the users stay in their respective space, but see the pages form other spaces sometimes. What works great for this is the include macro, but the bigger my wiki gets, the more includes I have and this might get a bit chaotic in the future. A much cleaner solution would be to just link from one Space.Page to another, but when I do this my breadcrumb navigation does not follow, since I have the Parent Child issue unsolved.
I know it must work, I just dont know how to get it to work. Any help would be greatly appreciated.
Greetings, Wouter
On 05/13/2010 10:19 AM, S.L wrote:
Hi all,
I have a page "Child" in with Space A(A.Child), with parent "A.Main".
Now I would like to copy this page to Space B, so it becomes "B.Child
with
parent "B.Main". But when I copy page using copy function in UI or using "xwiki.xWiki.copyDocument", "B.Child" 's parent is always "A.Main".
What could I do to acheive my expected result, "B.Main"? Since I would like to use marco to copy multiple pages, I hope I could find a solution besides manually modifying the pages.
Thank you so much for you help!
You can leave out the space from the parent, as in "Main". This will always resolve to the "Main" document in the current space, thus A.Main when the document is in the space A, B.Main when in space B. -- Sergiu Dumitriu
from: http://lists.xwiki.org/pipermail/users/2010-May/020659.html _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Hi Caty, Thank you for the reply, I was allready fearing this would not be a possibility, which seems strange to me though, not being able to interlink between spaces-pages withouth having full control over the breadcrumb navigation. I will give your suggestions a go and see what I come up with... Thanks again, Wouter On 7/14/11, Ecaterina Moraru (Valica) <[email protected]> wrote:
Hi,
The Space.Page structure and also the Parent.Child structure are not made to have multiple parents. In order to have your behavior you would have to use tags or categories, in order to assing pages to different/multiple groups. You would have to do your custom displayers for this kind of navigation if the tag cloud is not enough.
Thanks, Caty
On Mon, Jul 11, 2011 at 12:08, Wouter de Vos <[email protected]>wrote:
Hi all,
I have a problem with the parent child relationships. The problem has allready been an issue (see detailed information below) and a solution has been given by Sergiu Dumitriu, but this solution does not seem to work for me. Whenever I leave out the space from the parent, my child has no parents at all anymore, it does not automatically get parents assigned.
Basicly what I want to do is set up mutliple spaces, where some pages are used in more than only one space. I want that the users stay in their respective space, but see the pages form other spaces sometimes. What works great for this is the include macro, but the bigger my wiki gets, the more includes I have and this might get a bit chaotic in the future. A much cleaner solution would be to just link from one Space.Page to another, but when I do this my breadcrumb navigation does not follow, since I have the Parent Child issue unsolved.
I know it must work, I just dont know how to get it to work. Any help would be greatly appreciated.
Greetings, Wouter
On 05/13/2010 10:19 AM, S.L wrote:
Hi all,
I have a page "Child" in with Space A(A.Child), with parent "A.Main".
Now I would like to copy this page to Space B, so it becomes "B.Child
with
parent "B.Main". But when I copy page using copy function in UI or using "xwiki.xWiki.copyDocument", "B.Child" 's parent is always "A.Main".
What could I do to acheive my expected result, "B.Main"? Since I would like to use marco to copy multiple pages, I hope I could find a solution besides manually modifying the pages.
Thank you so much for you help!
You can leave out the space from the parent, as in "Main". This will always resolve to the "Main" document in the current space, thus A.Main when the document is in the space A, B.Main when in space B. -- Sergiu Dumitriu
from: http://lists.xwiki.org/pipermail/users/2010-May/020659.html _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
participants (2)
-
Ecaterina Moraru (Valica) -
Wouter de Vos