somevar = BLOCK and passing switches
Summer <crazysummer2004-/[email protected]> Wed, 8 May 2013 16:25:02 -0700 (PDT)
| Newsgroups | gmane.comp.lang.perl.modules.template-toolkit |
|---|---|
| Message-ID | <[email protected]> |
Hey, So, I have this code: some_name = BLOCK; ...alot of display data .... more to display .... don't want to display this.... .....more data to display END; now, I use this in numerous places BUT there is one place in which I want some info within that block gone.. It doesn't appear I can pass in some token a..a [% some_name %] [% some_name; token_to_omit =1 %] some_name does not respect that variable "token_to_omit" Is there a way I can use the same variable block to honor my token so that I can omit some of the data? Thanks _______________________________________________ templates mailing list [email protected] http://mail.template-toolkit.org/mailman/listinfo/templates