Re: Testing the WebCat Email List Members
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 26935
interpreted = N
texte = >>> so I coded a hard link (a href) and tried the command procedure> ::::
parameters, because I want to display everything in the database, no eq, ge> etc......that's probably wrong as well.)> that didn't work.use this param when you want to find all the records in a db-&neFIELDdata=somethingThatYouKnowDoesntExistInThisFieldInAnyRecordor&neFIELDdata=[blank](the latter means find all records whose field 'FIELD' does Not Equal *nothing* - i.e. itfinds all the records that have something in the field called 'FIELD'.)>>>> here is the link: http://www.cmiart.com/cmifulfill/cyborg/store/main_fr.tpl>> the inventory link displays results2.tpl however, does not display> anything from the inventory.db.when I try the inventory link I get this-http://www.cmiart.com/cmifulfill/cyborg/store/store/search.tpl?cart=30323629396289>> same with the shipping link,on this link I get-&--woSECTIONSdatarq=[s_id]&--SECTIONSword=wwUnless I have been missing something for over a year, that is not valid syntax. take outthe hyphens,i.e.&--woSECTIONSdatarq=[s_id]should be&woSECTIONSdatarq=[s_id]Also I assume that [s_id] is supposed to be replaced with a value for that variable. Idon't know why it is not. Are you sure that that variable has been given a valuesomehow? How are you assigning a value to [s_id]? (It has to be assigned via an incomingform variable, or else via a [math] or [text] context, or from the previous (incoming)URL. Unless it is a webcat magic variable, which I don't think it is.)> my goal is to display the required fields with> the include file on the results.tpl. (Just like the products)> That's why I created a results2.tpl for inventory (with an inventory.inc,> inventory.hdr and inventory.db) and results3.tpl for shipping (with a> shipstatus.inc, shipstatus.hdr and shipstatus.db)I don't understand what you are doing here... I think I am just not understanding yourlanguage here, sorry. But once we figure out the errors in your syntax you can get on todoing anything you want...Make sure you understand that you can use a [search] context instead of the command. Thatway you can have the search 'live' in the results.tpl itself, rather that in the incomingURL.>>> -----I'm using the search.tpl file that was created when I built the store,> from there I coded a hard link Inventory and Shipping and pointed them> to their respective results.tpl which in turn will format what I want to> display using the respective include file.Are you using storebuilder? I haven't used that... but that shouldn't stop us. What youdescibe in this (above paragraph) seems fine.If this post does not get you on your way, then please post the code of those includes aswell as the links from the pages that links to the various results.tpl's..>>> SO I am basically trying to replicate the same process for products, using> inventory and shipping status all on the same search.tpl file. So just> as you would choose a product section (in this case ST 3.0 or ST 4.0) and> the products are neatly displayed in the results.tpl and formatted with the> include file, the same should happen when you choose inventory or shipping.>> Not sure if this clears it up,not too well, but I am not always fast to understand... Let's take it a step at a timeand debug one function at a time. Pick one thing that is not working, show me the actualcode (not just the resulting HTML), an we'll lick it. Then the next one... until it allworks.-John-------------------------------------------------------------Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server.To end your Mail problems go to .This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to
Associated Messages, from the most recent to the oldest:
>>> so I coded a hard link (a href) and tried the command procedure> :::: parameters, because I want to display everything in the database, no eq, ge> etc......that's probably wrong as well.)> that didn't work.use this param when you want to find all the records in a db-&neFIELDdata=somethingThatYouKnowDoesntExistInThisFieldInAnyRecordor&neFIELDdata=[blank](the latter means find all records whose field 'FIELD' does Not Equal *nothing* - i.e. itfinds all the records that have something in the field called 'FIELD'.)>>>> here is the link: http://www.cmiart.com/cmifulfill/cyborg/store/main_fr.tpl>> the inventory link displays results2.tpl however, does not display> anything from the inventory.db.when I try the inventory link I get this-http://www.cmiart.com/cmifulfill/cyborg/store/store/search.tpl?cart=30323629396289>> same with the shipping link,on this link I get-&--woSECTIONSdatarq=[s_id]&--SECTIONSword=wwUnless I have been missing something for over a year, that is not valid syntax. take outthe hyphens,i.e.&--woSECTIONSdatarq=[s_id]should be&woSECTIONSdatarq=[s_id]Also I assume that [s_id] is supposed to be replaced with a value for that variable. Idon't know why it is not. Are you sure that that variable has been given a valuesomehow? How are you assigning a value to [s_id]? (It has to be assigned via an incomingform variable, or else via a [math] or [text] context, or from the previous (incoming)URL. Unless it is a webcat magic variable, which I don't think it is.)> my goal is to display the required fields with> the include file on the results.tpl. (Just like the products)> That's why I created a results2.tpl for inventory (with an inventory.inc,> inventory.hdr and inventory.db) and results3.tpl for shipping (with a> shipstatus.inc, shipstatus.hdr and shipstatus.db)I don't understand what you are doing here... I think I am just not understanding yourlanguage here, sorry. But once we figure out the errors in your syntax you can get on todoing anything you want...Make sure you understand that you can use a [search] context instead of the command. Thatway you can have the search 'live' in the results.tpl itself, rather that in the incomingURL.>>> -----I'm using the search.tpl file that was created when I built the store,> from there I coded a hard link Inventory and Shipping and pointed them> to their respective results.tpl which in turn will format what I want to> display using the respective include file.Are you using storebuilder? I haven't used that... but that shouldn't stop us. What youdescibe in this (above paragraph) seems fine.If this post does not get you on your way, then please post the code of those includes aswell as the links from the pages that links to the various results.tpl's..>>> SO I am basically trying to replicate the same process for products, using> inventory and shipping status all on the same search.tpl file. So just> as you would choose a product section (in this case ST 3.0 or ST 4.0) and> the products are neatly displayed in the results.tpl and formatted with the> include file, the same should happen when you choose inventory or shipping.>> Not sure if this clears it up,not too well, but I am not always fast to understand... Let's take it a step at a timeand debug one function at a time. Pick one thing that is not working, show me the actualcode (not just the resulting HTML), an we'll lick it. Then the next one... until it allworks.-John-------------------------------------------------------------Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server.To end your Mail problems go to .This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to
John Butler
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:
WebCat2 Append problem (B14Macacgi) (1997)
WML (2000)
RE: protect tag not working (1998)
HELP WITH DATES (1997)
Forms Search Questions (1997)
Using Cookie for client specific info? (1997)
WebCatalog f2 Installation (1997)
headers (2004)
2.0.1 new commands and contexts (1997)
Banners (1997)
WebCommerce: Folder organization ? (1997)
Date Sorting (1997)
Modulo function? (2000)
WebCat for Unix?? (1997)
can we get string variables? (1998)
Username for Admin Group (1997)
Extended [ConvertChars] (1997)
Saving [referrer] for later use (1997)
FORMS: Returning a specific page (1997)
carriage returns in data (1997)
| |