Help: Anonymous Registration Template Variables
For more help, visit the WebGUI Community Wiki.
- create.form.header
- The required form elements that go at the top of the anonymous registration page.
- create.form.footer
- The required form elements that go after the anonymous registration page form.
- create.form.submit
- The default submit button for the anonymous registration form.
- title
- Default page title.
- create.form.profile
- A loop containing visible and required profile fields for anonymous registration. These variables are also available outside of the loop, identified by id.
- profile.formElement
- Form element for visible or required profile field.
- profile.formElement.label
- Default text label for profile form element.
- profile.required
- A boolean that will be true if the profile field is required.
- create.form.profile.id.formElement
- Non-loop version of the form element for profile fields. Replace id with the actual profile id for the element.
- create.form.profile.id.formElement.label
- Non-loop version of the default text label for profile form element. Replace id with the actual profile id for the element.
- create.form.profile.id.required
- Non-loop version of the boolean that will be true if the profile field is required. Replace id with the actual profile id for the element.
- login.url
- URL for the login page.
- login.label
- Default text label for login page link.
- webgui.version
- The version of WebGUI on your site.
- webgui.status
- The release status for this version of WebGUI (stable, beta, gamma, etc.)
- session.user.username
- The current user's username.
- session.user.firstDayOfWeek
- From the current user's profile, the day they selected to be the first day of the week.
- session.config.extrasurl
- From the WebGUI config, the URL for the extras directory.
- session.var.adminOn
- This variable will be true if the user is in Admin mode.
- session.setting.companyName
- From the WebGUI settings, the company name.
- session.setting.anonymousRegistration
- From the WebGUI settings, whether or not anonymous registration has been enabled.
- session form variables
- Session Form Variables
Any form variables will be available in the template with this syntax:
<tmpl_var session.form.variable>
If there is more than 1 value in a form variable, only the last will be returned.
- session scratch variables
- Session Scratch Variables
Any scratch variables will be available in the template with this syntax:
<tmpl_var session.scratch.variable>
Admin Console