Nats display site partner setup
From TMM Wiki
Jump to navigationJump to searchApplies to NATS 4.0.66 and greater.
nats_display_site_partner_setup
Displays a list of sites where the logged in affiliate is set up as a site partner. After selecting a site, the affiliate can see the details that determine the site partner payout for that site. The list may be restricted and formatted using the parameters described below.
Alias: display_news
Parameters
(Required parameters in bold)
Parameter | Description | Possible Values | Default Value | Example |
---|---|---|---|---|
tpl | Template used to display output. | Any valid template name | The template, function_display_site_partner_setup | tpl="mytemplate" |
order | What order to display the sites in | Any valid order | ? | ? |
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
Outputs a form to choose a site, and then details for the site partner payout set up for this affiliate on that site.
Example
{* display site partner setup *} {if (($usr_type == '125') || ($over.type == '125'))} {display_site_partner_setup} <br class="break" /> {/if}