<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>question about print.tmpl</TITLE>
</HEAD>
<BODY>
<P ALIGN=LEFT><FONT COLOR="#000000" SIZE=2 FACE="Trebuchet MS">Hello everybody..</FONT></P>
<P ALIGN=LEFT><FONT COLOR="#000000" SIZE=2 FACE="Trebuchet MS">I'am facing with questions about printable view.</FONT></P>
<P ALIGN=LEFT><FONT COLOR="#000000" SIZE=2 FACE="Trebuchet MS">I would like to use my own template and I had try different way to do that, but nothing runs.</FONT></P>
<P ALIGN=LEFT><FONT COLOR="#000000" SIZE=2>First test :</FONT><FONT COLOR="#000000" SIZE=2> $ActionSkin['print'] = 'test'; in my config.php still the old print layout is shown, </FONT> <FONT COLOR="#000000" SIZE=2>like describe in an old pits (00211)</FONT> </P>
<P ALIGN=LEFT><FONT COLOR="#000000" SIZE=2>Additionally</FONT><FONT COLOR="#000000" SIZE=2>, I put in hard the path to the tmpl file, doesn't run also.</FONT><FONT COLOR="#000000" SIZE=2> And with</FONT> <FONT COLOR="#000000" SIZE=2 FACE="Verdana">LoadPageTemplate( $pagename, "$SkinDir/</FONT><B></B><B><FONT COLOR="#0000FF" SIZE=2 FACE="Verdana">print.tmpl</FONT></B><FONT COLOR="#000000" SIZE=2 FACE="Verdana">")</FONT><FONT COLOR="#000000" SIZE=2 FACE="Verdana">;</FONT><FONT COLOR="#000000" SIZE=2 FACE="Verdana"> the path is not filled in but ma</FONT><FONT COLOR="#000000" SIZE=2 FACE="Verdana">ybe I</FONT> <FONT COLOR="#000000" SIZE=2 FACE="Verdana">don</FONT><FONT COLOR="#000000" SIZE=2 FACE="Verdana">'</FONT><FONT COLOR="#000000" SIZE=2 FACE="Verdana">t</FONT><FONT COLOR="#000000" SIZE=2 FACE="Verdana"></FONT> <FONT COLOR="#000000" SIZE=2 FACE="Verdana">declare correctly the variable.</FONT></P>
<P ALIGN=LEFT><FONT COLOR="#000000" SIZE=2>And I notice also that Pmwiki try to do something</FONT> <FONT COLOR="#000000" SIZE=2>because</FONT><FONT COLOR="#000000" SIZE=2></FONT> <FONT COLOR="#000000" SIZE=2>instead of taking the default tmpl it use the screen tmpl I create. It was like it use the PageSkinfmt.</FONT></P>
<P ALIGN=LEFT><FONT COLOR="#000000" SIZE=2>Second test :</FONT> <FONT COLOR="#000000" SIZE=2 FACE="Verdana">$PrintSkinFmt = "</FONT><B></B><B><FONT COLOR="#0000FF" SIZE=2 FACE="Verdana">print.tmpl</FONT></B><FONT COLOR="#000000" SIZE=2 FACE="Verdana">"</FONT><FONT COLOR="#000000" SIZE=2 FACE="Verdana">;</FONT><FONT COLOR="#000000" SIZE=2 FACE="Verdana"> </FONT></P>
<P ALIGN=LEFT><FONT COLOR="#000000" SIZE=2 FACE="Verdana">Doesn</FONT><FONT COLOR="#000000" SIZE=2 FACE="Verdana">'</FONT><FONT COLOR="#000000" SIZE=2 FACE="Verdana">t run also</FONT></P>
<P ALIGN=LEFT><FONT COLOR="#000000" SIZE=2 FACE="Verdana">Third test : I put my print.tmpl in the skin dir or in a subdir of the skin dir , called print : nothing happens.</FONT></P>
<P ALIGN=LEFT><FONT COLOR="#000000" SIZE=2>Then, I change the p</FONT><FONT COLOR="#000000" SIZE=2>rint.tmpl of the lean skin wich is available in my farm, to add my little own text, to see what happens.</FONT> <FONT COLOR="#000000" SIZE=2>And nothing appears! My own text is not in the page, and I</FONT><FONT COLOR="#000000" SIZE=2></FONT> <FONT COLOR="#000000" SIZE=2>seems</FONT> <FONT COLOR="#000000" SIZE=2>in fact that is the default pmwiki.tmpl is used, not the lean/print/print.tmpl..</FONT></P>
<P ALIGN=LEFT><FONT COLOR="#000000" SIZE=2>I also try to see the print output on the internet on installed wiki, I think they have all the same trouble.</FONT></P>
<P ALIGN=LEFT><FONT COLOR="#000000" SIZE=2>Can somebody explain what I need to do? Is this a .. undocumented feature??</FONT></P>
<P ALIGN=LEFT><FONT COLOR="#000000" SIZE=2>Thanks for the help</FONT></P>
<P ALIGN=LEFT><FONT COLOR="#000000" SIZE=2>Stephane</FONT></P>
<BR>
<BR>
<BR>
<BR>
<BR>
<FONT SIZE=3><BR>
<BR>
"The information contained in this e-mail and any attachment thereto is confidential and may contain information which is protected by intellectual property rights.<BR>
This information is intended for the exclusive use of the recipient(s) named above.<BR>
This e-mail does not constitute any binding relationship or offer toward any of the addressees.<BR>
If you are not one of the addressees , one of their employees or a proxy holder entitled to hand over this message to the addressee(s), any use of the information contained herein (e.g. reproduction, divulgation, communication or distribution,...) is prohibited.<BR>
If you have received this message in error, please notify the sender and destroy it immediately after.<BR>
The integrity and security of this message cannot be guaranteed and it may be subject to data corruption, interception and unauthorized amendment, for which we accept no liability."<BR>
</FONT>
</BODY>
</HTML>