Help: Thingy Search Thing Template
For more help, visit the WebGUI Community Wiki.
- add_url
- Url to the add screen for this thing
- import_url
- Url to import data into this Thing from a csv file
- export_url
- Url to export the all data in a thing into a csv file.
- searchScreenTitle
- The title of the search screen
- searchDescription
- A description of the search screen.
- searchFields_loop
- A loop that contains the fields that are searchable
- searchFields_fieldId
- The fieldId of a searchable field.
- searchFields_form
- A form element corresponding to this fields fieldType to search this field.
- searchFields_textForm
- A text input to search this field.
- searchFields_label
- The label of a searchable field.
- searchFields_is__fieldType__
- A boolean indicating whether this field is of type __fieldType__. The first letter of __fieldType__ is always uppercase. Example: for a select box the value of <tmpl_var searchFields_isSelectBox> is true.
- searchFields_listType
- A boolean indicating whether this field is a List type field.
- listOfThings
- A loop containing a list of all the Things defined in this Thingy.
- name
- The name of the Thing.
- search_url
- Url that leads to the search screen
- canView
- A condition indicating whether the current user has the rights to view this thing.
- isCurrent
- A condition indicating whether this Thing is the one that the user is currently interacting with.
- form_start
- The start tag of the form
- form_submit
- A form button to submit the form data.
- form_end
- The end of the form
- displayInSearchFields_loop
- A loop containing the fields that are displayed in the search results.
- displayInSearchFields_fieldId
- The fieldId of this field.
- displayInSearchFields_orderByUrl
- Url to order the search results by this field.
- displayInSearchFields_label
- The label of this field.
- searchResult_loop
- A loop containing the search results.
- searchResult_id
- The id of a search result.
- searchResult_view_url
- Url to the view screen of this search result
- searchResult_edit_icon
- Edit icon that links to the edit screen of this search result.
- searchResult_edit_url
- Url to the edit screen of this search result.
- searchResult_delete_icon
- Delete icon to delete this search result.
- searchResult_delete_url
- Url to delete this search result.
- searchResult_copy_icon
- Copy icon to copy this search result.
- searchResult_copy_url
- Url to copy this search result.
- searchResult_field_loop
- A loop containing the fields that are to be displayed for this search result.
- field_id
- The id of this field.
- field_value
- The value of this field
- searchResult_json
- JSON-encoded version of searchResult_loop so that you can access the data in Javascript
- canEditThings
- Is true if the current user can view the Things that are defined for this Thingy Asset
- manage_url
- This Url will lead to a screen to manage the Things in this Thingy Asset.
- addThing_url
- This Url leads to the screen to add a new Thing to this Thingy Asset.
- 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