Re: Input appreciated
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 34357
interpreted = N
texte = >Being new to WebCatalog I would appreciate some input on how to best>accomplish this task. I need to show up to 4 different pages of>information about a person. The basic information of SKU, name,>address, etc. comes from a database. I then use support files named with>the SKU value and then an extension (10101.jpg, 10101.txt or 10101.gif)>to provide the additional information needed on the .tpl pages. All>pretty basic thus far, but here's where I need help. Because of the>level of service a someone purchases, not every person will utilize all>4 pages. They may only have information for page 1 & 2 or 1, 3 & 4. I>want to display some message for the pages that aren't being used that>says this option wasn't selected originally but can be now.>>What do or how can I evaluate a page to see if it contains information>or if it needs the this option wasn't... message displayed?You need a field in your database that can be checked to see what level of service each person has. Maybe you can have several different fields, one for each type of service.Put yes in the field only if the person has that service. Then it's a simple matter to use a showif's inside your founditems context to show or hide the specific data related to each of those fields:If the field has yes in it, show the related data:[founditems][showif [field]=yes]stuff related to field 01 goes here ...[/showif][showif [field]!yes]this option wasn't... message goes here ...[/showif][/founditems]================================Kenneth Grome, WebDNA Consultant808-737-6499 http://webdna.net================================-------------------------------------------------------------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 Web Archive of this list is at: http://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
>Being new to WebCatalog I would appreciate some input on how to best>accomplish this task. I need to show up to 4 different pages of>information about a person. The basic information of SKU, name,>address, etc. comes from a database. I then use support files named with>the SKU value and then an extension (10101.jpg, 10101.txt or 10101.gif)>to provide the additional information needed on the .tpl pages. All>pretty basic thus far, but here's where I need help. Because of the>level of service a someone purchases, not every person will utilize all>4 pages. They may only have information for page 1 & 2 or 1, 3 & 4. I>want to display some message for the pages that aren't being used that>says this option wasn't selected originally but can be now.>>What do or how can I evaluate a page to see if it contains information>or if it needs the this option wasn't... message displayed?You need a field in your database that can be checked to see what level of service each person has. Maybe you can have several different fields, one for each type of service.Put yes in the field only if the person has that service. Then it's a simple matter to use a showif's inside your founditems context to show or hide the specific data related to each of those fields:If the field has yes in it, show the related data:[founditems][showif [field]=yes]stuff related to field 01 goes here ...[/showif][showif [field]!yes]this option wasn't... message goes here ...[/showif][/founditems]================================Kenneth Grome, WebDNA Consultant808-737-6499 http://webdna.net================================-------------------------------------------------------------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 Web Archive of this list is at: http://search.smithmicro.com/
Kenneth Grome
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:
WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997)
Shownext! (1998)
Errata: WCS Newbie question (1997)
Fwd: Problems with Webcatalog Plug-in (1997)
WebCat2 beta 11 - new prefs ... (1997)
New to WebCat, Help. (1998)
[HIDEIF] inside [FOUNDITEM] (1997)
ANYONE (1999)
WebDNA Solutions ... sorry! (1997)
Country & Ship-to address & other fields ? (1997)
Hiding HTML and page breaks (1997)
Upgrading old WebCat Database Files (1997)
[WebDNA] ImageMagick troubleshooting (2009)
WebMerchant problems (2000)
WebCat2 several catalogs? (1997)
RE: creating writefile data from a nested search (1997)
username = 115 (1999)
nested showif? (1998)
CommandSecurity? (1997)
WebCatalog stalls (1998)