nats_display_latest_adtools

Displays your most recently added ad tools.

Article Topics: Customization, Templates, Smarty

Parameters

(Required parameters in bold)

Parameter
Description
Possible Values
Default Value
Example

Template used to display output

Any valid template

The template, function_display_latest_adtools

tpl="my_template"

program

Get latest adtools for this program

Any valid program I.D. number

The affiliate's default program I.D. number

program="123"

latest_adtool_type

Get latest adtools of this type

Any valid adtool I.D. number

1 Static Banners

latest_adtool_type="8"

latest_adtool_time_range

Get adtools within this time range

-1 day, -1 week, -1 month, -3 months

-1 week

latest_adtool_time_range="-1 month"

latest_adtool_start

Skip this many adtools before displaying.

Any number

0

latest_adtool_start="5"

latest_adtool_count

Display this many adtools

Any number

5

latest_adtool_count="10"

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

Any valid Smarty variable name

None. (No prefix is used)

assign_prefix="myvar"

Output

The latest adtools displayed using the function_display_latest_adtools template. The list of latest adtools is assigned to the {$adtools} and {$adcount} Smarty variables, which you may prefix with the value of the assign_prefix parameter.

Last updated

Was this helpful?