Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
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 %]


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 meditating upon the Monastery: (5)
As of 2015-07-07 02:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (86 votes), past polls