[pmwiki-users] Fox preview syntax

Randy Brown randy at brownragfilms.com
Mon Jun 15 18:03:40 CDT 2009


Thanks for the suggestion. Unfortunately, it didn't have any effect. I  

(:fox myform ptvtarget=Main.WikiSandbox3  
previewtemplate=Main.WikiSandbox2 redirect={*$FullName}":)


(:fox myform previewtemplate=Main.WikiSandbox2 redirect={*$FullName}":)
(:if ! foxpreview:)(:foxptv Main.WikiSandbox3:)(:if:)

I continue to get an update even when previewing.


On Jun 15, 2009, at 5:01 PM, Hans wrote:
> Instead of putting ptvtarget=Group.PageName into the (:fox ...:)  
> markup,
> use (:foxptv Group.PageName:) and enclosde it in a conditional like
> (:if ! foxpreview:)(:foxptv Group.PageName:)(:if:)
> so Fox will only use the ptvtarget given when not previewing.
>  ~Hans

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20090615/6cc6ea7a/attachment.html 

More information about the pmwiki-users mailing list