Re: $Replace with [founditems]

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 10815
interpreted = N
texte = >I am trying to replace a db record and then display a template with >[founditems] so I can use [xxx] tags on that template. Works fine with >$Search but not with $Replace (it will not show anything between >[founditems] [/founditems]. Here's the code on the page that replaces >the record and goes to the next template:$Replace will replace all the records you specify, but it has nothing to do with [FoundItems] -- that only works after a $Search or inside an embedded [Search]. I suggest you embed a complete [search] context on the page you go to after the $Replace.[Search db=xx&whatever] [FoundItems] [/FoundItems] [/Search]Grant Hulbert, V.P. Engineering | ===== Tools for WebWarriors ===== Pacific Coast Software | WebCatalog Pro, WebCommerce Solution 11770 Bernardo Plaza Court, #462 | SiteEdit Pro, SiteCheck, PhotoMaster San Diego, CA 92128 | SiteGuard 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com Associated Messages, from the most recent to the oldest:

    
  1. Re: $Replace with [founditems] (Grant Hulbert 1997)
  2. $Replace with [founditems] (Karl Schroll 1997)
>I am trying to replace a db record and then display a template with >[founditems] so I can use [xxx] tags on that template. Works fine with >$Search but not with $Replace (it will not show anything between >[founditems] [/founditems]. Here's the code on the page that replaces >the record and goes to the next template:$Replace will replace all the records you specify, but it has nothing to do with [founditems] -- that only works after a $Search or inside an embedded [search]. I suggest you embed a complete [search] context on the page you go to after the $Replace.[Search db=xx&whatever] [founditems] [/FoundItems] [/Search]Grant Hulbert, V.P. Engineering | ===== Tools for WebWarriors ===== Pacific Coast Software | WebCatalog Pro, WebCommerce Solution 11770 Bernardo Plaza Court, #462 | SiteEdit Pro, SiteCheck, PhotoMaster San Diego, CA 92128 | SiteGuard 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com Grant Hulbert

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:

WebDNA (WebCatalog) working with iTools 7.3 (2004) WebCatalog/Mac 2.1b2 New Features (1997) WebCat2b15MacPlugin - [protect] (1997) Web Catalog 2 demo (1997) CAPTCHA system in webDNA (2005) Trouble with formula.db (1997) WebCatalog2 Feature Feedback (1996) [TCPSend] and whois? (1999) XML Woes (2004) Mixing and/or in searches (1998) emailer w/F2 (1997) Setting Cart value (2000) RE: shrink-wrapped version out yet? (1997) WCS Newbie question (1997) Bad Cookie / Internet Option / Internet Explorer (2004) Duplicate Cart ID (2001) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) [WebDNA] WebDNA app store (2011) shownext (1997) Help with Shipping Costs (1997)