Re: WebCatalog [FoundItems] Problem - AGAIN -
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 11815
interpreted = N
texte = >What I have done is copied the WebCatalog>folder and renamed it Craig. (that way when I screw something up I>still have the WebCatalog folder to refer back to).I recommend you make a copy of only the GeneralStore folder, and move it up one level (outside of the WebCatalog folder itself). What' you're doing doesn't hurt, but it's overkill, and in the future you may want to replace your entire WebCatalog folder (hence the reason for moving the duplicate GeneralStore _outside_ WebCatalog's folder).>I found that if I move the closing tag [/FoundItems] to after the>[/table] tag I get multiple small tables with headers and the correct>data. So, I know the search is working - it just is not displaying the>items correctly in one single table.This almost certainly means that the HTML you are generating is not correct -- perhaps a missing or tag or something like that. The best thing to do in this case is to do a View Source from your browser to see what's being generated. It may be invisible when rendered in a web page, but it certainly will show up in the source.The trick is to wrap the [FoundItems] around the HTML for a single row in the table, so that the row gets repeated once for each found item:
Name | Service | Rate | Description |
[FoundItems] [name] | [Service] | [Rate] | [Description] |
[/FoundItems]
Grant Hulbert, V.P. Engineering | ===== Tools for WebWarriors =====Pacific Coast Software | WebCatalog Pro, WebCommerce Solution11770 Bernardo Plaza Court | 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:
>What I have done is copied the WebCatalog>folder and renamed it Craig. (that way when I screw something up I>still have the WebCatalog folder to refer back to).I recommend you make a copy of only the GeneralStore folder, and move it up one level (outside of the WebCatalog folder itself). What' you're doing doesn't hurt, but it's overkill, and in the future you may want to replace your entire WebCatalog folder (hence the reason for moving the duplicate GeneralStore _outside_ WebCatalog's folder).>I found that if I move the closing tag [/FoundItems] to after the>[/table] tag I get multiple small tables with headers and the correct>data. So, I know the search is working - it just is not displaying the>items correctly in one single table.This almost certainly means that the HTML you are generating is not correct -- perhaps a missing or tag or something like that. The best thing to do in this case is to do a View Source from your browser to see what's being generated. It may be invisible when rendered in a web page, but it certainly will show up in the source.The trick is to wrap the
[founditems] around the HTML for a single row in the table, so that the row gets repeated once for each found item:
Name | Service | Rate | Description |
[founditems] [name] | [Service] | [Rate] | [Description] |
[/FoundItems]
Grant Hulbert, V.P. Engineering | ===== Tools for WebWarriors =====Pacific Coast Software | WebCatalog Pro, WebCommerce Solution11770 Bernardo Plaza Court | 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:
WebCat templates for TyphoonPro admin (1999)
Setting up shop (1997)
# fields limited? (1997)
Re:2nd WebCatalog2 Feature Request (1996)
[REQ] Improved SQL context (2000)
[OT] Form Check java problem (2003)
WC2.0 Memory Requirements (1997)
Search in 2 or more catalogs (1997)
WebCat2final1 crashes (1997)
reverse of math value... (2004)
Image download problem (2001)
Re[2]: Problem with new formvariables (2000)
StoreBuilder Q's (2003)
Sorting by SKU Not Working (1998)
More about BIAP W*API.... (1998)
Max Record length restated as maybe bug (1997)
WC1.6 to WC2 date formatting (1997)
WebDNA performance comparisons? (2004)
Warning: Mac OS X 10.2.4 Update Overwrites Apache's (2003)
Re:WebDNA made easier? (1998)