Nats display edit defaults
From TMM Wiki
Jump to navigationJump to searchApplies to NATS 4.0.25 and greater.
nats_display_edit_defaults
Displays a form the affiliate can use to change their default program, campaign, or site.
Alias: display_edit_defaults
Parameters
(Required parameters in bold)
Parameter | Description | Possible Values | Default Value | Example |
---|---|---|---|---|
tpl | Template used to display output | Any valid template | The template, function_edit_defaults | tpl="mytemplate" |
change | A list of settings to change | A comma-separated list of: program, campaign, or site | No value; lets affiliate change all settings | change="campaign,site" |
assign_prefix | Prefix output variables with this word. (Click link for details) | Any valid Smarty variable name | None. (No prefix is used) | assign_prefix="myvar" |
data_only | Set variables but don't display the template | 1 | None. The template is displayed. | data_only=1 |
Output
A form with three drop-down boxes: Default Program, Default Campaign, and Default Site.
Notes
None.
See Also
- nats_display_edit_payvia -- displays a form to change an affiliate's payment type.