Difference between revisions of "NATS4 Templates"

From TMM Wiki
Jump to navigationJump to search
m
 
Line 3: Line 3:
 
}}
 
}}
  
Our clients frequently edit the following templates. Internal templates
+
Internal [[Ct#Template|templates]] in [[NATS]] can only be accessed after logging in to the system, and are usually prefaced with ''admin_'' or ''affiliate_''. External templates are the pages that can be accessed without logging in -- these begin with ''external_''. Templates in the default [[Ct#Skin|skin]] cannot be edited, as these will get automatically updated and lose prior changes when we update the default skin. We also recommend that you do not change any templates prefaced by ''admin_'', as we update these frequently with new additions to the system. If you would like to edit your templates or use custom templates, you must add a new skin by clicking the "Add Skin" icon in the [[NATS4 Skins and Templates Admin|Skins & Templates Admin]]. The following is a list of templates that our clients frequently edit:
can be accessed after logging in and are usually prefaced with admin_ or
 
affiliate_. External templates are the pages that can be accessed without
 
logging in and start with external_. We recommend not changing any templates prefaced by admin_ as
 
we update these frequently with new additions to the system.
 
  
 
* external_access -- Produces the login boxes after a failed login
 
* external_access -- Produces the login boxes after a failed login
* external_contact -- Create you own contact page
+
* external_contact -- Create your own contact page
* external_footer -- Lower portion of the external pages
+
* external_footer -- Lower portion of your external pages
* external_header -- Upper portion of the external pages; contains the links and the login boxes.
+
* external_header -- Upper portion of your external pages; contains the links and the login boxes.
 
* external_index -- Page displayed as the index of the NATS system; the external home page.
 
* external_index -- Page displayed as the index of the NATS system; the external home page.
 
* mail_owner_* -- Email notifications sent to the program owner
 
* mail_owner_* -- Email notifications sent to the program owner
Line 19: Line 15:
 
* affiliate_* -- Affiliate pages
 
* affiliate_* -- Affiliate pages
 
* external_password -- Page produced when the forgot password link is clicked.
 
* external_password -- Page produced when the forgot password link is clicked.
* external_password_sent -- Page stating that the password has been sent to the provided email address
+
* external_password_sent -- Page stating that the password has been sent to the provided email address.
 
* external_programs -- External page for listing programs.
 
* external_programs -- External page for listing programs.
 
* external_signup -- Produces the reseller signup form
 
* external_signup -- Produces the reseller signup form
Line 27: Line 23:
  
 
== Hiding Headers and Footers ==
 
== Hiding Headers and Footers ==
In the [[Templates Admin]] choose No Header and No Footer from the
+
If you want to never use a header or footer for the template you are editing in the [[NATS4 Skins and Templates Admin|Skins & Templates Admin]], choose "No Header" and "No Footer" from the drop-down boxes at the top of the page.
drop-down boxes to never use a header or footer for the current
 
template.
 
  
To hide the header and footer for one time only, append the following
+
If you would like to hide your header and footer for one time only, you can append the following argument to the template URL: ''&hide_headers=1''. For example:
argument to the template URL: &hide_headers=1. For example:
 
  
 
<pre>
 
<pre>
 
<a href="external.php?page=custompage&nats={$smarty.request.nats}&hide_headers=1">Custom Page</a>
 
<a href="external.php?page=custompage&nats={$smarty.request.nats}&hide_headers=1">Custom Page</a>
 
</pre>
 
</pre>

Revision as of 11:59, 26 July 2010

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
Skins and Templates Admin
The Skins and Templates Admin
Skins
Templates
Site Templates
Language Skins
Language Files
custom_errors.php
Join Page Variables
Skipping NATS Join Form
Post URL Variables
Member Usernames & Passwords
Form Validation
Username Recommendations
Password Retrieval
Post-Biller Templates
Geo-Target Join Options
Random Usernames and Passwords
Smarty
Smarty print array
Smarty Plugins
Available Smarty Functions
Affiliate Support Template
Adding a Verification Image
Custom Program and Campaign Selection Pages
Output An Affiliate's Last Paid Date
Affiliate Signup Email
Affiliate Join Page Linkcodes
Approval/Upgrade/Denial Variables
Approval/Upgrade/Denial Template Variables
CSS Theme Builder

Internal templates in NATS can only be accessed after logging in to the system, and are usually prefaced with admin_ or affiliate_. External templates are the pages that can be accessed without logging in -- these begin with external_. Templates in the default skin cannot be edited, as these will get automatically updated and lose prior changes when we update the default skin. We also recommend that you do not change any templates prefaced by admin_, as we update these frequently with new additions to the system. If you would like to edit your templates or use custom templates, you must add a new skin by clicking the "Add Skin" icon in the Skins & Templates Admin. The following is a list of templates that our clients frequently edit:

  • external_access -- Produces the login boxes after a failed login
  • external_contact -- Create your own contact page
  • external_footer -- Lower portion of your external pages
  • external_header -- Upper portion of your external pages; contains the links and the login boxes.
  • external_index -- Page displayed as the index of the NATS system; the external home page.
  • mail_owner_* -- Email notifications sent to the program owner
  • mail_affiliate -- Email notifications sent to affiliates
  • affiliate_index -- Page displayed as the index of the internal NATS system; the internal home page.
  • affiliate_* -- Affiliate pages
  • external_password -- Page produced when the forgot password link is clicked.
  • external_password_sent -- Page stating that the password has been sent to the provided email address.
  • external_programs -- External page for listing programs.
  • external_signup -- Produces the reseller signup form
  • external_signup_payvia -- Produces the advanced reseller signup form
  • external_signup_done -- Page displayed after a reseller account has been created
  • external_sites -- External page for listing sites.

Hiding Headers and Footers

If you want to never use a header or footer for the template you are editing in the Skins & Templates Admin, choose "No Header" and "No Footer" from the drop-down boxes at the top of the page.

If you would like to hide your header and footer for one time only, you can append the following argument to the template URL: &hide_headers=1. For example:

<a href="external.php?page=custompage&nats={$smarty.request.nats}&hide_headers=1">Custom Page</a>