How to set different section when adding object location

Author Message

Roberto Frascarelli

Wednesday 23 February 2005 10:00:36 am

I don't know if is it possible...I hope.
I explain my problem:
I used the mechanism of location assignment, by allowing
the creation of a "duplicate" of one object in a specified node (folder), by clicking a checkbox (adapting the "Example code of how to do limitation placement" in edit_placement.tpl).
My problem is that this placement is in a different section than Standard.
The operation result is an object with Standard section within a Folder
assigned to another section. This is a problem for me, because I need that every object
in that folder belongs to the same section.
This also could be a role policy violation if one wants to restrict object creation in a specific section.
Exsists a way to automatically assign the section in placement assignment ?

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

Main resources:

Total runtime0.0194 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0068 588.1719152.6563
Module start 'layout' 0.00680.0038 740.828139.5078
Module start 'content' 0.01060.0065 780.335985.3984
Module end 'content' 0.01700.0023 865.734430.3047
Script end 0.0194  896.0391 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002613.5997140.0002
Check MTime0.00147.1493140.0001
Mysql Total
Database connection0.00115.889910.0011
Mysqli_queries0.003718.937830.0012
Looping result0.00000.098110.0000
Template Total0.00199.610.0019
Template load0.00115.858010.0011
Template processing0.00073.719410.0007
Override
Cache load0.00084.336210.0008
General
dbfile0.00021.142980.0000
String conversion0.00000.040540.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