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:

[WebDNA] Fwd: RETS... HELP! (2009) Banner Ad & Index.shtml (2000) Sendmail & Spell Checker (2001) [AppendFile] problem (WebCat2b13 Mac .acgi) (1997) Separate server for jpg/gif files (1998) [WebDNA] MySQL Query failure (2013) Error Log.db --however (1997) [WebDNA] small bug when searching tables in functions (2011) Text limits in NT version? (1997) frames & carts (1997) [WebDNA] Talklist Archive & Twitter (2009) Need host (1998) WTB WEBDNA Version 4.5 for OS X (2003) Cumulative Shipping charge calculations - your help please. (1997) Robert Minor duplicate mail (1997) RE: Loss in form (1998) [lookup] speed sales pitch (2003) Bug or syntax error on my part? (1997) [WebDNA] Store module/site (2012) Type 11 errors setting up WebCAt 2 (1997)