Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Template Toolkit WRAPPER variations

by sundialsvc4 (Abbot)
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 %]

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1051938]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (5)
As of 2017-05-28 16:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?