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 listwith your name on them, all with the same questions!I know you're anxious for a reply, but please, you only have to askonce, and then you should sit back and relax ... have a cup of coffee... or take a break for a while. Eventually some nice person willreceive your message, and when he can take the time away from his ownwork, 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, thenext page shows a list of subcategory hyperlinks, right?3- When someone clicks on one of the subcategory hyperlinks, the nextpage shows ALL the items in the database that belong to thatsubcategory, right?If this is the way you want your site to work, the main hyperlinks donot have to search a database, but the subcategory links *DO* have tosearch your database ... so the next page can display all the itemsmatching that subcategory search.Now, you also asked about creating a database in one place and movingit somewhere else. That's a no-no unless you change ALL the templatesyou created that still refer to your database in the old location.In other words, when you're working with HTML, things shouldn't bemoved once you start using them, or else you have to go back and makea lot of changes to reflect the fact that you moved some files. Soinstead of moving things around inside a web site, it's easier todecide 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 .txtextension, but it's a good programming practice to use .db when thefile is a database. That just makes life easier, because a quickglance will tell you that it's a database file instead of some otherkind of file ... :)Sincerely,Ken Gromeken@iav.com808-737-6499WebDNA Solutionshttp://www.hui.net/
Associated Messages, from the most recent to the oldest:
Hi Monica,I just received 6 separate messages from the WebDNA-
Talk Listwith your name on them, all with the same questions!I know you're anxious for a reply, but please, you only have to askonce, and then you should sit back and relax ... have a cup of coffee... or take a break for a while. Eventually some nice person willreceive your message, and when he can take the time away from his ownwork, 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, thenext page shows a list of subcategory hyperlinks, right?3- When someone clicks on one of the subcategory hyperlinks, the nextpage shows ALL the items in the database that belong to thatsubcategory, right?If this is the way you want your site to work, the main hyperlinks donot have to search a database, but the subcategory links *DO* have tosearch your database ... so the next page can display all the itemsmatching that subcategory search.Now, you also asked about creating a database in one place and movingit somewhere else. That's a no-no unless you change ALL the templatesyou created that still refer to your database in the old location.In other words, when you're working with HTML, things shouldn't bemoved once you start using them, or else you have to go back and makea lot of changes to reflect the fact that you moved some files. Soinstead of moving things around inside a web site, it's easier todecide 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 .txtextension, but it's a good programming practice to use .db when thefile is a database. That just makes life easier, because a quickglance will tell you that it's a database file instead of some otherkind of file ... :)Sincerely,Ken Gromeken@iav.com808-737-6499WebDNA Solutionshttp://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)