Help: View Story Template.
For more help, visit the WebGUI Community Wiki.
- canEdit
- A boolean which will be true if the current user can edit this story.
- highlights_loop
- A loop containing all the highlights from the story.
- highlight
- One highlight, without formatting or extra HTML.
- keywords_loop
- A loop containing all the keywords from the story.
- keyword
- One keyword, with no formatting.
- url
- A URL to view all stories in this archive related to this keyword.
- updatedTime
- The time this Story was last updated, as a formatted duration, like 1 Hour(s) ago.
- updatedTimeEpoch
- The time this Story was last updated, as an epoch.
- crumb_loop
- A loop containing the crumbtrail. The first element will be a link to the archive that contains the story. The last element will be the story, with title and url. If there are 3 elements, the middle element will be the topic.
- title
- The title of a page in the crumb trail.
- url
- The url of a page in the crumb trail.
- photoWidth
- The width of photos, set in the Story Archive for this Story.
- photoHeight
- The height of slides, set in the Story Archive for this Story.
- hasPhotos
- This template variable will be true if the Story has photos uploaded to it.
- singlePhoto
- This template variable will be true if the Story has just 1 photo uploaded to it.
- photo_loop
- A loop containing photos and information about the photos.
- imageUrl
- The URL to the image.
- imageCaption
- A caption for the image.
- imageByline
- A byline for the image.
- imageAlt
- Alternate text for the image, suitable for use as the ALT parameter for an IMG tag.
- imageTitle
- Alternate text for the image, suitable for use as the TITLE parameter for an IMG tag.
- imageLink
- A URL for the image to link to.
- 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