[pmwiki-users] Turning off Headers
Imperial College Caving Club
ic.caving at gmail.com
Sat May 3 20:01:13 CDT 2008
PM got me thinking along the right lines:
Actually changed to both:
$HTMLStartFmt="";
$HTMLEndFmt="";
(as on our site the wrapped header & footer sorts that)
And found part of the function in:
PrintFmt (lines 880 --> of pmwiki.php) which actually seemed to be
sending the headers and deleted it.
Ugly, but it works :)
Still coughs up a few modified header problems when editing pages, but
only the site maintainers have to see that...
Jarv
2008/5/4 Patrick R. Michaud <pmichaud at pobox.com>:
> On Sat, May 03, 2008 at 11:40:13PM +0100, Imperial College Caving Club wrote:
> > Everything works nicely; except I can't find how to turn off pm trying
> > to broadcast html headers, even though that is now done by the PHP
> > that it is wrapped around, and so merely generates the ugly "Warning:
> > Cannot modify header information..." at the top of the Wiki page.
> >
> > Any hints would be most welcome!
>
> You could try:
>
> $HTMLStartFmt =
> array( &$HTMLDoctypeFmt, &$HTMLHeaderFmt, &$HTMLBodyFmt );
>
> Pm
>
--
Imperial College Caving Club
http://union.ic.ac.uk/rcc/caving
ic.caving [AT] gmail.com
More information about the pmwiki-users
mailing list