[Pmwiki-users] Print view broken (pmwiki 1.0.7)

Alexandre Courbot Alexandre.Courbot
Tue Aug 31 02:29:37 CDT 2004


> Are you able to send me a link to a non-working version, with
> 
>     $enablediag = 1;
> 
> And perhaps list your config.php file.

Sure. You can try a non-working version at

http://www.lifl.fr/RD2P/Eng

Just click 'Printable view' and see the external links at the middle of 
the page.

?action=diag does work too.

My config.php is readable at http://www.lifl.fr/RD2P/config.php.txt

> I'd like to get to the bottom of this, as it sounds like a bug in 
> the publish script, or an interaction between it and something else.
> 
> My guess is that the template is being set incorrectly somewhere 
> and once we can find where, it should be easy to fix. I hope.
> 
> One other thing you could try: comment out everything in config.php
> *except* the include_once("local/wikilog/wikilog-config.php"); plus
> your logo, your template and $enablediag = 1;
> 
> Does the problem still occur?

If I do this, I get a fine printable view... in my non-printable 
template. To get the right template I must set $EnablePrint = 1; also 
and in this case, I get the right template but the links are messed up.

It seems to me that this has something to do with $EnablePrint (why is 
it set to 0 in the Calendar script?)

Thanks for your help!
Alex.
-- 
Alexandre Courbot
PhD Student - LIFL/RD2P
http://www.lifl.fr/~courbot/



More information about the pmwiki-users mailing list