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:
Summary search -- speed (1997)
Interpret twice? (1997)
AOL displays strange header info (2000)
mass mailing and mass hysteria (1998)
Searchable WebCat (etc.) Docs ? (1997)
Missing from Docs [folderName] (1997)
WebCat2b12--[searchstring] bug (1997)
[WebDNA] Variable mystery (2009)
[Webcat 2]Next (1997)
plugin vs. acgi results (1998)
IBM DB2 (2000)
SKU (1997)
WC2f3 (1997)
[format] problem (2001)
[cart]'s ever get recycled? (2000)
iis 4.0 (1997)
return missing item (was:WebCat Sales) (1997)
The Guru, The Mooseman, Susie and Is That Really the Only Manual? (1998)
How to Display text in empty fields (1997)
[WebDNA] Upper ASCII and charset [OT] (2016)