numero = 33692
interpreted = N
texte = I really don't know what is causing your problem, but can you try to base the hideif onsomething other than [thisURL]?If I remember right, [thisURL] acts differently on differernt platforms, so maybe italso 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]
> [/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:
Re: Code intermittently reverts to previous state (John Butler 2000)
I really don't know what is causing your problem, but can you try to base the hideif onsomething other than [thisurl]?If I remember right, [thisurl] acts differently on differernt platforms, so maybe italso 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]
> [/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
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...