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 Solution11770 Bernardo Plaza Court, #462 | SiteEdit Pro, SiteCheck, PhotoMasterSan Diego, CA 92128 | SiteGuard619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com
Associated Messages, from the most recent to the oldest:
>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 Solution11770 Bernardo Plaza Court, #462 | SiteEdit Pro, SiteCheck, PhotoMasterSan Diego, CA 92128 | SiteGuard619/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:
Help formatting search results w/ table (1997)
New WebCatalog 402 (UNIX) patch available... (2001)
Summing fields (1997)
SKU (1997)
Encrypted Templates Serving as Text (2000)
Date Bug (1998)
[addlineitems] display (1997)
Nested tags count question (1997)
format search comparison Q (2000)
WebCat2 Append problem (B14Macacgi) (1997)
All choices on IE different than Netscape (1997)
Weird Math and SV (1997)
Sorting LISTFILES (1997)
& not allowed in db by definition? (1999)
WebCatalog 4.0 has been released! (2000)
Almost a there but..bye bye NetCloak (1997)
WC Database Format (1997)
webcat method for waiting specific amount of time? (2000)
RAM variables (1997)
TaxRate and ShipCost Problem (1998)