Nats display account campaigns
From TMM Wiki
Jump to navigationJump to searchApplies to NATS 4.0.25 and greater.
nats_display_account_campaigns
Displays a list of the affiliate's campaigns.
Alias: display_account_campaigns
Parameters
(Required parameters in bold)
Parameter | Description | Possible Values | Default Value | Example |
---|---|---|---|---|
tpl | Template used to display output | Any valid template | The template, function_display_account_campaigns | tpl="mytemplate" |
show_all | Show deleted campaigns in addition to undeleted campaigns | 0 or 1 (exclusive) | 0. Does not show deleted campaigns | show_all="1" |
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 list of the affiliate's campaigns. The list of campaigns is also stored in the Smarty variable, $campaigns.
Notes
None.
See Also
- nats_list_campaigns -- Lists details about an affiliate's campaigns
- nats_display_create_campaign -- A form for an affiliate to create new campaigns
- Campaigns Tab -- The NATS4 default Campaigns Tab