Nats display adtool form
From TMM Wiki
Jump to navigationJump to searchApplies to NATS 4.0.25 and greater.
nats_display_adtool_form
Displays a form for the affiliate to limit or re-order the currently displayed adtools.
Alias: display_adtool_form
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_adtool_form | tpl="mytemplate" |
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 to limit or re-order the currently displayed ad tools. Also outputs three Smarty variables: The variable, adtool_types, and two variables prefixed by the argument passed to assign_prefix:
- type
- type_details
Notes
None.
See Also
- New NATS4 Affiliate Ad Tools -- The New NATS4 Affiliate Ad Tools Page uses this function