mod
(News) - A reference to the News module object.actionid
(string) - The action identifier string.message
(string) - After submission, this variable will contain a message to display to the user.error
(string) - After submission, this variable will contain any error message regarding the form submission.category_id
(int) - The category id of the selected category (if any).title
(string) - The user entered article title. This will be empty until after form submission.categorylist
(array) - An array of category id's and names. Suitable for use in a select list.extra
(string) - The user entered extra string. This will be empty until after form submission.content
(string) - The user entered HTML content. This will be empty until after form submission.summary
(string) - The user entered article summary. This will be empty until after form submission.hide_summary
(bool) - Whether or not the summary field should be hidden.allow_summary_wysiwyg (bool) - Whether or not to allow the summary field to be a WYSIWYG.
startdate
(int) - The unix timestamp of the user entered start time, if any.enddate
(int) - The unix timestamp of the user entered end time, if any.status
(string - The status of the entered article.customfields
(array of objects) - An array of simple objects that describe the custom fields that are eligible to be edited.In CMSMS, all forms must contain a few hidden inputs to aide in the handling process. For that reason, all cmsms forms must start with the {form_start} tag, or it's equivalent created within PHP, and end with the {form_end} tag. The {form_start} tag can take many parameters.
The name of all form input/select/textarea elements must be prefixed with the {$actionid} variable, and the name of the fields are important for the processing of the submitted information, so cannot be changed.
The factory default template distributed with the News module does not place any special requirements on the classes, or ids used within this template.