Re: Alpha List for Catagory

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 19337
interpreted = N
texte = >I am evaluation Web Catalog and want to setup a store that list over >1100 categories (these are the different manufactures products we >carry). > >The software appears to display 50 categories when entering the store. >I could change it to display all 1100 categories on this page, but that >is a bit to much. What I would like to do is to have the catalog >display a list of all the characters in the alphabet, i.e.: A B C D E F >G H I J...... and request that the user select the corresponding letter >for the manufacturer they as looking for and then display a list of all >manufactures that start with that letter. So if someone clicked on the >letter M, they would get a list of all manufactures that started with M, >i.e.: Microsoft, MicroSolutions, Microtest, Micolia, MYOB, etc... >Currently, I am listing the manufactures names in the Category field >in my database file. > >Does any one know if this can be done??? > >Thanks, >Mark B. >berk@voicenet.com There are several ways to do thisHard code it or have the search come out of a data base. with webcat there are a million ways to skin a cat (pun intended)look at the 'bw' seach which equals 'begins with'. So if your search was bwmfgdata=M it would return mfg that started with the letter Mby out of a data base I mean you would have a database with 26 records where one field would be the letter of the alphabet. Then you could pick this data base up and use it elsewhere in your site without all the hard coding required.then on your selection page page you would[search.....] [founditems] other stuff here for description Display mfgs that start with letter [firstletter] [/founditems] [/search]I hope this gets you going in the right direction.=============================================== Gary Richter PanaVise Products, Inc. 7540 Colbert Dr. Reno, Nevada 89511 Ph: 702.850.2900 Fx: 702.850.2929 Email: grichter@panavise.com http://www.panavise.com =============================================== Associated Messages, from the most recent to the oldest:

    
  1. Re: Alpha List for Catagory (Gary Richter 1998)
  2. Re: Alpha List for Catagory (Raymond Hatch 1998)
  3. Alpha List for Catagory (Mark Bergkvist 1998)
>I am evaluation Web Catalog and want to setup a store that list over >1100 categories (these are the different manufactures products we >carry). > >The software appears to display 50 categories when entering the store. >I could change it to display all 1100 categories on this page, but that >is a bit to much. What I would like to do is to have the catalog >display a list of all the characters in the alphabet, i.e.: A B C D E F >G H I J...... and request that the user select the corresponding letter >for the manufacturer they as looking for and then display a list of all >manufactures that start with that letter. So if someone clicked on the >letter M, they would get a list of all manufactures that started with M, >i.e.: Microsoft, MicroSolutions, Microtest, Micolia, MYOB, etc... >Currently, I am listing the manufactures names in the Category field >in my database file. > >Does any one know if this can be done??? > >Thanks, >Mark B. >berk@voicenet.com There are several ways to do thisHard code it or have the search come out of a data base. with webcat there are a million ways to skin a cat (pun intended)look at the 'bw' seach which equals 'begins with'. So if your search was bwmfgdata=M it would return mfg that started with the letter Mby out of a data base I mean you would have a database with 26 records where one field would be the letter of the alphabet. Then you could pick this data base up and use it elsewhere in your site without all the hard coding required.then on your selection page page you would[search.....] [founditems] other stuff here for description Display mfgs that start with letter [firstletter] [/founditems] [/search]I hope this gets you going in the right direction.=============================================== Gary Richter PanaVise Products, Inc. 7540 Colbert Dr. Reno, Nevada 89511 Ph: 702.850.2900 Fx: 702.850.2929 Email: grichter@panavise.com http://www.panavise.com =============================================== Gary Richter

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:

Not reading code (1997) The force has left me. (2002) Kaaaaahhhhhhhnnnnnnn! (1997) Running 2 two WebCatalog.acgi's (1996) [WriteFile] problems (1997) Robert Minor duplicate mail (1997) [format] problem (2001) spawn (1998) [LOOKUP] (1997) Re:2nd WebCatalog2 Feature Request (1996) Checking Out! (1999) [LINEITEMS] (2000) Online reference (1997) ShowIf, If, XML Syntax.... (2004) Mac System Experience (1998) SKU (1997) Date search bug (1998) Weird Math and SV (1997) The List is Changing (1997) [WebDNA] Chatroom with Webcatalog (2011)