Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Template Toolkit WRAPPER variations

by sundialsvc4 (Monsignor)
on Sep 02, 2013 at 13:35 UTC ( #1051938=note: print w/ replies, xml ) Need Help??


in reply to Template Toolkit WRAPPER variations

Anonymous Monk gets two upvotes.

In code I have seen, you find, say:   [%WRAPPER wrap/dialog.tt mode="popup"%].

Then, within that wrapper file:

[%IF mode == "popup" %] ... directives for a popup ... [% ELSE %] ... directives for anything else (i.e. "mode" not specified) ... [% END %]


Comment on Re: Template Toolkit WRAPPER variations
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1051938]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (6)
As of 2014-07-12 01:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (238 votes), past polls