Blog Home

Using modTemplateVarResource in a Plugin

Example code for using modTemplateVarResource to set a TV based the value of one or more other TVs

Using modTemplateVarResource in a postHook

Setting TV values with modTemplateVarResource based on user input from the Register form

Using modTemplateVarResource with a Default Value

How to handle the modTemplateVarResource object when the value for a particular resource might be set to the default value of the TV.

Understanding the modTemplateVarResource Object

Getting the value of a TV for a particular resource via the modTemplateVarResource object without touching the modTemplateVar (TV) object.