
|
If you were logged in you would be able to see more operations.
|
|
|
In trying to create a plugin that is triggered on all events with respect to saving, editing, moving, publishing, and deleting documents, I've found that it would be very beneficial to be able to retrieve all documents, irrespective of their publication or deletion status, without having to duplicate queries. To do this, I modified the following functions slightly:
- getTemplateVars
- getTemplateVarOutput
- getDocuments
No radical change, but now you can use one query in instances where multiple queries would otherwise be required.
|
|
Description
|
In trying to create a plugin that is triggered on all events with respect to saving, editing, moving, publishing, and deleting documents, I've found that it would be very beneficial to be able to retrieve all documents, irrespective of their publication or deletion status, without having to duplicate queries. To do this, I modified the following functions slightly:
- getTemplateVars
- getTemplateVarOutput
- getDocuments
No radical change, but now you can use one query in instances where multiple queries would otherwise be required. |
Show » |
|