search for: template_file

Displaying 1 result from an estimated 1 matches for "template_file".

Did you mean: template_field
2011 Jul 21
0
Templates and self-knowledge
...e that I can create a define like this: > define smart_template($module, $mode = 0644, $args = undef) { >> >> $this_filename = $name >> >> $this_short_filename = inline_template("<%= >>> this_filename.split(/\//)[-1] %>") >> >> $template_file = "${module}/${this_short_filename}.erb" >> >> file{$name: >> >> content => template($template_file), >> >> mode => $mode >> >> } >> >> } >> >> >> I guess this will give me the flexibility I wa...