Join Option Box vs Button

From Tmmwiki

Jump to: navigation, search
NATS 4
Sites Admin
The Sites Admin
Sites
Sites Setup
NATS4 Post URLs
Token Sites
ID Numbers
Site Partner
Site User Management
Tour Redirection
Username Checking
NATS4 Post-Biller Templates
Join Option Box vs Button
Qualified Join Page Hits
Type-In Traffic
Allowed languages

NATS 3
Sites Admin
NATS Sites
Site Setup
Tour Redirection
ID Numbers
Automail
Site User Management
Username Checking
Join Form Errors
Free Pre-Initial Checkbox
Payouts Based on Program and Join Options
Payouts Based on Join Option and Per Option
Adding Extra Site Tours
Site Partner
Join Options
Multisite Access
Removing Join Options
Tour Setup
Site Undelete
Join Option Box vs Button
Redirecting Traffic to a Sponsor
Qualified Join Page Hits
Type-In Traffic
Allowed languages

You can display radio buttons instead of a select box on the join option section of the Join Form. Go to Sites Admin, click the Edit Site Templates icon, and replace the old code with the new code, below, in the template:

Old: Select Box

<select name="signup[optionid]" class="join_select">
{html_options options=$join_options selected=$vars.optionid}
</select>

New: Radio Buttons
For Nats 4

{html_radios name="signup[optionid]" options=$join_options selected=$join_optionids.0 separator="<br>"}

The $join_optionids.0 variable will set the selected radio button to the first option listed.

For Nats 3

{html_radios name="signup[optionid]" options=$join_options selected=$vars.optionid separator="<br>"}
products