Difference between revisions of "NATS4 Post-Biller Templates"
m |
TMMStephenY2 (talk | contribs) |
||
Line 4: | Line 4: | ||
}} | }} | ||
− | + | When a [[ct#Surfer|surfer's]] transactions on a site are approved, denied, or upgraded, they are typically sent to an external URL. However instead of sending [[ct#Member|members]] to an external URL after their transaction, NATS instead can send them to a custom internal URL using post-biller templates. | |
− | + | ||
− | + | == Customizing a Post-Biller Template == | |
− | To edit the templates | + | This URL's layout is customizable through the use of [[Smarty]]. |
+ | |||
+ | To edit the templates go to [[Sites Admin]], edit or create a tour, click the | ||
Templates tab, and find the following templates: ''page_approval'', | Templates tab, and find the following templates: ''page_approval'', | ||
''page_denial'', ''page_upgrade_approval'', and ''page_upgrade_denial''. | ''page_denial'', ''page_upgrade_approval'', and ''page_upgrade_denial''. | ||
− | + | Once you are editing the template, you can use the ''$site'', ''$member'', and ''$option'' Smarty arrays in order to create a custom template for members to be redirected to after their transaction has been completed. For example, the default ''page_approval'' template can say something along the lines of: | |
+ | |||
<pre> | <pre> | ||
Line 20: | Line 23: | ||
Password: {$member.password} | Password: {$member.password} | ||
</pre> | </pre> | ||
+ | |||
+ | |||
+ | This displays a short message to the surfer, as well as informing them of their Username and Password if their transaction has been approved. This function allows clients flexibility if they want to keep surfers on their internal URLs after a transaction has occurred. |
Revision as of 12:37, 4 June 2010
When a surfer's transactions on a site are approved, denied, or upgraded, they are typically sent to an external URL. However instead of sending members to an external URL after their transaction, NATS instead can send them to a custom internal URL using post-biller templates.
Customizing a Post-Biller Template
This URL's layout is customizable through the use of Smarty.
To edit the templates go to Sites Admin, edit or create a tour, click the Templates tab, and find the following templates: page_approval, page_denial, page_upgrade_approval, and page_upgrade_denial.
Once you are editing the template, you can use the $site, $member, and $option Smarty arrays in order to create a custom template for members to be redirected to after their transaction has been completed. For example, the default page_approval template can say something along the lines of:
You joined site {$site.name} with the following information: <br><br> Username: {$member.username} <br> Password: {$member.password}
This displays a short message to the surfer, as well as informing them of their Username and Password if their transaction has been approved. This function allows clients flexibility if they want to keep surfers on their internal URLs after a transaction has occurred.