Nats display page peel
From TMM Wiki
Revision as of 16:11, 20 May 2011 by TMMStephenY (talk | contribs)
NOTE: This adtool type is not complete. If you want to use page peels, use this as a base to create your own adtool type, or wait for Page Peels to be completed.
nats_display_page_peel
Generates a page peel.
Alias: display_page_peel
Parameters
(Required parameters in bold)
Parameter | Description | Possible Values | Default Value | Example |
---|---|---|---|---|
tpl | Template used to display output | Any valid template | The template, nats_display_page_peel | tpl="my_template" |
peelid | The I.D. number of the peel to use | Any valid peel I.D. number | None. | peelid="123" |
nats | The NATS Code to use in the peel | Any valid NATS Code | None | nats="Zm9vYmFyYmF6Cg==" |
Output
A page peel linked to a NATS code.
Notes
In order to set up Page Peel ads, you will need to use the following steps:
- Navigate to the adtools admin, and add a new adtool type.
- Set up the required fields for your page peel ad. (Ex: thumbnails, javascript)
- Make a copy of the template "function_display_adtools_page_min"(used for half/full page ads). This can be found in the skins and templates admin under "advanced skins"->"default"-> limited to function_.
- The page peel adtool requires a javascript code that the affiliates use on their page so you will need to modify the template to show the javascript(to your affiliates on their affiliate adtool page). It is recommended that you print out all the available vars using {$adtools|@debug_print_var}
- If you would like a thumbnail to display to your affiliates you will need to set up another required field under this adtool as well as modify the same template, mentioned above, to show the correct thumbnail.
See Also
- Optional section in list format; remove entire section if not used.