Hi,
Say I have a VM_global_library.vm that has a macro like:
#macro (roleList)
#set ($roles = ["foo", "bar"])
#end
Should I be able to do the following in a template:
#roleList
#foreach ($role in $roles)
...
#end
OR, how would you globally set a variable that is only needed in a few
different templates? In other words, I was hoping to instantiate the
$roles variable only when needed?
Any ideas?
best,
-Rob
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]