Re: Show if time tags

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 15102
interpreted = N
texte = You can't do the & thing. Try this. You need to nest your showif tags.[showif [time]>11:00:00][showif [time]<15:00:00]Order Online For Our Lunch Menu[/showif][/showif]Ray At 11:33 AM 11/25/97, you wrote: >Hello agail, >I've got another stupid question. I've been trying to get the certain >restaurant menus (databases) to be shown only at certain times of the day. >I was playing with the webDNA tags to try to do this but, obviously it's >not working. This is what I tried doing, but all of the web dna code shows >up on the browser page. I've even got the tags at the >top! > >Any suggestions? THANKS! > > >[showif [time]>11:00:00&[time]<15:00:00] >Order Online From Our Lunch Menu. >[/showif] > >[showif [time]>15:00:01&[time]<24:00:00] >Order Online From Our Dinner Menu. >[/showif] > >[showif [time]>15:00:01&[time]<24:00:00] Sorry, you can only order online >during restuarant hours. Lunch: 11:00AM - 3:00PM | Dinner 3:00PM - 12:00AM >[/showif] > > > >~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >Michael Fichtenmayer - mike@steelnet.net >Web Graphic Designer - Steelnet Communications >http://www.steelnet.net > > > > Associated Messages, from the most recent to the oldest:

    
  1. Re: Show if time tags (Raymond Hatch 1997)
  2. Re: Show if time tags (Michael Fichtenmayer 1997)
  3. Re: Show if time tags (Raymond Hatch 1997)
  4. Re: Show if time tags (Raymond Hatch 1997)
  5. Re: Show if time tags (Michael Fichtenmayer 1997)
  6. Re: Show if time tags (Raymond Hatch 1997)
  7. Show if time tags (Michael Fichtenmayer 1997)
You can't do the & thing. Try this. You need to nest your showif tags.[showif [time]>11:00:00][showif [time]<15:00:00]Order Online For Our Lunch Menu[/showif][/showif]Ray At 11:33 AM 11/25/97, you wrote: >Hello agail, >I've got another stupid question. I've been trying to get the certain >restaurant menus (databases) to be shown only at certain times of the day. >I was playing with the webDNA tags to try to do this but, obviously it's >not working. This is what I tried doing, but all of the web dna code shows >up on the browser page. I've even got the tags at the >top! > >Any suggestions? THANKS! > > >[showif [time]>11:00:00&[time]<15:00:00] >Order Online From Our Lunch Menu. >[/showif] > >[showif [time]>15:00:01&[time]<24:00:00] >Order Online From Our Dinner Menu. >[/showif] > >[showif [time]>15:00:01&[time]<24:00:00] Sorry, you can only order online >during restuarant hours. Lunch: 11:00AM - 3:00PM | Dinner 3:00PM - 12:00AM >[/showif] > > > >~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >Michael Fichtenmayer - mike@steelnet.net >Web Graphic Designer - Steelnet Communications >http://www.steelnet.net > > > > Raymond Hatch

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:

form crasehes server (1997) authorizenet and netscape (2002) Applescript, WebDNA, and PDF (1997) shownext & math (1997) [WebDNA] DNA hosting and/or Image server Hosting. (2011) Sorting by date (1997) [convertchars] on potential malicious input even in a link? (2000) [username][password] not showing up! HELP! (1999) 404 error page issue (2006) Bug or syntax error on my part? (1997) Can you identify the [body]? (1999) Emailer (WebCat2) (1997) WebCatalog for guestbook ? (1997) Fwd: Problems with Webcatalog Plug-in (1997) Database field limit? (1998) with Link i need to (1997) Triggers (2003) using showpage and showcart commands (1996) maximu values for sendmail! (1997) lookup and two records? (1997)