[prev in list] [next in list] [prev in thread] [next in thread] 

List:       interchange-users
Subject:    Re: [ic] OrderCheck Logged In User Only
From:       Kevin Walsh <kevin () cursor ! biz>
Date:       2008-03-24 21:45:09
Message-ID: 200803242145.10318.kevin () cursor ! biz
[Download RAW message or body]

David Christensen <david@endpoint.com> wrote:
> On Mar 24, 2008, at 1:18 PM, Sam Batschelet wrote:
> >
> > 5.4.1 I am trying to set a custom foo.oc in OrderCheck to only run  
> > if the
> > user is logged in and was wondering if there was a way I could use  
> > something
> > like [if session logged_in] ...
> >
> You're definitely on the right track: you should be able to put  
> something like this in your profiles:
> 
> field1=required "missing field1!"
> ...
> [if session user]
>      useronly=required "only logged-in users get this condition!"
> [/if]
> 
I'd stick with "logged_in" rather than "user".  Other than that, the
advice is good.

See here for a list of session keys and their meaning:

    http://www.interchange.rtfm.info/icdocs/tags/if.html#session

-- 
   _/   _/  _/_/_/_/  _/    _/  _/_/_/  _/    _/
  _/_/_/   _/_/      _/    _/    _/    _/_/  _/   K e v i n   W a l s h
 _/ _/    _/          _/ _/     _/    _/  _/_/    kevin@cursor.biz
_/   _/  _/_/_/_/      _/    _/_/_/  _/    _/
_______________________________________________
interchange-users mailing list
interchange-users@icdevgroup.org
http://www.icdevgroup.org/mailman/listinfo/interchange-users
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic