Wednesday 28 February 2007 12:03:19 am
Hi, is this possible? I want my Admins and Editors to be able to edit certain attributes of an object directly from the view module... To explain: I have a news article and the editor decides that this article has graced the main news page for long enough, so he decides the article should be archived, if he edits the article he can check the (custom) [archive_article] checkbox in the Admin interface. This works as expected but it took 4 steps to achieve, one to login to Admin, two to find and select the article from the content tree, three to edit the article and select the archive option and four to re publish the article, all of which can be done from the front end but it still requires more steps than it should (2). It seems this can be done in on step if it's possible to edit an attribute from the view module (check the box, click save, done). What I want to be able to do is simple in theory but I'm not sure if it's doable? I want the archive checkbox to be present on the node view with a save button right next to it:
[x] Archive [Save]
This way an editor can simply check the box and hit save and the article is now archived, no extra steps needed and he just saved 2 minutes of valuable time, additionally I'd like to extend this functionality to other objects and attributes where needed (blog comment removal etc...). Is there any way to do this? I have tried a few things, like I can get the {attribute_edit_gui} to show the attribute but the form action is obviously the key to making this work, and I'm not sure what form action to use or if the edit action will even work from the view module? Can anyone give me an idea of how I might accomplish this? Cheers!
Pardon me while I burst into flames...
|