Help: View Project Template Variables
For more help, visit the WebGUI Community Wiki.
- form.header
- HTML code to start the form for making on the fly editing of tasks work. If the user is not in the group to add projects, it will be blank.
- form.footer
- HTML code to end the form for making on the fly editing of tasks work. If the user is not in the group to add projects, it will be blank.
- project.canEdit
- A conditional indicating whether or not this user is a member of the group to add projects.
- project.resources.url
- If the user is in the group to add projects, this will be the URL to the Manage Resources screen.
- project.resources.label
- If the user is in the group to add projects, this will be internationalized label to be used with project.resources.label.
- extras
- The URL to the Extras directory for the Project Manager.
- extras.base
- The URL to the top of the Extras directory.
- project.durationUnits
- An abbreviated version of the units of time that duration are measured.
- project.hoursPerDay
- The number of hours that represents a full day of work for this project.
- task.name.label
- The internationalized word "Task".
- task.duration.label
- The internationalized word "Duration".
- task.start.label
- The internationalized word "Start".
- task.end.label
- The internationalized word "End".
- task.dependants.label
- The internationalized word "Pred", short for Predecessor.
- form.name.error
- An internationalized error message for a missing task name.
- form.start.error
- An internationalized error message for not entering an start date.
- form.end.error
- An internationalized error message for not entering an end date.
- form.greaterThan.error
- An internationalized error message for entering a start date after the end date.
- form.previousPredecessor.error
- An internationalized error message for choosing a predecessor task that does not exist.
- form.previousPredecessor.error
- An internationalized error message for choosing a predecessor task that does not exist.
- form.invalidMove.error
- An internationalized error message for choosing a task that is invalid as a predecessor because the end date is after the start date of this task.
- task.loop
- A loop containing all tasks for this project, in sequence order.
- task.number
- The sequence number for this task.
- task.row.id
- A unique identifier used internally by WebGUI for this task.
- task.name
- The name of this task.
- task.start
- If the user is in the group to add projects, then this will be a form field to edit the start date
for this task. Otherwise, just the start date will be displayed as text.
- task.dependants
- If the user is in the group to add projects, then this will be a form field to edit the dependants
for this task. Otherwise, just the list of dependents will be displayed as text.
- task.end
- If the user is in the group to add projects, then this will be a form field to edit the end date
for this task. Otherwise, just the end date will be displayed as text.
- task.duration
- If the user is in the group to add projects, and this task is not a milestone, then a this variable
will be a form field to edit the duration.
Otherwise, just the duration will be displayed as text.
- task.duration.units
- The units for the duration, typically hours or days.
- task.isMilestone
- A conditional indicating whether or not this task is a milestone.
- task.edit.url
- If the user can add tasks to this project, then this will contain an internationalized label to go with task.edit.url.
- task.edit.url
- If the user can add tasks to this project, then this will contain an internationalized label to go with task.edit.url.
- project.gantt.rowspan
- The number of rows for the Gantt chart, 4 + the number of tasks.
- project.ganttChart
- The Gantt chart for this project and its tasks.
- task.back.url
- A link back to this screen.
- task.back.label
- A label to go with the link back to this screen.
- 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