What is WebDNA

WebDNA is a scripting and database system designed to easily build web applications.

WebDNA and BioType

BioType service is a biometric keystroke dynamic system. It will be part of WebDNA 8.5

Download WebDNA

Download WebDNA freeware, try it and register later if you want.

WebDNA resources

The list of all WebDNA instructions.
WebDNA
Software Corporation
Search WebDNA Site
 Menu


HOME


DOWNLOADS


LEARN


EDUCATION


NEWS


COMMUNITY


STORE


SUPPORT


CONTACT

Re: Code intermittently reverts to previous state

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 33692
interpreted = N
texte = I really don't know what is causing your problem, but can you try to base the hideif on something other than [thisURL]? If I remember right, [thisURL] acts differently on differernt platforms, so maybe it also acts differently in other situations. Nice and vague huh? ;-) Anyway try-----START /calendars.tpl ----- [text]isCalendarsTMPL=yes[/text] [hideif [isCalendarsTMPL]=yes]Quantity: [/hideif] -----END /calendars.tpl -----and see it that makes a difference-JohnGabriel Shirley wrote:> Hi, > > I've been tracking a frustrating intermittent problem where WebCat appears > to be occasionally serving code that has since been modified. The problem > is not reproducible on demand, but there have been enough user reports to > verify that it's happening with different pages on the same server (and > different browsers/platforms). It seems to be related to [showif] and > [hideif] contexts not working properly under some set of conditions. > > If anyone has experienced this kind of behavior, I'd appreciate hearing > about it and learning if you found a solution. Here is a specific example: > > -----Example----- > http://www.brushdance.com/tpl/calendars.tpl > This template displays calendars that will be (but are not yet) for sale on > this site. An earlier (development) version of this template allowed you to > add the calendars to your cart. The current version has the quantity field > and add to cart button hidden so that orders can't be placed at this time. > > [hideif [thisURL]^calendars.tpl] size=2 face=Arial, Helvetica, sans-serif>Quantity: name=quantity size=3 value=1> > > > > [/hideif] > > Yesterday an order came through that included a calendar. The only way this > is possible is if the code above is not hidden. That should be impossible > because the calendars are only visible on calendars.tpl. It may also be > relevant to say that the code above is part of an include file that is > called by calendars.tpl to display the product. > -----/Example----- > > Is there some known set of conditions that causes [hideif] and [showif] tags > to not do their jobs? > > WebStar 4.2 > WebCat plugin 3.0.4 > MacOS 9 > G4/400 > 80MB available to WebCat > > TIA, > > Gabriel > -- > Gabriel Shirley > Big Mind Media - http://www.bigmindmedia.com > P.O. Box 1093 - 772 Camano Avenue, Suite 101 > Langley, WA 98260 > 360-221-7701 - 360-838-0117 Fax > --- > BigMindMedia jobs & internships: > http://www.bigmindmedia.com/html/company/jobs.html > --- > > ------------------------------------------------------------- > 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 > Web Archive of this list is at: http://search.smithmicro.com/ ------------------------------------------------------------- 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 Web Archive of this list is at: http://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Code intermittently reverts to previous state (John Butler 2000)
  2. Code intermittently reverts to previous state (Gabriel Shirley 2000)
I really don't know what is causing your problem, but can you try to base the hideif on something other than [thisurl]? If I remember right, [thisurl] acts differently on differernt platforms, so maybe it also acts differently in other situations. Nice and vague huh? ;-) Anyway try-----START /calendars.tpl ----- [text]isCalendarsTMPL=yes[/text] [hideif [isCalendarsTMPL]=yes]Quantity: [/hideif] -----END /calendars.tpl -----and see it that makes a difference-JohnGabriel Shirley wrote:> Hi, > > I've been tracking a frustrating intermittent problem where WebCat appears > to be occasionally serving code that has since been modified. The problem > is not reproducible on demand, but there have been enough user reports to > verify that it's happening with different pages on the same server (and > different browsers/platforms). It seems to be related to [showif] and > [hideif] contexts not working properly under some set of conditions. > > If anyone has experienced this kind of behavior, I'd appreciate hearing > about it and learning if you found a solution. Here is a specific example: > > -----Example----- > http://www.brushdance.com/tpl/calendars.tpl > This template displays calendars that will be (but are not yet) for sale on > this site. An earlier (development) version of this template allowed you to > add the calendars to your cart. The current version has the quantity field > and add to cart button hidden so that orders can't be placed at this time. > > [hideif [thisurl]^calendars.tpl] size=2 face=Arial, Helvetica, sans-serif>Quantity: name=quantity size=3 value=1> > > > > [/hideif] > > Yesterday an order came through that included a calendar. The only way this > is possible is if the code above is not hidden. That should be impossible > because the calendars are only visible on calendars.tpl. It may also be > relevant to say that the code above is part of an include file that is > called by calendars.tpl to display the product. > -----/Example----- > > Is there some known set of conditions that causes [hideif] and [showif] tags > to not do their jobs? > > WebStar 4.2 > WebCat plugin 3.0.4 > MacOS 9 > G4/400 > 80MB available to WebCat > > TIA, > > Gabriel > -- > Gabriel Shirley > Big Mind Media - http://www.bigmindmedia.com > P.O. Box 1093 - 772 Camano Avenue, Suite 101 > Langley, WA 98260 > 360-221-7701 - 360-838-0117 Fax > --- > BigMindMedia jobs & internships: > http://www.bigmindmedia.com/html/company/jobs.html > --- > > ------------------------------------------------------------- > 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 > Web Archive of this list is at: http://search.smithmicro.com/ ------------------------------------------------------------- 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 Web Archive of this list is at: http://search.smithmicro.com/ John Butler

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:

WebCat2b12 CGI Mac - [shownext] problem (1997) WebCat editing, SiteGuard WAS:SiteAssociative lookup style? (1997) Date errors? (1999) WebDNA 5 - Privacy Issue (Built in sniffer) (2003) RE: Automatic Forwarding using WebCat (1997) URGENT: WebDNA Server Not Running (2003) error -108 (1997) [setcookie] & [redirect] (1998) Another question (1997) RE: WebCatalog2 for NT Beta Request (1997) Re:[ShowIf] and empty fields (1997) Running 2 two WebCatalog.acgi's (1996) Mime-Version in email header (1997) Running 2 two WebCatalog.acgi's (1996) Some shell fun (2004) Nav. 4 probs with cart - Serious problem (1997) Repeating Fields (1997) database size? (1997) UPS online tools assuming one package per item no matterthe quantity. (2003) FAX orders (1996)