Help: Account Layout Template
For more help, visit the WebGUI Community Wiki.
- account_loop
- A loop containing information about account plugins
- title
- The title of this account plugin, from the config file. Macros in the title will be expanded.
- identifier
- The identifier for this plugin, from the config file. Default identifiers are profile, inbox, friends, contributions, shop and user.
- className
- The perl class name for this plugin.
- is_[[IDENTIFIER]]
- [[IDENTIFIER]] is replaced with the identifier from the plugin, for example, is_profile. The resulting boolean will be true for this plugin.
- account url
- The URL to activate this plugin.
- is_method_[[METHOD]]
- [[METHOD]] is replaced with the name of the default method for this plugin. The default name for this method is view.
- profile_user_id
- The userId of the user whose account is being viewed.
- user_full_name
- The full name of the user whose account is being viewed
- user_member_since
- The date this user created their account on the site, in epoch format. Use the Date macro to change the format.
- view_profile_url
- A URL to view the user's profile.
- root_url
- The URL to go back to the Account main screen.
- back_url
- A URL to leave the Account screen and go back to the website.
- 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