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:

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)