There are any custom properties in the newsOverview document type. The eventhandler read this properties everytime, if a content node of news document type is saved. Depending on the values of the custom properties, then the corresponding algorithm is called.
Auto unpublish: If you have not set an expire date in news node and save this, the expire date is set automatically. You can activate this in newsOverview node and can edit the days, which are added to the current date for expire date.
Auto archive: You can choose your parent newsArchive node in newsOverview node. Whenever a news node is unpublished, the node is moved to the newsArchive node and is published again.
Auto sort: Whenever a news node is saved, all news under newsOverview node are sorted.
nice one
Can u elaborate on how the archive system works and the unpublish. when does it acccure ?
There are any custom properties in the newsOverview document type. The eventhandler read this properties everytime, if a content node of news document type is saved. Depending on the values of the custom properties, then the corresponding algorithm is called.
Auto unpublish:
If you have not set an expire date in news node and save this, the expire date is set automatically. You can activate this in newsOverview node and can edit the days, which are added to the current date for expire date.
Auto archive:
You can choose your parent newsArchive node in newsOverview node. Whenever a news node is unpublished, the node is moved to the newsArchive node and is published again.
Auto sort:
Whenever a news node is saved, all news under newsOverview node are sorted.
I hope this helps.
Sören
is working on a reply...