much help needed NEWBIE alert

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 33610
interpreted = N
texte = I'm working on WebCat app that was left to me, and I've only got a couple of week's experience with WebCat, so this might be a no-brainer. The app seems pretty straightforward, but I'm having problems with it. Some background:a test version is up at: http://www.nwanights.com/moviesWORKING/default.tplIt's a movie listing app that consists of three pages: the front page, a showmovies.tpl page and a showtheaters.tpl page.The data is sent to us by a company that compiles the data. It's got multiple tables in one table, so the first field is like a table ID, as the following fields have different functions depending on which table they're in (i.e., what the first field contains).On the front page, you can choose either theaters or movies via a form. IF you search by movies you go to showmovies.tpl which displays the movie title and info, then in an include (get_theaters.inc) does a search that lists all the theaters where that movie is playing along with showtimes.If you search by theaters, you get the info on the theater plus a listing of movies playing there plus showtimes.In either one, if you click on the title of a movie in showtheaters (or vice versa) it takes you to the other page and passes that movie or theater as a search. WEBCAT Question #1: One of those fields is show_date which is in the format: 062000 is June 20, 2000. I've got it set right now to parse it with [Format Days_To_Date %A, %b %d][FIELD5][/FORMAT] where FIELD5 is the show_date field in the get_movies.inc. However, as you can see if you look at it, it gives me 01/01/00 as the date --- for EVERY date.Any ideas?WEBCAT Q #2: Also, right now (this could change any second), when I search on theater via a call to show_theater.tpl, it lists ALL the movies, not just the movies playing at that theatre.I'd appreciate ANY and all help y'all can provide. I'm having a hard time getting my brain wrapped around WebCatalog. I really wish SmithMicro would write (or have someone else write) a good, solid tutorial. A good third-party book would be great, too.Thanks,Steve------------------------------------------------ Steven Jarvis Web Developer sjarvis@nwaonline.netMorning News of Northwest Arkansas http://www.nwaonline.net ------------------------------------------------------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: much help needed NEWBIE alert (John Butler 2000)
  2. Re: much help needed NEWBIE alert (Steven Jarvis 2000)
  3. Re: much help needed NEWBIE alert (Steven Jarvis 2000)
  4. Re: much help needed NEWBIE alert (John Butler 2000)
  5. Re: much help needed NEWBIE alert (Steven Jarvis 2000)
  6. Re: much help needed NEWBIE alert (Glenn Busbin 2000)
  7. Re: much help needed NEWBIE alert (John Butler 2000)
  8. much help needed NEWBIE alert (Steven Jarvis 2000)
I'm working on WebCat app that was left to me, and I've only got a couple of week's experience with WebCat, so this might be a no-brainer. The app seems pretty straightforward, but I'm having problems with it. Some background:a test version is up at: http://www.nwanights.com/moviesWORKING/default.tplIt's a movie listing app that consists of three pages: the front page, a showmovies.tpl page and a showtheaters.tpl page.The data is sent to us by a company that compiles the data. It's got multiple tables in one table, so the first field is like a table ID, as the following fields have different functions depending on which table they're in (i.e., what the first field contains).On the front page, you can choose either theaters or movies via a form. IF you search by movies you go to showmovies.tpl which displays the movie title and info, then in an include (get_theaters.inc) does a search that lists all the theaters where that movie is playing along with showtimes.If you search by theaters, you get the info on the theater plus a listing of movies playing there plus showtimes.In either one, if you click on the title of a movie in showtheaters (or vice versa) it takes you to the other page and passes that movie or theater as a search. WEBCAT Question #1: One of those fields is show_date which is in the format: 062000 is June 20, 2000. I've got it set right now to parse it with [Format Days_To_Date %A, %b %d][FIELD5][/FORMAT] where FIELD5 is the show_date field in the get_movies.inc. However, as you can see if you look at it, it gives me 01/01/00 as the date --- for EVERY date.Any ideas?WEBCAT Q #2: Also, right now (this could change any second), when I search on theater via a call to show_theater.tpl, it lists ALL the movies, not just the movies playing at that theatre.I'd appreciate ANY and all help y'all can provide. I'm having a hard time getting my brain wrapped around WebCatalog. I really wish SmithMicro would write (or have someone else write) a good, solid tutorial. A good third-party book would be great, too.Thanks,Steve------------------------------------------------ Steven Jarvis Web Developer sjarvis@nwaonline.netMorning News of Northwest Arkansas http://www.nwaonline.net ------------------------------------------------------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Steven Jarvis

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:

A new bug? (1999) WebTen and WebCat (1997) WebDNA on FreeVSD? (2002) Another question about credit cards (1997) Price + Texte (1999) more cookie crumbling (1999) WebMerchant when CC network is down (1998) Link in a text (2000) Math Help (2000) Help! WebCat2 bug (1997) WebCat2final1 crashes (1997) Hummm .... (2002) 2.0 Info (1997) A workaround for handling date range search in yyyy/mm/dd form (1997) Running _every_ page through WebCat ? (1997) Shownext from POST (2000) emailer w/F2 (1997) [WebDNA] WebDNA 8.2 on Debian 8 (2016) MacWEEK article help needed (1996) set header in DB (no cart) (2003)