plainblack.com
Username Password
search
Bookmark and Share

    

tmpl_include

User greenflash
Date 9/23/2009 11:47 pm
Views 454
Rating 0    Rate [
|
]
Previous · Next
User Message
greenflash

How does one use the tmpl_include var?  I've set "no_includes=>0" in WebGUI/lib/WebGUI/Asset/Template/HTMLTemplate.pm.

What does one use as a parameter for tmpl_include?  the asset id?  the url?

Or is there another better way to recursively process templates?  I have a number of page templates, and I would like to make the common areas into included templates.

--- (Edited on 9/23/2009 11:47 pm [GMT-0500] by greenflash) ---



Back to Top
Rate [
|
]
 
 
perlDreamer

I would recommend reading the HTML::Template documentation for how to use the <TMPL_INCLUDE> tag.

--- (Edited on 9/24/2009 2:28 pm [GMT-0700] by perlDreamer) ---



Back to Top
Rate [
|
]
 
 
greenflash

Thank you for the reference.

--- (Edited on 9/24/2009 6:40 pm [GMT-0500] by greenflash) ---



Back to Top
Rate [
|
]
 
 
    



© 2010 Plain Black Corporation | All Rights Reserved