A customer is using the "remove at" feature alot, but I need to hook into this event since it shouldnt be unpublished, but just moved to a special parent node instead.
But I can't figure out if there even is an event that I can hook into, being fired when the "remove at" is executed.
I haven't tested this at all, but what if you hook up into the Unpublished event, then check if the RemoveDate is set on the document that is being unpublished. If it is set, move the document to be a child of the given parent folder and then cancel the event so it won't be unpublished?
Event for "remove at" on a node
Hey there :)
A customer is using the "remove at" feature alot, but I need to hook into this event since it shouldnt be unpublished, but just moved to a special parent node instead.
But I can't figure out if there even is an event that I can hook into, being fired when the "remove at" is executed.
Any takers ?
Hiya Rasmus,
I haven't tested this at all, but what if you hook up into the
Unpublished
event, then check if the RemoveDate is set on the document that is being unpublished. If it is set, move the document to be a child of the given parent folder and then cancel the event so it won't be unpublished?Just a throught ;-) let me know if it's nonsense!
Hey Bo
That sounds like a plan, im going to give it a shot :)
Great! :-) Let me know if there's any hiccups
is working on a reply...