On Sat, Feb 28, 2009 at 2:40 AM, Linly <[email protected]> wrote:
>
> I'm testing the info counter function. It's amazingly simple. I put
> this line in page "bottom":
>
> [(info counter field='{p}' target='info.counter')]
>
> And the pageview number of whole site would be recorded into
> "info.counter". I have only one problem that I'd like to exclude the
> pageview came from myself. So I wrote a condition:
>
> [if ! admin][(info counter field='{p}' target='info.counter')][if]
>
> But it did not work. Where did I do wrong?

You have to remember the order of processing. [( )] functions are
processed before conditionals. So the count gets increased. Change it
to <(info...)>

Cheers,
Dan

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"BoltWire" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/boltwire?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to