I'm wondering that this error is not allready reported. So I hope it hasn't been a misconfiguration.

If I activate the siblingmenu for a page (as teasers), instead of displaying the content, the content ist replaced by the teasers. I don't understand this bug because this bug doesn't occures with the submenu teasers and the implementation is in fact the same.

I made a workaround that made it work for me, but it is not a proper solution so I did not added it as a patch-file. But if someone has the same problem and really needs a solution, just write me.

Comments

olofbokedal’s picture

I'm experiencing the same problem. How did you solve it?

I will dig through the code to see if I can find a proper solution..

olofbokedal’s picture

Status: Active » Needs review
StatusFileSize
new735 bytes

Found the issue, and a somewhat proper solution.

This was caused because the node that's currently being viewed was also being printed. I don't know why it caused the content to be replaced, but IMO, the current node shouldn't be printed since this is called siblings. By removing the current node from the items, the problem doesn't exist anymore.

The provided patch removes the current node from the items before they are being processed.

robert castelo’s picture

Works.

ivnish’s picture

Issue summary: View changes
Status: Needs review » Reviewed & tested by the community

  • vuil committed 5e37879 on 7.x-2.x authored by olofbokedal
    Issue #1410316 by olofbokedal, vuil: Adding siblingmenu to content...
vuil’s picture

Version: 7.x-2.3 » 7.x-2.x-dev
Status: Reviewed & tested by the community » Fixed

Update the patch to the latest 7.x-2.x-dev and commit it! Thanks to all.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.