Difference between revisions of "NATS4 Templates"
m |
TMMStephenY2 (talk | contribs) |
||
Line 3: | Line 3: | ||
}} | }} | ||
− | + | 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 | ||
− | 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 | + | * external_contact -- Create your own contact page |
− | * external_footer -- Lower portion of | + | * external_footer -- Lower portion of your external pages |
− | * external_header -- Upper portion of | + | * 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 == | ||
− | + | 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 | ||
− | |||
− | + | 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. | ||
<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 10:59, 26 July 2010
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.
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>