NOTE: If you are a developer, please use a private wiki based on foswiki/trunk on a daily base ...or use
trunk.foswiki.org to view this page for some minimal testing.
Use
Item9693 for docu changes for 1.2 and 2.0.
Item11016: FamFamFam buttons do not pick up rev and queryparams for the print action.
| Priority: |
CurrentState: |
AppliesTo: |
Component: |
WaitingFor: |
| Normal |
Closed |
Extension |
FamFamFamContrib |
|
The Print action doesn't pick up the rev= or other query parameters. So print will always print the current revision of the topic, and will lose any URLPARAM based content.
%TMPL:DEF{"top:toolbarbutton_print"}%<span>
<a href="%SCRIPTURL{"view"}%/%WEB%/%TOPIC%?cover=print" title="%MAKETEXT{"Printable version of this topic (p)"}%">
<img alt="%MAKETEXT{"Printable version of this topic (p)"}%" src="%PUBURL%/%SYSTEMWEB%/FamFamFamSilkIcons/printer.png" width="16" height="16" />
</a></span>%TMPL:END%
should probably be:
%TMPL:DEF{"top:toolbarbutton_print"}%<span>
<a href="%SCRIPTURL{"view"}%/%WEB%/%TOPIC%?cover=print;%QUERYSTRING%%REVARG%" title="%MAKETEXT{"Printable version of this topic (p)"}%">
<img alt="%MAKETEXT{"Printable version of this topic (p)"}%" src="%PUBURL%/%SYSTEMWEB%/FamFamFamSilkIcons/printer.png" width="16" height="16" />
</a></span>%TMPL:END%
--
GeorgeClark - 02 Aug 2011
yes

comited fixes, should re-publish, but my net isn't up to it atm.
--
SvenDowideit - 19 Aug 2011