Help: Story Archive, View Template
For more help, visit the WebGUI Community Wiki.
- date_loop
- A loop containing stories in the date they were submitted, with subloops for each day. The loop is paginated.
- epochDate
- The epoch that is the beginning of the day for a day where stories were submitted to the Story Archive.
- story_loop
- A loop containing all stories there were submitted on the day given by epochDate.
- url
- The URL to view a story.
- title
- The title of a story.
- creationDate
- The epoch date when this story was created, or submitted, to the Story Archive.
- deleteIcon
- An icon to delete this story. If the user is not allowed to delete the story, or their UI level is set too low, this variable will be empty.
- editIcon
- An icon to edit this story. If the user is not allowed to edit the story, or their UI level is set too low, this variable will be empty.
- searchHeader
- HTML code for beginning the search form. This variable is empty when the Story Archive is being exported as HTML.
- searchForm
- The text field where users can enter in keywords for the search. This variable is empty when the Story Archive is being exported as HTML.
- searchButton
- Button with internationalized label for submitting the search form. This variable is empty when the Story Archive is being exported as HTML.
- searchFooter
- HTML code for ending the search form. This variable is empty when the Story Archive is being exported as HTML.
- canPostStories
- A boolean which is true if the user can post stories.
- addStoryUrl
- The URL for the user to add a Story.
- rssUrl
- The URL for the RSS feed for this Story Archive.
- atomUrl
- The URL for the Atom feed for this Story Archive.
- keywordCloud
- The tag cloud for the keywords for stories in this Story Archive.
- storesPerPage
- The number of stories displayed on a page. If the asset is exported as HTML, then the generated page will have 10 standard pages of stories.
- groupToPost
- The GUID of the group allowed to add stories to this Story Archive.
- templateId
- The GUID of the template used to display the Story Archive.
- storyTemplateId
- The GUID of the template used to display the Story assets.
- photoWidth
- The width that all photos uploaded into Stories for this StoryArchive will be resized to.
- editStoryTemplateId
- The GUID of the template used to add or edit Story assets.
- keywordListTemplateId
- The GUID of the template used to render list of assets matching a keyword when this StoryArchive is exported.
- archiveAfter
- Amount of time in seconds. After this time, Stories will be archived.
- richEditorId
- The GUID of the WYSIWIG editor used to edit the content of Story assets.
- approvalWorkflowId
- The GUID of the workflow to be executed on each Story as it gets submitted.
- 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>
- controls
- These are the icons and URLs that allow editing, cutting, copying, deleting and reordering the Asset.
- pagination.firstPage
- A link to the first page in the paginator.
- pagination.firstPageUrl
- The url component of pagination.firstPage broken out.
- pagination.firstPageText
- The text component of pagination.firstPage broken out.
- pagination.isFirstPage
- A boolean indicating whether the current page is the first page.
- pagination.lastPage
- A link to the last page in the paginator.
- pagination.lastPageUrl
- The url component of pagination.lastPage broken out.
- pagination.lastPageText
- The text component of pagination.lastPage broken out.
- pagination.isLastPage
- A boolean indicating whether the current page is the last page.
- pagination.nextPage
- A link to the next page in the paginator relative to the current page.
- pagination.nextPageUrl
- The url component of pagination.nextPage broken out.
- pagination.nextPageText
- The text component of pagination.nextPage broken out.
- pagination.previousPage
- A link to the previous page in the paginator relative to the current page.
- pagination.previousPageUrl
- The url component of pagination.previousPage broken out.
- pagination.previousPageText
- The text component of pagination.previousPage broken out.
- pagination.pageNumber
- The current page number.
- pagination.pageCount
- The total number of pages.
- pagination.pageCount.isMultiple
- A boolean indicating whether there is more than one page.
- pagination.pageList
- A list of links to every page in the paginator.
- pagination.pageLoop
- Same as pagination.pageList except broken into individual elements.
- pagination.url
- The URL of a page in the page loop.
- pagination.text
- The number of a page in the page loop.
- pagination.range
- Displays the range of available pages, in a start - end format.
- pagination.activePage
- A boolean which will be true if the this page in the pageLoop is the currently viewed page.
- pagination.pageList.upTo20
- A list of links to the 20 nearest in the paginator relative to the current page. So if you're on page 60, you'll see links for 50-70.
- pagination.pageLoop.upTo20
- Same as pagination.pageList.upTo20 except broken into individual elements.
- pagination.url
- The URL of a page in the page loop.
- pagination.text
- The number of a page in the page loop.
- pagination.range
- Displays the range of available pages, in a start - end format.
- pagination.activePage
- A boolean which will be true if the this page in the pageLoop is the currently viewed page.
- pagination.pageList.upTo10
- A list of links to the 10 nearest in the paginator relative to the current page. So if you're on page 20, you'll see links for 15-25.
- pagination.pageLoop.upTo10
- Same as pagination.pageList.upTo10 except broken into individual elements.
- pagination.url
- The URL of a page in the page loop.
- pagination.text
- The number of a page in the page loop.
- pagination.range
- Displays the range of available pages, in a start - end format.
- pagination.activePage
- A boolean which will be true if the this page in the pageLoop is the currently viewed page.
Admin Console