Submitted by : simon at: 2003-10-26T21:32:44+00:00 (17 years ago)
Name :
Category : Severity : Status :
Optional subject :  
Optional comment :

In 0.23.0rc5 I set up the following simple structure:


I also create a link from page4 to page1. When I go to page1 and check the backlinks, it indeed shows Frontpage and page4. But when I make page4 also the parent of page1, it turns into complete chaos. Especially the wikinav portlet in Plone becomes a mess:

    * FrontPage
          o page1 <--you are here
                + page5 
          o page4
                + page1 ... <--you are here
          o page2
          o page3 
    * []
          o page1 ... <--you are here

Then I go back to page1 and remove the parent page4. Indeed, it now shows that page1 only has one parent: Frontpage. However, the portlet still shows a mess. The only thing I can do is to recreate the pages and copy the content into them.


wikinav portlet has problems displaying multiple parents ? --SimonMichael, Wed, 08 Oct 2003 12:16:22 -0700 reply
Thanks Dean. Would this be an accurate characterisation ? And wikinav_portlet doesn't seem to be used by default - is that correct ?

... -- Wed, 08 Oct 2003 12:39:06 -0700 reply
Well, the portlet wasn't activated indeed. Add it to the slot properties in the setup. Quite easy. I did alter the slots pretty much actually and unfortuntaly had to change the code in since all the formatting is done there. I didn't want the bullets and the you are here text. Just bold was enough. Also the top link was wrong, linked to /Frontpage. So removed that one too including the link to the folder itself. Now it works great for me ;-) (unless you start reparenting, hehe). I could see that the nesting list inside renderContent was wrongly built. Didn't have time to debug any deeper. You can do that a lot better ;-).

ok --SimonMichael, Wed, 08 Oct 2003 13:00:31 -0700 reply
The parenting code cleanup has begun, but there's much more that can be done. But I see this is not release-critical, good.

property change --SimonMichael, Wed, 08 Oct 2003 13:01:04 -0700 reply
Title: IssueNo0629 reparenting not working well => 'IssueNo0629? zwiki_plone's wikinav_portlet can't display multiple parents' Category: general => skins and content

... --SimonMichael, Wed, 22 Oct 2003 07:58:25 -0700 reply
With current code, this seems to do what we'd expect (for now): . Two "you are here"s, no extra blank parent.

But the wikinav box and context(with_siblings=1) is also showing children of the current page, which I think is a regression that should be fixed.

fixed for 0.24 --SimonMichael, Wed, 22 Oct 2003 09:14:53 -0700 reply
Status: open => closed