Hi folks, I've got a particular document type for our guestbook entries. The usercontrol for entry form submits the entries to Akismet for evaluation. In cases of false positives I'd like the functionality to submit it to Akismet. Unfortunately I don't even know where to start! Can someone please tell me how this can be implemented? It'd be great if someone can point me in the right direction.
So your form submits the data to Umbraco and Akismet or just to Akismet? I'm confused.
There are a few ways which you can interact with Documents in the back end:
Hooking into the Event Handlers on the Document class (umbraco.cms.businesslogic.web.Document) and setting events to fire when saving happens, creating happens, etc
Creating a custom data type which you could put a button on for users to click and do stuff with
Each entry is submitted to Akismet and emailed to me. If it passes as ham it's saved as Umbraco document but not published. I manually verify that Akismet got it right then publish/delete it appropriately. What I would like to do is have a couple of buttons in the backend document editing section (is that what's called the Dashboard?) to submit corrections to Akismet. I hope that makes better sense than my initial post.
It depends on how you want to manage the documents and in what volume. If you to be able to approve multiple documents in a single click then I'd go with a dashboard control. Otherwise you could just use the standard Umbraco publish mechanism and event handlers (if you need additional stuff to happen)
Adding back end functionality to a Document Type
Hi folks, I've got a particular document type for our guestbook entries. The usercontrol for entry form submits the entries to Akismet for evaluation. In cases of false positives I'd like the functionality to submit it to Akismet. Unfortunately I don't even know where to start! Can someone please tell me how this can be implemented? It'd be great if someone can point me in the right direction.
Cheers,
Dany.
So your form submits the data to Umbraco and Akismet or just to Akismet? I'm confused.
There are a few ways which you can interact with Documents in the back end:
Sorry, I didn't describe everything fully.
Each entry is submitted to Akismet and emailed to me. If it passes as ham it's saved as Umbraco document but not published. I manually verify that Akismet got it right then publish/delete it appropriately. What I would like to do is have a couple of buttons in the backend document editing section (is that what's called the Dashboard?) to submit corrections to Akismet. I hope that makes better sense than my initial post.
D.
It depends on how you want to manage the documents and in what volume. If you to be able to approve multiple documents in a single click then I'd go with a dashboard control. Otherwise you could just use the standard Umbraco publish mechanism and event handlers (if you need additional stuff to happen)
Thanks for that...I have managed to google some stuff on creating dashboard controls. I think that will be the best way to manage this. Thanks again.
is working on a reply...