Difference between revisions of "Nats display page peel"
From TMM Wiki
Jump to navigationJump to search (→Notes) |
(→Notes) |
||
Line 48: | Line 48: | ||
*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_.<br> | *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_.<br> | ||
*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}<br> | *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}<br> | ||
− | *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, | + | *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 == | == See Also == | ||
* Optional section in list format; remove entire section if not used. | * Optional section in list format; remove entire section if not used. |
Revision as of 13:23, 8 June 2010
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.