WebCatalog [FoundItems] Problem - AGAIN -

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 11811
interpreted = N
texte = Let's try this again. I posted this question to the list last week only to find out that only the first half was actually sent. Here it is again in its entirety...I hope.Let me start by introducing myself - my name is Craig and I am the Senior Multimedia Programmer for Accent Technical Multimedia. We recently purchased WebCatalog, and I have been given the task of making it work Let me also be the first to say that I am a COMPLETE NOVICE at WebCatalog, my nich is Director and Lingo. So, please excuse my questions that may seem trivial.Right now I have 7600 running WebStar and am using Netscape 3.01 on the same computer to access WebCatalog through WebStar. So far so good. I can run the whole General Store site without problems. In fact, I am quite impressed with how quickly I was able to get everything up and running.So now, I am trying to customize the General Store to accomodate a psuedo-site. Basically I have a simple database with Name, Service, Rate and Description fields. 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).So, anyway, why don't I get to the point? I was able to customize the AdminAdd.tmpl, AdminAdded.tmpl, and CatalogAdmin.tmpl to reflect my different fields and eliminate the ones I didn't need with quick success. I can Add items to the database and they are written to the proper txt file (Providers.txt in this case instead of Catalog.txt) and everything works fine. The problem happens when I try to get the AdminResults.tmpl page to work. I modified the List all items line in the CatalogAdmin.tmpl page to search for items in the Name field that are greater than a:List All Service Providers (from here you can modify or remove)Well, this works IF in the AdminResults.tmpl page I use the generic [FoundItems] code from the WebCatalog on line reference - (modified for my fields): [FoundItems] Name: [name]
Service: [Service]
Rate: [Rate]
Description: [Description]

[/FoundItems] However, if I use the code already on the AdminResults.tmpl page (modified for my fields) to display the found items in a table with headers, all I get is the table headers and the words [Name], [Service], [Rate], and [Description] - no data. Simply the names of the data fields.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.Sorry this has gone on so long, and sorry that my first post to the list was screwed up - I'll do better next time...er...this time. :-)Thanks in advance-S. Craig Thurmond Senior Multimedia Programmer Accent Technical Multimedia 2415 Directors Row Suite E Indianapolis, IN 46241 phone: 1-800-448-7219 phone: (317)244-7633 fax: (317)486-8137 email: ScraigT@accenttech.com Associated Messages, from the most recent to the oldest:

    
  1. Re: WebCatalog [FoundItems] Problem - AGAIN - (Grant Hulbert 1997)
  2. Re: WebCatalog [FoundItems] Problem - AGAIN - (Kenneth Grome 1997)
  3. Re: WebCatalog [FoundItems] Problem - AGAIN - (grichter@panavise.com (Gary Richter) 1997)
  4. WebCatalog [FoundItems] Problem - AGAIN - (Craig Thurmond 1997)
Let's try this again. I posted this question to the list last week only to find out that only the first half was actually sent. Here it is again in its entirety...I hope.Let me start by introducing myself - my name is Craig and I am the Senior Multimedia Programmer for Accent Technical Multimedia. We recently purchased WebCatalog, and I have been given the task of making it work Let me also be the first to say that I am a COMPLETE NOVICE at WebCatalog, my nich is Director and Lingo. So, please excuse my questions that may seem trivial.Right now I have 7600 running WebStar and am using Netscape 3.01 on the same computer to access WebCatalog through WebStar. So far so good. I can run the whole General Store site without problems. In fact, I am quite impressed with how quickly I was able to get everything up and running.So now, I am trying to customize the General Store to accomodate a psuedo-site. Basically I have a simple database with Name, Service, Rate and Description fields. 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).So, anyway, why don't I get to the point? I was able to customize the AdminAdd.tmpl, AdminAdded.tmpl, and CatalogAdmin.tmpl to reflect my different fields and eliminate the ones I didn't need with quick success. I can Add items to the database and they are written to the proper txt file (Providers.txt in this case instead of Catalog.txt) and everything works fine. The problem happens when I try to get the AdminResults.tmpl page to work. I modified the List all items line in the CatalogAdmin.tmpl page to search for items in the Name field that are greater than a:List All Service Providers (from here you can modify or remove)Well, this works IF in the AdminResults.tmpl page I use the generic [founditems] code from the WebCatalog on line reference - (modified for my fields): [founditems] Name: [name]
Service: [Service]
Rate: [Rate]
Description: [Description]

[/FoundItems] However, if I use the code already on the AdminResults.tmpl page (modified for my fields) to display the found items in a table with headers, all I get is the table headers and the words [Name], [Service], [Rate], and [Description] - no data. Simply the names of the data fields.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.Sorry this has gone on so long, and sorry that my first post to the list was screwed up - I'll do better next time...er...this time. :-)Thanks in advance-S. Craig Thurmond Senior Multimedia Programmer Accent Technical Multimedia 2415 Directors Row Suite E Indianapolis, IN 46241 phone: 1-800-448-7219 phone: (317)244-7633 fax: (317)486-8137 email: ScraigT@accenttech.com Craig Thurmond

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:

shaopping cart limits (2000) Proper file locations (1997) Calculating multiple shipping... (1997) urls (2005) RE: Purchased cart being overwritten (1997) [WebDNA] Serial numbers and pricing for WebDNA 7.0 (2011) Multi Colonns (1998) Summary search -- speed (1997) [delete] problem (1997) Shipping.db (1998) Attention all list readers (1997) Formatting date to number - more (2000) Pulling Captions from JPGs (2003) [index] (1997) Summarizing on two fields (1998) [WebDNA] Can WebDNA corrupt a db? (2012) First n words (2000) [subtotal] problems -- help? (1998) RE: Problems with shopping cart (1997) Credit Card Number checking (1997)