Help: Manage Friends Template Variables
For more help, visit the WebGUI Community Wiki.
- formHeader
- HTML required to begin the form
- subjectForm
- HTML code for a text form for the subject of emails to send to your Friends.
- messageForm
- HTML code for a text form for the body of emails to send to your Friends.
- removeFriendButton
- HTML code for a button that will remove all selected Friends.
- friends
- A loop containing information about friends and form controls for deleting them, or sending a message to them.
- name
- The name of this Friend
- profileUrl
- The URL to this friend's user profile
- status
- The user's status, either online (logged in) or offline (logged out)
- checkboxForm
- HTML code for a checkbox. This checkbox is used to select the Friend to be deleted, or to send them an email.
- formFooter
- HTML code for ending this form.
- account.options
- A loop containing options for different user account access links.
- options.display
- A full HTML link, with internationalized label, for an individual account options, such as editing a profile, viewing a profile, accessing the user's inbox, and so on.
- 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