The set of content events allows modules to respond to content operations.
Issued before content is saved, the content can be modified in the handler if required.
Parameter | Description |
---|---|
isNew | Flags if new content or an update. |
contentData | The content that's about to be saved. |
customFields | Array of custom fields. |
Issued before after the content has been saved.
Parameter | Description |
---|---|
id | The ID of the content. |
isNew | Flags if new content or an update. |
contentData | The content that's about to be saved. |
customFields | Array of custom fields. |
Issued after a content item has been deleted.
Parameter | Description |
---|---|
id | ID of the document that has been deleted. |
Issued before a content page is rendered in the public interface of the site.
Parameter | Description |
---|---|
templateEngine | An instance of cfTemplateEngine that will be used to render the output. |
Issued before a content page is rendered in the manager interface of the site.
Parameter | Description |
---|---|
templateEngine | An instance of cfTemplateEngine that will be used to render the output. |