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:

LookUp Tag (1997) How long does a cart last? (2002) Emailer help....! (1997) emailer (1997) Browser Caching (2003) Country & Ship-to address & other fields ? (1997) Calculating a total (2000) Weather (2003) space at start of menu (2000) RE: OK, here goes... (1997) Extended [ConvertChars] (1997) WCS Newbie question (1997) RE: Adding headers to email (1997) Building Calendars (1997) DNS Lookup 2 (2000) Alternating BGColors in Table Rows (1998) WebCat2: multiple currency support (1997) search same field twice??? (1999) Unzip (2005) Lineitems not showing up in ThankYou page (2006)