[Pmwiki-users] screen and print template question
John Rankin
john.rankin
Thu Nov 4 14:25:09 CST 2004
Is there a preferred approach in situations where:
- an action other than 'print' (in my case 'publish')
uses a print.tmpl
- the script disables the scripts/print.php call
- other customisations may load after the script and
overwrite the template setting, so you get the screen
template instead of the print one
One approach (to stimulate ideas for a better one) would be:
- provide an array of actions that invoke the code to
activate print.tmpl; by default, $PrintActions = array('print');
- separate out of scripts/print.php the piece that activates
the specified print template
I think that would do it. Or have I missed something here?
--
JR
--
John Rankin
More information about the pmwiki-users
mailing list