Help: Wiki Page, View Template

For more help, visit the WebGUI Community Wiki.

Variables available for use in the template are listed below:

viewLabel
An internationalized label for viewing the content of a page. Useful for tabbed interfaces to the Wiki Page.
editLabel
An internationalized label for editing the content of a page. Useful for tabbed interfaces to the Wiki Page.
canEdit
A boolean that indicates whether the current user can edit a page, or not.
canAdminister
A boolean that is true if the user is in the group that has administrative privileges to the Wiki holding this page.
isProtected
A boolean that is true if this page currently is set to be protected.
historyLabel
An internationalized label to go with historyUrl.
historyUrl
A URL to take the user to a screen with a history of edits and changes to this page.
wikiHomeLabel
An internationalized label to go with wikiHomeUrl.
wikiHomeUrl
A URL to take the user back to the Wiki front page.
mostPopularUrl
A URL to take the user to the screen where the most popular Wiki pages are listed.
mostPopularLabel variable
An internationalized label to go with mostPopularUrl.
recentChangesUrl
A URL to take the user to the screen where all changes to the the pages in this Wiki are listed.
recentChangesLabel
An internationalized label to go with recentChangesUrl.
searchLabel
An internationalized label to go with searchUrl
editContent
The rendered form for editing the content of this page.
content
The content of this page, with recognized titles and links changed into Wiki links.
keywordsLoop
A loop containing all keywords for this page is tagged with.
keyword
The name of this keyword.
url
The URL to view all pages tagged with this keyword. The URL will have the gateway URL prepended to it.
isSubscribed
This variable is true if the user is subscribed to this wiki page
subscribeUrl
The URL to subscribe to this wiki page
unsubscribeUrl
The URL to unsubscribe from this wiki page
owner
The username of the owner of the page
storageId
The Id of the object used to store attachments for this WikiPage.
content variable
The raw content of the WikiPage, with no titles or links processed. You should never see the contents of this variable as it will be overridden in the template.
views
The number of times this WikiPage has been viewed.
isProtected
A boolean that is true if this page currently is set to be protected.
actionTaken
The action taken to produce the current version of the WikiPage. On a brand new page, this will be "Created". Otherwise it will be "Edited".
actionTakenBy
The ID of the User who edited the page last.
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
Help: Wiki Page, View Template
*
Admin Console