how to handle these action?

Author Message

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.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 31 2025 03:44:43
Script start
Timing: Jan 31 2025 03:44:43
Module start 'layout'
Timing: Jan 31 2025 03:44:43
Module start 'content'
Timing: Jan 31 2025 03:44:43
Module end 'content'
Timing: Jan 31 2025 03:44:43
Script end

Main resources:

Total runtime0.0244 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0058 588.1250151.2109
Module start 'layout' 0.00580.0035 739.3359220.6875
Module start 'content' 0.00940.0135 960.0234997.5547
Module end 'content' 0.02280.0015 1,957.578129.9922
Script end 0.0244  1,987.5703 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002711.2252140.0002
Check MTime0.00124.8606140.0001
Mysql Total
Database connection0.00083.315710.0008
Mysqli_queries0.002711.258530.0009
Looping result0.00000.053710.0000
Template Total0.00114.410.0011
Template load0.00093.520910.0009
Template processing0.00020.860910.0002
Override
Cache load0.00062.446910.0006
General
dbfile0.00031.130680.0000
String conversion0.00000.027440.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs