Greetings,
I ran into an issue with having multiple forum web parts on a page. The result of having more than one is that only the first one is displayed. If the web parts are swapped in order, whichever one is first is the one that displays. The other does not appear at all.
I traced the issue to the ForumDivider class. It appears that the code is setup to turn off other parts under certain conditions. Unfortunately the code is not well documented at that point and so it is difficult to understand why this is done.
I tried removing the code in question and was able to get both forum web parts to appear with no apparent side effects. The code appears around line 374 and looks like the following...
// Forum
else if (startingMode == 1)
{
ForumContext.DisplayOnlyMe(this);
}
Anyone have an explanation as to why this code turns off other web parts? Did it perhaps turn of things that it shouldn't have? Can I safely comment that line out?
Thanks in advance...