Forums / General / how to handle these action?
kevin wei
Wednesday 04 January 2006 7:59:36 pm
hi,
i have 4 similiar questions:
1. how to submit a post to 2 folders at the same time?
2. how to move a node from one folder to other folder just by clicking a button, i have set the node_id to connect to this button, and i know these 2 folder's id
3. how to change (update) the value just by click a button, i do not need a edit form, like click a button, one node'field value change from 1 to 2
4.how delete a node just by click a buuton
i just want not to be bothered by edit form, i want it handle some specific action in backgroud.
thank u!
William Steenbergh
Thursday 05 January 2006 5:49:29 am
I had a similar problem. I wanted to create an object without the edit field, but with predefined data. I read a forum post here somewhere, that described editing the /kernel/content/action.php, add your own action ( the ones given to the form ) and handle it there...
Look around for more details here, it ought to be somewhere. I think, if you adapt it a little, it would fulfill your needs.