Re: Show if time tags
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 15111
interpreted = N
texte = I'm not sure how your server is set up for suffix mapping, or what you arenaming your pages, but if webcat is not set to serve .html pages, andthat's what your naming it, even with the , webcat won'tread them. Are you naming them .tmpl? This is the only thing I can thinkof, if it's showing you all your code without giving you an error message.RayAt 01:19 PM 11/25/97, you wrote:>>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>>>>I changed my code to reflect that. But all of the code and the links are>still showing up in my browser when I open the page. How do I get it to>work and dissapear?>>I know how to do this time thing in netcloak, but I'd like to implement the>WebDNA tags for this. To A) keep it consistant and B) so I can learn more>about it.>>Any other suggestions?>>--Michael>>>>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~>Michael Fichtenmayer - mike@steelnet.net>Web Graphic Designer - Steelnet Communications>http://www.steelnet.net>>>>
Associated Messages, from the most recent to the oldest:
I'm not sure how your server is set up for suffix mapping, or what you arenaming your pages, but if webcat is not set to serve .html pages, andthat's what your naming it, even with the , webcat won'tread them. Are you naming them .tmpl? This is the only thing I can thinkof, if it's showing you all your code without giving you an error message.RayAt 01:19 PM 11/25/97, you wrote:>>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>>>>I changed my code to reflect that. But all of the code and the links are>still showing up in my browser when I open the page. How do I get it to>work and dissapear?>>I know how to do this time thing in netcloak, but I'd like to implement the>WebDNA tags for this. To A) keep it consistant and B) so I can learn more>about it.>>Any other suggestions?>>--Michael>>>>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~>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:
Nesting [RAW] (1998)
Announce: Bug fix talk list (1999)
Where is f2? (1997)
WCS Newbie question (1997)
[UPPERCASE] (1997)
Redirect (2003)
Big Databases (1997)
Append database (1999)
creator code (1997)
[AppendFile] problem (WebCat2b13 Mac .acgi) (1997)
[Fwd: Rotating Banners ... (was LinkExchange)] (1997)
Remove Command not working (2000)
Shell and telnet (2002)
Sorting search results (1998)
quotes and truncating? (1997)
Running 2 two WebCatalog.acgi's (1996)
search question (2001)
ShowIf variables (1997)
Re[2]: 2nd WebCatalog2 Feature Request (1996)
GuestBook example (1997)