Re: OR in Showifs (Was: Re: Secure Web Server)

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 24614
interpreted = N
texte = Actually, this is what I did:[showif [username]!username][include includes/knownuser.inc][/showif] [hideif [username]!username][include includes/newuser.inc][/hideif]The html I was hiding/showing was credit card form with info that comes from an orders database. Users were either coming from a logged in userarea or a new user area, but I also needed to show the cc info properly when the page refreshed, like when they hit a remove from shopping cart link.This was a whole lot cleaner...Thanks for the many suggestions... Will> > [math show=f]showit=0[/math] > > [showif [referrer]=pageA] > [math show=f]showit=1[/math] > [/showif] > > [showif [referrer]=pageB] > [math show=f]showit=1[/math] > [/showif] > > > [showif [showit]=1] > some html > [/showif] > > [showif [showit]!1] > some other html > [/showif] > > ___Joe___ > > _________________________________________________ > Joseph D'Andrea JoeDan@West21.com > WEST21.com Internet services for the 21st Century > http://www.west21.com/ > _________________________________________________ > > > > > ------------------------------------------------------------- > Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. > To end your Mail problems go to . > > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > >------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Associated Messages, from the most recent to the oldest:

    
Actually, this is what I did:[showif [username]!username][include includes/knownuser.inc][/showif] [hideif [username]!username][include includes/newuser.inc][/hideif]The html I was hiding/showing was credit card form with info that comes from an orders database. Users were either coming from a logged in userarea or a new user area, but I also needed to show the cc info properly when the page refreshed, like when they hit a remove from shopping cart link.This was a whole lot cleaner...Thanks for the many suggestions... Will> > [math show=f]showit=0[/math] > > [showif [referrer]=pageA] > [math show=f]showit=1[/math] > [/showif] > > [showif [referrer]=pageB] > [math show=f]showit=1[/math] > [/showif] > > > [showif [showit]=1] > some html > [/showif] > > [showif [showit]!1] > some other html > [/showif] > > ___Joe___ > > _________________________________________________ > Joseph D'Andrea JoeDan@West21.com > WEST21.com Internet services for the 21st Century > http://www.west21.com/ > _________________________________________________ > > > > > ------------------------------------------------------------- > Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. > To end your Mail problems go to . > > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > >------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Will Starck

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Creating folders and deleting files (1997) Hello??? (1997) NT Version on IIS 4.0 (1997) Separate SSL Server (1997) WebCat2b15MacPlugin - [protect] (1997) SSL (1998) Store Example to Use (1998) Re:Signal Raised (1997) WebCat2b13MacPlugIn - More limits on [include] (1997) Trouble with Showif and Search (1998) hotmail filtering emails (2004) Separate SSL Server (1997) Location of Browser Info.txt file (1997) blank page from template (1997) FYI: virus alert (1996) Setting up emailer (1998) Re:WebCatalog/WebMerchant III (1998) Crazy dates (was: sorting dates) (1999) WC2b15 File Corruption (1997) WebCatalog/Mac 2.1b2 New Features (1997)