Publish to multiple nodes in one step

Author Message

Marko Žmak

Friday 04 December 2009 1:32:04 am

I wonder if it's possible to publish an object to multiple nodes all in one step. What I need is this...

In my public siteaccess I would like to create an edit form for objects, which has checkboxes for putting this object in several categories (this categories are actually a predefined set of nodes). So when the user publishes an object I would like that the object is automatically published to all the nodes that are represented by the checkboxes that are checked.

Is this possible in eZP? (4 and higher)

P.S. I know about the existing location management system in editing mode, but I want to do it all in one step, exactly as I described.

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

Gaetano Giunta

Friday 04 December 2009 3:12:06 am

Via a workflow event? Might even already exist as public extension...

Principal Consultant International Business
Member of the Community Project Board

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 18 2025 00:51:50
Script start
Timing: Jan 18 2025 00:51:50
Module start 'layout'
Timing: Jan 18 2025 00:51:50
Module start 'content'
Timing: Jan 18 2025 00:51:51
Module end 'content'
Timing: Jan 18 2025 00:51:51
Script end

Main resources:

Total runtime0.9731 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0054 595.8672152.6406
Module start 'layout' 0.00540.0033 748.507839.4766
Module start 'content' 0.00870.9630 787.9844533.9141
Module end 'content' 0.97170.0014 1,321.89848.1406
Script end 0.9731  1,330.0391 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00300.3054160.0002
Check MTime0.00130.1303160.0001
Mysql Total
Database connection0.00080.081610.0008
Mysqli_queries0.923394.8798540.0171
Looping result0.00060.0570520.0000
Template Total0.942196.820.4710
Template load0.00230.236420.0012
Template processing0.939896.573920.4699
Template load and register function0.00010.015210.0001
states
state_id_array0.00150.153010.0015
state_identifier_array0.00140.146520.0007
Override
Cache load0.00190.1946110.0002
Sytem overhead
Fetch class attribute can translate value0.00060.065020.0003
Fetch class attribute name0.00140.142240.0003
XML
Image XML parsing0.00110.117820.0006
class_abstraction
Instantiating content class attribute0.00000.000840.0000
General
dbfile0.00090.0916240.0000
String conversion0.00000.000640.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 8
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs