Smarty

From TMMwiki
Jump to: navigation, search
NATS 4
Skins and Templates Admin
The Skins and Templates Admin
Skins
Smarty Plugins
Templates
Site Templates
Language Skins
Language Files
custom_errors.php
Join Page Variables
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
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

NATS 3
Skins & Templates Admin
Smarty Plugins
Skins
Editing Skins
Creating Skins
Switching Skins
Templates
nats_code
Affiliate Stats Template
Affiliate Support Template
Affiliate Login Template
custom errors.php
Template Array Variable
Detailed Stats
NATS Variables
Dialer Statistics
Affiliate Signup
Post URL Variables
Member Usernames & Passwords
Output An Affiliate's Last Paid Date
Custom Program and Campaign Selection Pages
CAPTCHA Removal
Username Recommendations
Password Retrieval
Post-Biller Templates
Geo-Target Join Options
Template Caching
Random Usernames and Passwords
Base Templates
Protecting Template Data
Mail Reseller Signup Template Variable Names
Smarty
Smarty print array
News Section Templating
Affiliate Signup Email
Getting The NATSCode
Checking for Usernames on All Sites
Adding Stats to Affiliate Pages
Affiliate Join Page Linkcodes

Smarty is a templating engine used by several Too Much Media products.

PHP Parsing

The Smarty templates in NATS are not parsed by PHP for security reasons. In NATS3, you can enable linkcodes by changing links from,

?<?=$_SERVER['QUERY_STRING']?>

to,

?nats={$nats_code}

In NATS4, you can use the nats_encode or nats_list_linkcodes functions.

Inline JavaScript & CSS

Place inline JavaScript or CSS between Smarty's {literal} and {/literal} tags.

See Also