[pmwiki-users] {$Action} broken?

Bart pmwiki-users at mediamatrix.nl
Tue Aug 22 15:52:02 CDT 2006


On Tue, Aug 22, 2006 at 09:25:25AM -0500, Patrick R. Michaud wrote:
| On Tue, Aug 22, 2006 at 04:10:13AM +0200, Bart wrote:
| > Hi, 
| > 
| > 
| > When I put {$Action} into my Site/PageActions page it displays all the
| > action in progress. Only not when action=print it then displays: "browse"
| > instead of "print"
| 
| I agree, this is unexpected/undesirable behavior.  I'll see
| about fixing it for the next release.
| 
| Pm


Thanks for taking care of this Pm, I'll appreciate that :-) Also thanks for
your input Pico.

As a temporary quick workaround for the moment I came up with:

in config.php 
# Reading action from the URL to bypass $Action problem, when action=print
$Conditions['get_action'] = '\$_GET["action"]==\$condparm';

In PmWiki page:
(:if ( ! get_action print ) :)
* %item rel=nofollow class=print accesskey='$[ak_print]'%[[{$FullName} | $[print] ]]
(:ifend:)



Bart





More information about the pmwiki-users mailing list