Obscure Question of the day
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 15296
interpreted = N
texte = Is there anyway to use a hideif command based on the template thatrendered the html page?i.e. I have a file called sidemenu.inc that i want to hide 4 buttons if andonly if the page using sidemenu is search.tmpl, otherwise, i want thesebuttons to show. I realise that I could just make a duplicate of the sidemenu, but then if something changes, I have to modify 2 or more files, (asit is I already have a separate sidemenu.inc for the invoice page, andanother for the thankyou page...)Thank You,Brian B. Burton----------------------------------------------Protect your right to own and arm bears.----------------------------------------------
Associated Messages, from the most recent to the oldest:
Is there anyway to use a hideif command based on the template thatrendered the html page?i.e. I have a file called sidemenu.inc that i want to hide 4 buttons if andonly if the page using sidemenu is search.tmpl, otherwise, i want thesebuttons to show. I realise that I could just make a duplicate of the sidemenu, but then if something changes, I have to modify 2 or more files, (asit is I already have a separate sidemenu.inc for the invoice page, andanother for the thankyou page...)Thank You,Brian B. Burton----------------------------------------------Protect your right to own and arm bears.----------------------------------------------
Brian B. Burton
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:
Word wrapping (1997)
too many nested tags ... (1997)
Has anyone integrated ZipBurst with WebCat? (2000)
Emailer (WebCat2) (1997)
[no_cache]?! (2000)
Garbage display after 100 records (was WebCatalog usage) (1997)
Hosting wanted/business for sale (2001)
Accepting credit cards (1997)
2.0 Info (1997)
Multiple download orders of the same product? (1997)
RAM variables (1997)
New iMac, now ... how do I make webdna serve .html files? (2005)
[taxrate] question (1997)
Field Problem (2000)
[WebDNA] showif with empty variable (2015)
A question on sub-categories (1997)
REPOST [SUM field=xxxx] (2000)
Server Load Tester (2000)
Negative Range Error (2003)
More on the email templates (I like it) (1997)