Difference between revisions of "Nats display adtool form"
From TMM Wiki
Jump to navigationJump to searchm |
TMMStephenY (talk | contribs) m |
||
Line 53: | Line 53: | ||
== See Also == | == See Also == | ||
* [[New NATS4 Affiliate Ad Tools]] -- The New NATS4 Affiliate Ad Tools Page uses this function | * [[New NATS4 Affiliate Ad Tools]] -- The New NATS4 Affiliate Ad Tools Page uses this function | ||
+ | |||
+ | [[Category:NATS4 Template Functions]] |
Latest revision as of 15:54, 20 May 2011
Applies 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