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"

Prefix output variables with this word. (Click link for details)

Any valid Smarty variable name

None. (No prefix is used)

assign_prefix="myvar"

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.

See Also

Last updated

Was this helpful?