Help: MapPoint Edit Point Template

For more help, visit the WebGUI Community Wiki.

form_header
HTML code to start the edit form.
form_footer
HTML code to end the edit form.
form_submit
A button to submit the edit form.
form_title
A text form element for entering the title.
form_synopsis
A textarea form element for entering the synopsis.
form_storageIdPhoto
A file form element for uploading a photo relating to the map point.
currentPhoto
An image tag linking to any currently uploaded photo.
form_website
A text field for entering in a URL related to the map point.
form_address1
A text field for entering in one part of an address.
form_address2
A text field for entering in another part of an address.
form_address3
A text field for entering in the last past of an address.
form_city
A text field for entering in city part of the address.
form_region
A text field for entering in region, or state, part of the address.
form_zipCode
A text field for entering in the zip code part of the address.
form_country
A text field for entering in the country part of the address.
form_phone
A text field for entering in a phone number.
form_fax
A text field for entering in a fax number.
form_email
A text field for entering in an email address.
user defined variables
Unlike the Collaboration System, the Map Point does not provide predefined form fields for the userdefined variables. Instead, create any kind of form field that you need and give the field the name of the userDefined variable that you want to use. WebGUI will handle saving it.
form_isHidden
A yes/no field indicating whether or not the Map Point should display in navigations.
form_isGeocoded
A checkbox field indicating whether or not the Map Point should be automatically placed on the map based on it's address.
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>
latitude
The latitude of the MapPoint
longitude
The longitude of the MapPoint
storageIdPhoto
The storage location for this MapPoint.
website
The website for this MapPoint.
address1
The first line of the address.
address2
The second line of the address.
address3
The third line of the address.
city
The city for this MapPoint.
region
The region, or state or province, for this MapPoint.
zipCode
The zip code for this MapPoint.
country
The country for this MapPoint.
phone
The phone number for this MapPoint.
fax
The fax number for this MapPoint.
email
The email address for this MapPoint.
userDefined1
The value of userDefined field 1.
userDefined2
The value of userDefined field 2.
userDefined3
The value of userDefined field 3.
userDefined4
The value of userDefined field 4.
userDefined5
The value of userDefined field 5.
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.
 
 
Admin Console
Help: MapPoint Edit Point Template
*
Admin Console