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
Comment #1
olofbokedal commentedI'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..
Comment #2
olofbokedal commentedFound 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.
Comment #3
robert castelo commentedWorks.
Comment #4
ivnishComment #6
vuilUpdate the patch to the latest 7.x-2.x-dev and commit it! Thanks to all.