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:

Size/Color Options (2002) Cart file not being written (2000) Sending emails (went[ot] ) (2002) upgrade? (1997) Calculating multiple shipping... (1997) creator code (1997) Message Board (again:-) (2000) no global [username] or [password] displayed ... (1997) Available Server Space? (2004) Are Talk List Archives off line (2000) Pass Thru Page? (1998) Location of Browser Info.txt file (1997) [WebDNA] Why doesn't middle work as expected? (2009) WebCat2b13MacPlugIn - More limits on [include] (1997) Re[2]: New syntax feedback for 4.0 (2000) Hiding HTML and page breaks (1997) WebCat2 beta 11 - new prefs ... (1997) Attn: Bug in GeneralStore example b15 (1997) [WebDNA] Permissions changing of .db (2013) Separate SSL Server (1997)