Overview

 

The built-in BLOX use registration form can be customized to add/remove standard fields, or to add/remove custom fields.

+3 
User registration fields

Accessing BLOX CMS Applications

ACCESSING APPLICATIONS

From the drop-down in the the upper left choose Design / Blocks...


NOTE: Not sure how to access BLOX Applications? Click here


Open the Users URL.

Open Page customizations. Then open Registration Fields.

Fields

Each field has the same three options:

  • Available (Users can fill it in, but it is not required)
  • Required (Users must fill this field in)
  • Hidden (Does not show to users)

These are the standard fields available to customize your user registration form:

  • First and last name (If the "user names: post using real names" setting is enabled in Application settings, this field will automatically display.)
  • Confirm Email
  • Phone
  • Address
  • Bio
  • Gender
  • Birthday
  • Home town
  • Home page
  • Hobbies
  • Political views
  • Religious Views
  • Favorite music
  • Favorite TV shows
  • Favorite movies
  • Favorite books
  • Favorite quotes

To create a custom field

From the dropdown in the the upper left choose Design / Templates... (Not sure how to access BLOX Applications? Click here)


Note: Editing templates and block templates requires Certified Manager (full access). (For information on different access levels see Groups - Access Levels. If you are not certified you will need to contact TownNews Training and Documentation by submitting a ticket through the BLOX CMS admin, or by calling 800-293-9576 and asking for the Training department.

For more information about becoming certified please see BLOX Template - SLA.


Choose your template set...

There are two sets of templates in Design / Templates. Both sets of core templates are exactly the same. To determine which templates you are using, go to Design / Templates / Site templates / Skins / Editorial. If the name of Flex is highlighted in blue this is the set of templates you are using. If not, check in Design / Templates / Flex / Skins / Editorial for the the same thing.

NOTE: it does not matter what set of templates you are on, this is for how TownNews will roll out new templates in the future. Eventually all sites will be on Design / Templates / Flex. If you create a new URL map, which we will discuss later in this training, you will be able to decide which Template library you are using. If this is the case, best practice would be to choose Flex.

+3 
Site templates

 Open Components / _Site / macros.

+3 
Site Components
+3 
Site Macros

Right click on macros folder, select new file. The file can be called anything you want, but nmust have an extension of .utl (Ex: registration.utl)

Copy the code below and paste into the file created in step 4.

[%- macro opt_userRegisterBottom() -%]

<fieldset>

<div class="form-group">

<label class="col-md-3 col-lg-2 control-label" for="input-custom1"><span class="text-danger">*</span> CUSTOM TEST</label>

<div class="col-md-9 col-lg-10">

<input id="input-custom1" class="form-control" type="text" name="custom_test" value="[% util_request('custom_test') %]" required>

</div>

</div>

</fieldset>

[%- end -%]


NOTE: To add additional custom fields, duplicate the code between <fieldset> and </fieldset> as many times as you need. 


Tags