Thanks for the rapid response! Yes, I have $smwgShowFactbox =
SMW_FACTBOX_SHOWN . Changing back to SMW_FACTBOX_NONEMPTY resolves
the problem, and works fine for now. It sounds like the bug report
you filed is still a necessary fix though, in case anybody really
wants the factbox always shown on the article page.
yes, good thing we have fast processors. It does seem a little
strange that the factbox code is executed so often when the page is
being rendered for editing - but I understand the SMW code is hooking
into the mediawiki base and there might not be a lot of flexibility in
how it's done.
expandable factbox, as mentioned previously on the list. I'll send a
separate email about the proposed design.
On 9/12/06, S Page <skierpage@...> wrote:
> Nick Grandy wrote:
> > When I try to edit a page on my site, the header
> > line for the factbox appears multiple times (six times, in fact).
> > This issue is resolved if I change the settings so that the factbox is
> > never displayed, but that is just a workaround.
> Did you set $smwgShowFactbox in SMW_Settings.php to SMW_FACTBOX_SHOWN ?
> That makes printFactbox() always print the header, and so you'll see one
> for all the multiple invocations of smwfParseHook().
> If so, change it back to SMW_FACTBOX_NONEMPTY. And don't bother with
> the debug code I sent you.
mobile: (+44) 07973 601 114