Hi Shekhar,
I've never experienced this type of problem, but I just played around
with my OutputPage.php to see if I could recreate this problem, and I
did by switching two lines in this chunk of code (this is the
properly functioning code):
if ($this->mArticleBodyOnly) {
$this->out($this->mBodytext);
} else {
wfProfileIn( 'Output-skin' );
wfExhibitAddHTMLHeader( $this );
$sk->outputPage( $this );
wfProfileOut( 'Output-skin' );
}
When I switched the order of "wfExhibitAddHTMLHeader( $this );" and
"$sk->outputPage( $this );" my wibbit failed to render. Can you make
sure that your lines aren't reversed? Hopefully this is the problem,
and I solved it :)
Let me know if this doesn't work.
Margaret
On Feb 20, 2008, at 1:45 AM, Shekhar Krishnan wrote:
> I've just been playing with Wibbit on my mediawiki installation here:
>
> http://scripts.mit.edu/~controversy/wiki
>
> After hooking everything up, exhibits were displaying fine, but after
> creating and editing a page once the exhibit api fails to load and
> render the page, for example:
>
> http://scripts.mit.edu/~controversy/wiki/index.php?
> title=Disasters_Exhibit_and_Timeline
>
> However, if I click on 'edit' and then 'Show Preview', I can then see
> the table in exhibit and map views with facets. Any other attempt to
> view the page only shows the default table view, and exhibit fails to
> load.
>
> According to the troubleshooting instructions on
> http://simile.mit.edu/wiki/Wibbit/Install this could be because
> "wfExhibitAddHTMLHeader( $this );" was not in the right place in
> wiki/includes/OutputPage.php but I sure it's in the right place and it
> seems that for preview views of pages ExhibitCreate.js is being called
> properly, just not on other pages.
>
> I have checked all my other settings and everything else is in the
> right
> place. Any help on getting this working would be deeply appreciated!
>
> Best,
>
>
> S.K.
> --
>
> Shekhar Krishnan
> MIT E51-185
> 77, Massachusetts Avenue
> Cambridge, MA 02139
> U.S.A.
>
> http://www.mit.edu/~shekhar
> http://www.heptanesia.net
> http://www.crit.org.in/members/shekhar
>
> _______________________________________________
> General mailing list
> [email protected]
> http://simile.mit.edu/mailman/listinfo/general
_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general