[SOLVED] "Managing sections" re-assignment of objects

Author Message

Bernd Winkelmann

Friday 16 November 2007 2:12:50 pm

Hi folks

i need help

v3.10.0

i created a section and have assigned some content objects to this section - now i want to undo this but it isn't possible to delete a section while assignments are existing (that's logical).

So I'm looking in admin interface for a way to re-assign the related objects - but it seems that such a procedure is not provided.

can somebody give me some hints, witch way i can re-assign the related to a section objects.

in documentation i doesn't found any hints only this:

<i>
The "Remove selected" button allows you to remove the sections that are selected using the checkboxes. You should be very careful with this because removing a section might corrupt the system. Make sure that the section you're about to remove is not in use.
</i>

but how to make it, that "the section you're about to remove is not in use." is not described.

if i must detect the database entries and study the crating process of this relation to find out how to re-assign this relations manually from the database?

Tony Wood

Friday 16 November 2007 2:44:48 pm

Hi Bernd,

Could you just assign them back to "standard" section using the admin interface. You would them be able to remove the other section.

Sections are here /section/list

I am guessing it is not that simple...

Let me know

Tony

Tony Wood : twitter.com/tonywood
Vision with Technology
Experts in eZ Publish consulting & development

Power to the Editor!

Free eZ Training : http://www.VisionWT.com/training
eZ Future Podcast : http://www.VisionWT.com/eZ-Future

Bernd Winkelmann

Friday 16 November 2007 3:15:00 pm

hi
thanx so much - seems it was to simple :-) - i thought that one object can be assigned to some sections - and so my sleepily mind doesn't provide me to this simple logical idea.

thanx will sleep reassured now.

bernd

Xavier Dutoit

Saturday 17 November 2007 1:01:09 am

Alternatively, you have an extension that allows you to set the section of each object:

http://projects.ez.no/easyadmin

http://www.sydesy.com

Yannick Komotir

Tuesday 17 June 2008 10:21:43 am

hi, Thank's for your solution

Yannick

<|- Software Engineer @ eZ Publish developpers -|>
@ http://twitter.com/yannixk

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 11:42:05
Script start
Timing: Jan 18 2025 11:42:05
Module start 'layout'
Timing: Jan 18 2025 11:42:05
Module start 'content'
Timing: Jan 18 2025 11:42:06
Module end 'content'
Timing: Jan 18 2025 11:42:06
Script end

Main resources:

Total runtime0.7551 sec
Peak memory usage4,096.0000 KB
Database Queries67

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0081 589.2969152.6563
Module start 'layout' 0.00810.0023 741.953139.5078
Module start 'content' 0.01050.7431 781.4609640.5859
Module end 'content' 0.75350.0015 1,422.046912.1094
Script end 0.7551  1,434.1563 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00470.6265160.0003
Check MTime0.00200.2620160.0001
Mysql Total
Database connection0.00110.139710.0011
Mysqli_queries0.681890.2966670.0102
Looping result0.00070.0916650.0000
Template Total0.715694.820.3578
Template load0.00290.389320.0015
Template processing0.712794.385020.3563
Template load and register function0.00020.021410.0002
states
state_id_array0.00100.133810.0010
state_identifier_array0.00110.150720.0006
Override
Cache load0.00260.3415360.0001
Sytem overhead
Fetch class attribute can translate value0.00120.155140.0003
Fetch class attribute name0.00120.153280.0001
XML
Image XML parsing0.00190.252040.0005
class_abstraction
Instantiating content class attribute0.00000.002280.0000
General
dbfile0.00160.2123280.0001
String conversion0.00000.001140.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
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 18
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs