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 that rendered the html page? i.e. I have a file called sidemenu.inc that i want to hide 4 buttons if and only if the page using sidemenu is search.tmpl, otherwise, i want these buttons to show. I realise that I could just make a duplicate of the side menu, but then if something changes, I have to modify 2 or more files, (as it is I already have a separate sidemenu.inc for the invoice page, and another 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:

    
  1. Re: Obscure Question of the day (Grant Hulbert 1997)
  2. Obscure Question of the day (Brian B. Burton 1997)
Is there anyway to use a hideif command based on the template that rendered the html page? i.e. I have a file called sidemenu.inc that i want to hide 4 buttons if and only if the page using sidemenu is search.tmpl, otherwise, i want these buttons to show. I realise that I could just make a duplicate of the side menu, but then if something changes, I have to modify 2 or more files, (as it is I already have a separate sidemenu.inc for the invoice page, and another 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:

Emailer (1997) WebCat2: Found Items syntax, etc. (1997) Ampersand (1997) Merging LineItems (2003) Digest Version (2000) Dismissing dialogs (was 2.1b3 --> way slow) (1997) security (1997) Paths, relative paths, webstar server setup andsecurity WebDNA-Talk@smithmicro.com (1997) [WebDNA] Searching Possible Bug (2009) Sorting a [listfiles] (2003) writing orders to a db (1997) question: search return in order (1997) Timeout question .. (2003) multi-paragraph fields (1997) Protect (1997) += (was RE: ++) (2005) Error 11 (1996) Form Weirdness (2002) hmmm (2006) can WC render sites out? (1997)