Difference between revisions of "Hosted Adtool"
From TMM Wiki
Jump to navigationJump to searchm |
|||
Line 24: | Line 24: | ||
</pre> | </pre> | ||
− | * | + | This code, or a variation of the code, needs to be placed into the template *above* where the column[0]-column[5] select boxes are generated. |
− | * Possible values for | + | * Possible values for "field" are: linkurl, name, date_nice, date_added, num, description, desc2, desc3, desc4, desc5, desc6, thumb, thumb2, thumb3, thumb4, thumb5, thumb6. |
− | * (For delimchar, use the same value you used for delim.) | + | * Possible values for "delim" are (without the quotes): "|", "TAB", ",", ";", ":", "CSV" |
+ | |||
+ | * (For "delimchar", use the same value you used for delim.) | ||
[[Category:Need NATS4 Article]] | [[Category:Need NATS4 Article]] |
Revision as of 12:29, 23 January 2012
The Affiliate Hosted Adtool section dumps adtool information in many file formats. By default, it displays the adtool information and presets the dump format select boxes to name, description, URL, and thumbnail URL.
To change these defaults, put the following code on the members_adtools_adv_hosted template.
{if $default_settings} {assign var="column0" value="field"} {assign var="column1" value="field"} {assign var="column2" value="field"} {assign var="column3" value="field"} {assign var="column4" value="field"} {assign var="column5" value="field"} {assign var="dump_delim" value="delim"} {assign var="dump_delim_char" value="delimchar"} {/if}
This code, or a variation of the code, needs to be placed into the template *above* where the column[0]-column[5] select boxes are generated.
- Possible values for "field" are: linkurl, name, date_nice, date_added, num, description, desc2, desc3, desc4, desc5, desc6, thumb, thumb2, thumb3, thumb4, thumb5, thumb6.
- Possible values for "delim" are (without the quotes): "|", "TAB", ",", ";", ":", "CSV"
- (For "delimchar", use the same value you used for delim.)