Re: Creating main- and sub-category search

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 15507
interpreted = N
texte = Hi Monica,I just received 6 separate messages from the WebDNA-Talk list with your name on them, all with the same questions!I know you're anxious for a reply, but please, you only have to ask once, and then you should sit back and relax ... have a cup of coffee ... or take a break for a while. Eventually some nice person will receive your message, and when he can take the time away from his own work, he will write to help you ... :) Okay, let me see if I understand:1- You have three main categories: Videos, Products, and CD-ROMS.2- When someone clicks on one of those main category hyperlinks, the next page shows a list of subcategory hyperlinks, right?3- When someone clicks on one of the subcategory hyperlinks, the next page shows ALL the items in the database that belong to that subcategory, right?If this is the way you want your site to work, the main hyperlinks do not have to search a database, but the subcategory links *DO* have to search your database ... so the next page can display all the items matching that subcategory search. Now, you also asked about creating a database in one place and moving it somewhere else. That's a no-no unless you change ALL the templates you created that still refer to your database in the old location.In other words, when you're working with HTML, things shouldn't be moved once you start using them, or else you have to go back and make a lot of changes to reflect the fact that you moved some files. So instead of moving things around inside a web site, it's easier to decide where you want them from the beginning, then leave them there.The name of your database doesn't have to have a .db or a .txt extension, but it's a good programming practice to use .db when the file is a database. That just makes life easier, because a quick glance will tell you that it's a database file instead of some other kind of file ... :) Sincerely, Ken Grome ken@iav.com 808-737-6499 WebDNA Solutions http://www.hui.net/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Creating main- and sub-category search (Kenneth Grome 1997)
  2. Re: Creating main- and sub-category search (MONICA 1997)
  3. Re: Creating main- and sub-category search (MONICA 1997)
  4. Re: Creating main- and sub-category search (MONICA 1997)
  5. Re: Creating main- and sub-category search (MONICA 1997)
  6. Re: Creating main- and sub-category search (Ray Hatch 1997)
  7. Creating main- and sub-category search (Grant Hulbert 1997)
Hi Monica,I just received 6 separate messages from the WebDNA-Talk List with your name on them, all with the same questions!I know you're anxious for a reply, but please, you only have to ask once, and then you should sit back and relax ... have a cup of coffee ... or take a break for a while. Eventually some nice person will receive your message, and when he can take the time away from his own work, he will write to help you ... :) Okay, let me see if I understand:1- You have three main categories: Videos, Products, and CD-ROMS.2- When someone clicks on one of those main category hyperlinks, the next page shows a list of subcategory hyperlinks, right?3- When someone clicks on one of the subcategory hyperlinks, the next page shows ALL the items in the database that belong to that subcategory, right?If this is the way you want your site to work, the main hyperlinks do not have to search a database, but the subcategory links *DO* have to search your database ... so the next page can display all the items matching that subcategory search. Now, you also asked about creating a database in one place and moving it somewhere else. That's a no-no unless you change ALL the templates you created that still refer to your database in the old location.In other words, when you're working with HTML, things shouldn't be moved once you start using them, or else you have to go back and make a lot of changes to reflect the fact that you moved some files. So instead of moving things around inside a web site, it's easier to decide where you want them from the beginning, then leave them there.The name of your database doesn't have to have a .db or a .txt extension, but it's a good programming practice to use .db when the file is a database. That just makes life easier, because a quick glance will tell you that it's a database file instead of some other kind of file ... :) Sincerely, Ken Grome ken@iav.com 808-737-6499 WebDNA Solutions http://www.hui.net/ 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:

[date] problem with %d%m%Y (1998) I figured it out (1999) WebCat2b15MacPlugIn - [authenticate] not [protect] (1997) WebCat2 beta 11 - new prefs ... (1997) [SHOWIF]s and empty arguments (1997) Striping Characters (1998) OT: SMSI stock (2003) Problems with [Applescript] (1997) Strange error (2000) searching for items that begin with a number (2004) Re:Emailer and encryption (1997) Bug Report, maybe (1997) unusual search problem (1998) RE: [isfolder] and [filename] (1997) Nested tags count question (1997) Serving images from databases (1998) WebTen and WebCat (1997) Email notification to one of multiple vendors ? (1997) forming a SKU (1999) Not really WebCat (1997)