nats_get_loginid_from_campaignid

Article Topics: Smarty, Customization

Parameters

(Required parameters in bold)

Parameter
Description
Possible Values
Default Value
Example

campaignid

The campaignid you wish to translate

Any valid number

0

campaign=234

store_var

the variable you wish to store the loginid in

any valid smarty variable name

blank (loginid will be outputted directly to template)

store_var="my_special_loginid"

Output

If store_var is set, then the function will store the corresponding loginid to that variable. Otherwise, the function will simply return the loginid onto the template itself.

Notes

If an invalid campaignid is passed into the function, the result will always be 0.

Last updated

Was this helpful?