[pmwiki-users] question about print.tmpl

stephane.smets at banksys.be stephane.smets at banksys.be
Thu Aug 11 01:56:08 CDT 2005


Hello everybody..

I'am facing with questions about printable view.

I would like to use my own template and I had try different way to do that,
but nothing runs.

First test :     $ActionSkin['print'] = 'test'; in my config.php still the
old print layout is shown,  like describe in an old pits (00211) 
Additionally, I put in hard the path to the tmpl file, doesn't run also. And
with LoadPageTemplate( $pagename, "$SkinDir/print.tmpl"); the path is not
filled in but maybe I don't declare correctly the variable.

And I notice also that Pmwiki try to do something because instead of taking
the default tmpl it use the screen tmpl I create. It was like it use the
PageSkinfmt.

Second test : $PrintSkinFmt  = "print.tmpl"; 
Doesn't run also

Third test : I put my print.tmpl in the skin dir or in a subdir of the skin
dir , called print : nothing happens.

Then, I change the print.tmpl of the lean skin wich is available in my farm,
to add my little own text, to see what happens. And nothing appears! My own
text is not in the page, and I seems in fact that is the default pmwiki.tmpl
is used, not the lean/print/print.tmpl..

I also try to see the print output on the internet on installed wiki, I
think they have all the same trouble.

Can somebody explain what I need to do? Is this a .. undocumented feature??

Thanks for the help

Stephane








"The information contained in this e-mail and any attachment thereto is confidential and may contain information which is protected by intellectual property rights.
This information is intended for the exclusive use of the recipient(s) named above.
This e-mail does not constitute any binding relationship or offer toward any of the addressees.
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.
If you have received this message in error, please notify the sender and destroy it immediately after.
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."

-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/pmwiki-users/attachments/20050811/2dba6fbb/attachment.html 


More information about the pmwiki-users mailing list