> I am writing a macro which needs some arguments. I wonder if it is > possible to detect if the page is being previewed? > I would display error message in preview mode, but silently ignore > errors when the page is viewed by a regular user?
Interesting idea, but after thinking about it, I don't think one really wants that. An error should show as long as until it is fixed. Otherwise some not carefully looking (or not previewing at all) editor will introduce errors and noone will see and fix them. ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ Moin-user mailing list Moin-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user