Help: Edit Story Template.
For more help, visit the WebGUI Community Wiki.
- formHeader
- HTML code to begin the form for adding or editing a Story.
- formTitle
- Internationalized title for this form.
- formFooter
- HTML code to end the form for adding or editing a Story.
- titleForm
- Form for the user to enter a title for this story.
- headlineForm
- Form for the user to enter a headline for this story.
- subtitleForm
- Form for the user to enter a subtitle for this story.
- bylineForm
- Form for the user to enter a byline for this story.
- locationForm
- Form for the user to enter a location for this story.
- keywordsForm
- Form for the user to enter keywords for this story.
- summaryForm
- Form for the user to enter a summary of this story.
- highlightsForm
- Form for the user to enter highlights for this story.
- storyForm
- Form for the user to enter the actual story.
- saveButton
- Button for the user to save the form.
- saveAndAddButton
- Button for the user to save the form, and then reopen the edit form to add another photo.
- cancelButton
- Button for the user to cancel this form without saving anything.
- photo_form_loop
- A loop containing subforms for all photos that have been loaded, and a blank form for uploading new photos.
- hasPhoto
- This template variable will be true if the a photo in the photo_loop has an image in it.
- imgThumb
- The URL to the thumbnail of the image, if this photo has an image.
- imgUrl
- The URL to the image, if this photo has an image.
- imgFilename
- The URL to the image, if this photo has an image.
- newUploadForm
- A form field to upload an image.
- imgRemoteUrlForm
- A form field to specify a remote url for a photo.
- imgCaptionForm
- A form field for the caption for this image.
- imgBylineForm
- A form field for a by-line for this image.
- imgAltForm
- A form field for alternate text for the image, for the IMG tag ALT field.
- imgTitleForm
- A form field for the title for the image, for the IMG tag TITLE field.
- imgUrlForm
- A field for the URL for this image. If present, then the image will be rendered as a link to this URL.
- imgDeleteForm
- A field to delete the image, along with all data attached to it. This form will not be present in the set of variables in the loop for adding a new image.
- 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