Difference between revisions of "New Downloadable Content Adtool Type"

From TMM Wiki
Jump to navigationJump to search
m
 
Line 3: Line 3:
 
}}
 
}}
  
[[NATS]] provides the ability to duplicate [[Ct#Adtool|adtool]] types, including Downloadable Content Adtools. This duplicate adtool will have a different name and will appear separately from the Downloadable Content adtool type in the Affiliate Adtools list.  
+
[[NATS]] provides the ability to duplicate [[Ct#Adtool|adtool]] types, including [[NATS4 Content|Downloadable Content]] Adtools. This duplicate [[Ct#Adtool|adtool]] will have a different name and will appear separately from the [[NATS4 Content|Downloadable Content]] adtool type in the Affiliate Adtools list.  
  
 
'''Note''': You can further customize your duplicated Downloadable Content adtool, but you should not attempt to customize your new adtool type until you have completed the following instructions.
 
'''Note''': You can further customize your duplicated Downloadable Content adtool, but you should not attempt to customize your new adtool type until you have completed the following instructions.
Line 9: Line 9:
 
== Duplicating Your Adtool ==
 
== Duplicating Your Adtool ==
  
To duplicate your Downloadable Content Adtool type, go to the [[NATS4 Adtools Admin|Adtools Admin]]. Scroll down to the Downloadable Adtools Types section, find the Content adtool type, and click the Duplicate Adtool Type icon. Enter a [[ct#Short name|shortname]] to identify your new adtool type.  
+
To duplicate your [[NATS4 Content|Downloadable Content]] Adtool type, go to the [[NATS4 Adtools Admin|Adtools Admin]]. Scroll down to the Downloadable Adtools Types section, find the Content adtool type, and click the Duplicate Adtool Type icon. Enter a [[ct#Short name|shortname]] to identify your new adtool type.  
  
 
[[File:New content adtool.PNG|Configuring Your New Downloadable Content Adtool]]
 
[[File:New content adtool.PNG|Configuring Your New Downloadable Content Adtool]]
  
On the next page, edit your new adtool, change its Description, and click Save Changes. Once you have duplicated your adtool type, click the View Adtools tab and upload an initial downloadable content adtool.
+
On the next page, edit your new [[Ct#Adtool|adtool]], change its Description, and click Save Changes. Once you have duplicated your adtool type, click the View Adtools tab and upload an initial downloadable content adtool.
  
 
== Creating Templates For Your Adtool ==
 
== Creating Templates For Your Adtool ==
  
In order to use your new Downloadable Content adtool type, you will need to create new templates in the [[NATS4 Skins and Templates Admin|Skins & Templates Admin]].
+
In order to use your new [[NATS4 Content|Downloadable Content]] adtool type, you will need to create new templates in the [[NATS4 Skins and Templates Admin|Skins & Templates Admin]].
  
To do this, go to the [[NATS4 Skins and Templates Admin|Skins & Templates Admin]], click the "Advance Skins" tab, and view the templates for your ''default'' skin. The templates are listed alphabetically; find the following two templates:
+
To do this, go to the [[NATS4 Skins and Templates Admin|Skins & Templates Admin]], click the "Advance Skins" tab, and view the [[Ct#Template|template]] for your ''default'' skin. The templates are listed alphabetically; find the following two templates:
  
 
* ''function_display_adtools_content_min''
 
* ''function_display_adtools_content_min''
Line 26: Line 26:
 
[[File:Display adtool template.PNG|450px|Adtool Templates to Customize]]
 
[[File:Display adtool template.PNG|450px|Adtool Templates to Customize]]
  
Edit each of these templates in a new browser tab or window. Without closing your new tabs/windows, go back to the template listing and scroll to the top of the screen. In the "Create Template" section, enter the following template name:
+
Edit each of these [[Ct#Template|templates]] in a new browser tab or window. Without closing your new tabs/windows, go back to the template listing and scroll to the top of the screen. In the "Create Template" section, enter the following template name:
  
 
* ''function_display_adtools_shortname_min''
 
* ''function_display_adtools_shortname_min''
  
Choose "function_" from the first drop-down menu and fill in the rest of the name in the empty box next to it. Replace ''shortname'' with the shortname you chose earlier. In the Header drop-down, choose ''No Header;'' in the Footer drop-down, choose ''No Footer.'' Next, enter a description and click Create. Go back to the ''function_display_adtools_content_min'' page you opened in a new window or tab earlier and copy the entire Template Body. Finally, paste the copied code in to the Template Body of your newly created template.
+
Choose "function_" from the first drop-down menu and fill in the rest of the name in the empty box next to it. Replace ''shortname'' with the [[Ct#Shortname|shortname]] you chose earlier. In the Header drop-down, choose ''No Header;'' in the Footer drop-down, choose ''No Footer.'' Next, enter a description and click Create. Go back to the ''function_display_adtools_content_min'' page you opened in a new window or tab earlier and copy the entire Template Body. Finally, paste the copied code in to the Template Body of your newly created template.
  
 
Find and remove the following code:
 
Find and remove the following code:
Line 88: Line 88:
 
== Setting Up Your Duplicated Adtool ==
 
== Setting Up Your Duplicated Adtool ==
  
Once you have finished setting up the other aspects of your new Downloadable Content Adtool Type, return to the Adtools Admin and edit your new adtool type. In the
+
Once you have finished setting up the other aspects of your new [[NATS4 Content|Downloadable Content]] Adtool Type, return to the [[NATS4 Adtools Admin|Adtools Admin]] and edit your new adtool type. In the
 
Display Template field, click the drop-down box and select the option
 
Display Template field, click the drop-down box and select the option
with your adtool's shortname, then click Save Changes.
+
with your [[Ct#Adtool|adtool]]'s [[Ct#Shortname|shortname]], then click Save Changes.
  
 
When you've finished configuring your duplicated Downloadable Content Adtool type, go to your Main Program Page. Navigate to the Affiliate Adtools page, find your duplicated adtool type, and try to get the initial adtool you added earlier. If this does not work, please [http://clients.toomuchmedia.com submit a ticket and we'll help you out.]
 
When you've finished configuring your duplicated Downloadable Content Adtool type, go to your Main Program Page. Navigate to the Affiliate Adtools page, find your duplicated adtool type, and try to get the initial adtool you added earlier. If this does not work, please [http://clients.toomuchmedia.com submit a ticket and we'll help you out.]
 +
 +
[[Category:NATS4 Adtools Admin]]

Latest revision as of 12:20, 19 May 2011

NATS 4
Members Admin
The Members Admin
View Member Details
Add Member
MySQL Auth
Mod Authn DB
Multisite Access
Member Logging
Member Password Retrieval
OpenID Connect
Mod Auth OpenIDC
ID Numbers
Adtools Admin
The Adtools Admin
Duplicating Adtool Types
Add New Adtools
Add New Adtool Type
Bulk Import Adtools
Downloadable Content Adtool Type
Get Hosted Galleries
Adtool Templates
Content of the Day
Linkcodes and Tools Admin
Setting Rules

NATS provides the ability to duplicate adtool types, including Downloadable Content Adtools. This duplicate adtool will have a different name and will appear separately from the Downloadable Content adtool type in the Affiliate Adtools list.

Note: You can further customize your duplicated Downloadable Content adtool, but you should not attempt to customize your new adtool type until you have completed the following instructions.

Duplicating Your Adtool

To duplicate your Downloadable Content Adtool type, go to the Adtools Admin. Scroll down to the Downloadable Adtools Types section, find the Content adtool type, and click the Duplicate Adtool Type icon. Enter a shortname to identify your new adtool type.

Configuring Your New Downloadable Content Adtool

On the next page, edit your new adtool, change its Description, and click Save Changes. Once you have duplicated your adtool type, click the View Adtools tab and upload an initial downloadable content adtool.

Creating Templates For Your Adtool

In order to use your new Downloadable Content adtool type, you will need to create new templates in the Skins & Templates Admin.

To do this, go to the Skins & Templates Admin, click the "Advance Skins" tab, and view the template for your default skin. The templates are listed alphabetically; find the following two templates:

  • function_display_adtools_content_min
  • function_display_adtools_content_max

Adtool Templates to Customize

Edit each of these templates in a new browser tab or window. Without closing your new tabs/windows, go back to the template listing and scroll to the top of the screen. In the "Create Template" section, enter the following template name:

  • function_display_adtools_shortname_min

Choose "function_" from the first drop-down menu and fill in the rest of the name in the empty box next to it. Replace shortname with the shortname you chose earlier. In the Header drop-down, choose No Header; in the Footer drop-down, choose No Footer. Next, enter a description and click Create. Go back to the function_display_adtools_content_min page you opened in a new window or tab earlier and copy the entire Template Body. Finally, paste the copied code in to the Template Body of your newly created template.

Find and remove the following code:

<div class="slra slra_adtools_content_min2"><a 
  href="fetch_zip.php?name={$tool.content_zip}&filename={$adid}_content_zip.zip&download=1">Download</a></div>
<div class="slra
  slra_adtools_content_min3">{$adtool_types[$type_details.short].fields.type.mc_options[$tool.type]}</div>

Replace it with the following code:

<div class="slra slra_adtools_content_min2"><a
  href="fetch_zip.php?name={$tool.content_zip}&filename={$adid}_ign_content_zip.zip&download=1">Download</a></div>
<div class="slra
  slra_adtools_content_min3">{$adtool_types[$type_details.short].fields.ign_type.mc_options[$tool.type]}</div>


Click Save Template to save the template and return to the template listing. In the create template box, enter the following template name:

  • function_display_adtools_shortname_max

Choose "function_" from the first drop-down menu and fill in the rest of the name in the empty box next to it. Replace shortname with the shortname you chose earlier. In the Header drop-down, choose No Header; in the Footer drop-down, choose No Footer. Next, enter a description and click Create. Go back to the function_display_adtools_content_max page you opened in a new window or tab earlier and copy the entire Template Body. Finally, paste the copied code in to the Template Body of your newly created template.

Find and remove the following code:

<div style="padding-top: 8px; width: 235px; float: left; font-weight:
  bold; text-align: center; padding-right: 4px;"><a
  href="fetch_zip.php?name={$tool.content_zip}&filename={$adid}_content_zip.zip&download=1">Click
  HERE to Download Content</a></div>

Replace it with the following code:

<div style="padding-top: 8px; width: 235px; float: left; font-weight:
  bold; text-align: center; padding-right: 4px;"><a
  href="fetch_zip.php?name={$tool.content_zip}&filename={$adid}_ign_content_zip.zip&download=1">Click
  HERE to Download Content</a></div>

Find and remove the following code:

<div style="padding-top: 8px; width: 60px; float: left; text-align:
  left;">{$adtool_types[$type_details.short].fields.type.mc_options[$tool.type]}</div>

Replace it with the following code:

<div style="padding-top: 8px; width: 60px; float: left; text-align:
  left;">{$adtool_types[$type_details.short].fields.ign_type.mc_options[$tool.type]}</div>

Click Save Template when you are finished making changes.

Setting Up Your Duplicated Adtool

Once you have finished setting up the other aspects of your new Downloadable Content Adtool Type, return to the Adtools Admin and edit your new adtool type. In the Display Template field, click the drop-down box and select the option with your adtool's shortname, then click Save Changes.

When you've finished configuring your duplicated Downloadable Content Adtool type, go to your Main Program Page. Navigate to the Affiliate Adtools page, find your duplicated adtool type, and try to get the initial adtool you added earlier. If this does not work, please submit a ticket and we'll help you out.