Difference between revisions of "NATS4 Templates"

From TMM Wiki
Jump to navigationJump to search
m
 
m
 
(5 intermediate revisions by one other user not shown)
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.
can be accessed after logging in and are usually prefaced with admin_ or
+
<!-- Put in section about Language Skins ON NEXT RELEASE:
affiliate_. External templates are the pages that can be accessed without
+
As of Version XXX, [[NATS4]] the ability to create language file templates that can automatically be set based on the surfer or affiliate's browser language. For more information, please see our [[NATS4_Language_Skins|Language Skins]] article.
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.
+
 
 +
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:
  
 
* 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 20:
 
* 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 28:
  
 
== 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
+
[[File:No header footer.PNG|450px|Hiding Your Header and Footer]]
argument to the template URL: &hide_headers=1. For example:
 
  
<pre>
+
[[Category:NATS4 Skins and Templates]]
<a href="external.php?page=custompage&nats={$smarty.request.nats}&hide_headers=1">Custom Page</a>
 
</pre>
 

Latest revision as of 14:18, 18 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
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.

Hiding Your Header and Footer