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:
send people in a database an email (2001)
two unique banners on one page (1997)
WC2.0 Memory Requirements (1997)
redirect with frames (1997)
WebCat2 beta FTP site (1997)
And/or Search (1998)
[AppendFile] problem (WebCat2b13 Mac .acgi) (1997)
Cookie set browser session. (1998)
Spawning Holdup? (2000)
How do you hide [math]stuff[/math] (1997)
WebCatalog can't find database (1997)
Re:[ShowIf] and empty fields (1997)
redirect with frames (1997)
Emailer choke (1997)
too many nested ... problem (1997)
Questions To Answer (1997)
Forms Search Questions (1997)
Sort Order on a page search (1997)
A quickie question (1997)
[WebDNA] checking for mixed case text (2009)