Re: Hiding HTML and page breaks
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 11120
interpreted = N
texte = At 10:59 PM 4/28/97, Grant Hulbert wrote:>>Here's what I'm doing. Maybe you have a better way.>>I have a list of classes that folks can register for. When the class fills>>I want to mark it full, but still display the class. Right now I'm adding>>the word FULL! in red (that's where the html comes in) to the title field.>>I guess I could add a pic...Full or available.>>Instead of putting literal HTML into the field, I recommend you create a>new field that contains some kind of flag (T of F, 0 or 1) that indicates>the status of the record. Then you can dynamically display your red text>using some WebDNA instead of filling your database with HTML.>>[showif [classFull]=T]
[/showif]>[showif [classFull]=F]Plenty o' Room![/showif]>I had that set up. it didn't work. Upon further inspection..I found thecatalog.txt didn't get updated with the new classfull field....thereforeit didn't find. Once I got the field in catalog.txt, everything workedgreat.Thanks for the quick and detailed response and help.Kenneth L. Tuley Office: (505) 256-4269Manager, Software & Training Services Fax: (505) 256-4452APS Information Technology Services220 Monroe SE tuley@apsicc.aps.eduAlbuquerque, NM 87108 http://www.aps.edu
Associated Messages, from the most recent to the oldest:
At 10:59 PM 4/28/97, Grant Hulbert wrote:>>Here's what I'm doing. Maybe you have a better way.>>I have a list of classes that folks can register for. When the class fills>>I want to mark it full, but still display the class. Right now I'm adding>>the word FULL! in red (that's where the html comes in) to the title field.>>I guess I could add a pic...Full or available.>>Instead of putting literal HTML into the field, I recommend you create a>new field that contains some kind of flag (T of F, 0 or 1) that indicates>the status of the record. Then you can dynamically display your red text>using some WebDNA instead of filling your database with HTML.>>[showif [classFull]=T]
[/showif]>[showif [classFull]=F]Plenty o' Room![/showif]>I had that set up. it didn't work. Upon further inspection..I found thecatalog.txt didn't get updated with the new classfull field....thereforeit didn't find. Once I got the field in catalog.txt, everything workedgreat.Thanks for the quick and detailed response and help.Kenneth L. Tuley Office: (505) 256-4269Manager, Software & Training Services Fax: (505) 256-4452APS Information Technology Services220 Monroe SE tuley@apsicc.aps.eduAlbuquerque, NM 87108 http://www.aps.edu
Ken Tuley
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:
Updating checkboxes made easy !!! (1998)
Greeting Card System (2000)
Not Authorized (2000)
Snippet to calculate local time (2003)
includes and cart numbers (1997)
Sun doesn't have an emailer app? (2000)
username = 115 (1999)
Using [Showif] tag. Mac (1997)
Special delete ... (1997)
attacment pdf (2001)
Variables for chat (1997)
[WebDNA] Spawn operation stalling - any idea what might cause (2013)
Hello??? (1997)
[WebDNA] WebDNA code displaying on page (2012)
access denied problem (1997)
textarea to page display (1998)
using WC to create a DB online (2000)
japanese characters (1997)
WebDNA Solutions ... sorry! (1997)
Forms Search Questions (1997)