Help: Project Manager, Default View (Dashboard) Template Variables
For more help, visit the WebGUI Community Wiki.
- extras
- The URL to the Extras directory for the Project Manager.
- project.create
- A URL to add a new project to the Project Manager.
- project.create.label
- An internationalized label to go with the project.create URL.
- project.name.label
- The internationalized label for "Project Name".
- project.startDate.label
- The internationalized label for "Start".
- project.endDate.label
- The internationalized label for "End".
- project.cost.label
- The internationalized label for "Estimated Cost".
- project.complete.label
- The internationalized label for "% Complete".
- project.actions.label
- The internationalized label for "Actions".
- empty.colspan
- The number of columns to span, by default, 5. If canEditProjects is true, then it will become 6.
- canEditProjects
- A conditional that will be true if the current user is allowed to view projects or manage projects.
- project.delete.warning
- An internationalized message used in the default template as a javascript pop-up.
- noProjects
- A conditional that is true if there are no project in the Project Manager.
- project.loop
- A loop containing all projects that the current user is allowed to see.
- project.view.url
- A URL to go to the screen to view this project.
- project.name.data
- The name of this project.
- project.description.data
- This project's description.
- project.startDate.data
- The project's starting date in YYYY-MM-DD format. If no start date has been set, then it will have a short internationalized message.
- project.cost.data.int
- The project's cost as an integer (whole number) with commas inserted.
- project.cost.data.float
- The project's cost with commas inserted.
- project.complete.data.int
- Percentage completion for the project, as an integer.
- project.complete.data.float
- Percentage completion for the project, as a floating number with two decimal places of accuracy.
- project.edit.url
- If the current user has permission to edit projects, then this variable will have a URL to edit the project.
- project.edit.title
- An internationalized label "Edit Project".
- project.delete.url
- If the current user has permission to edit projects, then this variable will have a URL to delete the project.
- project.delete.title
- An internationalized label "Delete Project".
- projectDashboardTemplateId
- The ID of the template to display the main view of the Project Manager.
- projectDisplayTemplateId
- The ID of the template to display one project from the Project Manager.
- ganttChartTemplateId
- The ID of the template to display the gantt chart in the Project Manager.
- editTaskTemplateId
- The ID of the template to edit a task in the Project Manager.
- resourcePopupTemplateId
- The ID of the template to display a popup for selecting resources in the Project Manager.
- resourceListTemplateId
- The ID of the template to display a popup for listing resources in the Project Manager.
- groupToAdd
- The ID of group that is allowed to manage this project manager.
- displayTitle
- A conditional variable for whether or not the title should be displayed.
- description
- The description of this wobject.
- styleTemplateId
- The assetId of the template for displaying the Asset.
- printableStyleTemplateId
- The assetId of the template for displaying the Asset for printing.
- assetId
- The unique identifier for this Asset, in base64 encoding.
- assetIdHex
- The unique identifier for this Asset, in hexadecimal format.
- title
- The title of the Asset
- menuTitle
- The title of the Asset used in Navigations.
- url
- The Asset's URL.
- isHidden
- A boolean that will be true if this Asset is set not be displayed in Navigations.
- newWindow
- A boolean that will be true if this Asset is set open in a new browser window.
- encryptPage
- A boolean that will be true if this Asset is set to be served over SSL.
- ownerUserId
- The ID of the user who owns this Asset.
- groupIdView
- The ID of the group that is allowed to view this Asset.
- groupIdEdit
- The ID of the group that is allowed to edit this Asset.
- synopsis
- A short description of the contents of the Asset.
- extraHeadTags
- Extra tags that will be added to the header of the page containing the Asset. These will be included by default so you do not need to add them youself, unless you want them to be in there twice.
- isPackage
- A boolean that will be true if this Asset is set to be a Package.
- isPrototype
- A boolean that will be true if this Asset is set to be a prototype.
- status
- With respect to version control, the status of this Asset. Typically these are the English strings "approved", "pending", "committed".
- assetSize
- How big this asset is in bytes. The sum of all database fields and attachments.
- keywords
- This will be a string with the keywords for this asset. Individual keywords will be joined with spaces, unless the keyword contains spaces, in which case it will be quoted.
- 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