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 onlyto find out that only the first half was actually sent. Here it isagain in its entirety...I hope.Let me start by introducing myself - my name is Craig and I am theSenior Multimedia Programmer for Accent Technical Multimedia. Werecently purchased WebCatalog, and I have been given the task of makingit work Let me also be the first to say that I am a COMPLETE NOVICE atWebCatalog, my nich is Director and Lingo. So, please excuse myquestions that may seem trivial.Right now I have 7600 running WebStar and am using Netscape 3.01 on thesame computer to access WebCatalog through WebStar. So far so good. Ican run the whole General Store site without problems. In fact, I amquite impressed with how quickly I was able to get everything up andrunning.So now, I am trying to customize the General Store to accomodate apsuedo-site. Basically I have a simple database with Name, Service,Rate and Description fields. What I have done is copied the WebCatalogfolder and renamed it Craig. (that way when I screw something up Istill have the WebCatalog folder to refer back to).So, anyway, why don't I get to the point? I was able to customize theAdminAdd.tmpl, AdminAdded.tmpl, and CatalogAdmin.tmpl to reflect mydifferent fields and eliminate the ones I didn't need with quicksuccess. I can Add items to the database and they are written to theproper txt file (Providers.txt in this case instead of Catalog.txt) andeverything works fine. The problem happens when I try to get theAdminResults.tmpl page to work. I modified the List all items line inthe CatalogAdmin.tmpl page to search for items in the Name field thatare greater than a:
ListAll 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 formy 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 withheaders, all I get is the table headers and the words [Name], [Service],[Rate], and [Description] - no data. Simply the names of the datafields.I found that if I move the closing tag [/FoundItems] to after the[/table] tag I get multiple small tables with headers and the correctdata. So, I know the search is working - it just is not displaying theitems correctly in one single table.Sorry this has gone on so long, and sorry that my first post to the listwas screwed up - I'll do better next time...er...this time. :-)Thanks in advance-S. Craig ThurmondSenior Multimedia ProgrammerAccent Technical Multimedia2415 Directors Row Suite EIndianapolis, IN 46241phone: 1-800-448-7219phone: (317)244-7633fax: (317)486-8137email: ScraigT@accenttech.com
Associated Messages, from the most recent to the oldest:
Let's try this again. I posted this question to the list last week onlyto find out that only the first half was actually sent. Here it isagain in its entirety...I hope.Let me start by introducing myself - my name is Craig and I am theSenior Multimedia Programmer for Accent Technical Multimedia. Werecently purchased WebCatalog, and I have been given the task of makingit work Let me also be the first to say that I am a COMPLETE NOVICE atWebCatalog, my nich is Director and Lingo. So, please excuse myquestions that may seem trivial.Right now I have 7600 running WebStar and am using Netscape 3.01 on thesame computer to access WebCatalog through WebStar. So far so good. Ican run the whole General Store site without problems. In fact, I amquite impressed with how quickly I was able to get everything up andrunning.So now, I am trying to customize the General Store to accomodate apsuedo-site. Basically I have a simple database with Name, Service,Rate and Description fields. What I have done is copied the WebCatalogfolder and renamed it Craig. (that way when I screw something up Istill have the WebCatalog folder to refer back to).So, anyway, why don't I get to the point? I was able to customize theAdminAdd.tmpl, AdminAdded.tmpl, and CatalogAdmin.tmpl to reflect mydifferent fields and eliminate the ones I didn't need with quicksuccess. I can Add items to the database and they are written to theproper txt file (Providers.txt in this case instead of Catalog.txt) andeverything works fine. The problem happens when I try to get theAdminResults.tmpl page to work. I modified the List all items line inthe CatalogAdmin.tmpl page to search for items in the Name field thatare greater than a:
ListAll 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 formy 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 withheaders, all I get is the table headers and the words [Name], [Service],[Rate], and [Description] - no data. Simply the names of the datafields.I found that if I move the closing tag [/FoundItems] to after the[/table] tag I get multiple small tables with headers and the correctdata. So, I know the search is working - it just is not displaying theitems correctly in one single table.Sorry this has gone on so long, and sorry that my first post to the listwas screwed up - I'll do better next time...er...this time. :-)Thanks in advance-S. Craig ThurmondSenior Multimedia ProgrammerAccent Technical Multimedia2415 Directors Row Suite EIndianapolis, IN 46241phone: 1-800-448-7219phone: (317)244-7633fax: (317)486-8137email: 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:
Verisigns SDK (pay flo pro) (2002)
input and accents (2000)
Resource Materials (2000)
Running 2 two WebCatalog.acgi's (1996)
[WebDNA] [thisautonumber] and [lastautonumber] (2011)
Multiple Hideif peramiters (2001)
encrypt but with normal characters for result? (2005)
Calculating multiple shipping... (1997)
[WebDNA] Search 2 databases ??? (2009)
[ShowNext] (1997)
off topic
MacFinder -- a new WebDNA web site (1998)
Help with searching dates from mysql dump & searching (2006)
[listfiles] nested in a [loop] (1998)
WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997)
randomness (1997)
Multiple prices (1997)
emailer (1997)
Retaining formatting (2000)
[WebDNA] Solution to dynamic error pages on Apache (2011)