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:
Problems getting parameters passed into email. (1997)
unable to launch acgi in WebCat (1997)
Multiple catalog databases and showcart (1997)
Attn: Bug in GeneralStore example b15 (1997)
Webcat 2.0.1 date math bug -> Crash! (1997)
I'm new be kind (1997)
Testing (2003)
Dynamic Generation of PDFs? (2003)
database size? (1997)
Hard Questions ? (1997)
WebDNA tags in WebMerchant email templates ... (1997)
PCS Frames (1997)
search double negative comparison (2001)
[WebDNA] UTF-8 encoding issues (2010)
Security for malls with different webmasters (1998)
Running 2 two WebCatalog.acgi's (1996)
Emailer (1998)
SSL PROBLEM (1999)
Merging databases (1997)
Logical and or in [hideif] (1997)