Change section on related object??

Author Message

Nicklas Lundgren

Wednesday 22 October 2003 2:28:07 am

Hi folks,

Struggling with a problem and cant find my way out.

When I relate an object to an article, the object is placed in section 0, even though the article itself resides in section 4.

Why does all related objects fall in to section 0? Is it possible to change? I am creating a multi-site solution using a single db. So i would really want to put the related objects in the same section as the article itself.

Also, I want to put the related object under the node of the article. Any ideas on that?

All suggestions greatly appreciated!

Kind regards,
Nicklas Lundgren

Gunnstein Lye

Thursday 23 October 2003 9:03:44 am

See RelationAssignmentSettings in content.ini. I don't think this can help you put new related objects under the node you are editing, though.

Nicklas Lundgren

Wednesday 29 October 2003 1:37:41 am

Thanks for the reply, Gunnstein!

However, it doesn´t resolve my main problem:
Why does all related objects automatically fall into section 0??

For example, when I create a new article and relate an image to the article, the image gets assigned section 0. Even though the article itself is in section 4.

This leads to severe problems concerning access policys, since I work with multiple sites in one installation. I cant have all related objects in the same section.

Please help!

Regards,
Nicklas Lundgren, Sweden

Lazaro Ferreira

Tuesday 28 December 2004 2:23:28 am

Hi Nicklas,

I think, I had this problem you may read bug report here

http://ez.no/community/bugs/access_permission_problem_at_kernel_content_download_php

After some research, I knew that it is possible to solve it, using the setting mentioned above , so if you confirm that it doesn't solve the main problem, it seems like this is a matter to work on

Would be interesting to hear others about it

Lazaro
http://www.mzbusiness.com

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 19:10:22
Script start
Timing: Jan 18 2025 19:10:22
Module start 'layout'
Timing: Jan 18 2025 19:10:22
Module start 'content'
Timing: Jan 18 2025 19:10:23
Module end 'content'
Timing: Jan 18 2025 19:10:23
Script end

Main resources:

Total runtime0.9686 sec
Peak memory usage4,096.0000 KB
Database Queries62

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0052 587.9219152.6250
Module start 'layout' 0.00520.0035 740.546939.4453
Module start 'content' 0.00870.9584 779.9922575.4766
Module end 'content' 0.96710.0015 1,355.468812.4688
Script end 0.9685  1,367.9375 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.3367160.0002
Check MTime0.00140.1472160.0001
Mysql Total
Database connection0.00070.073810.0007
Mysqli_queries0.910493.9970620.0147
Looping result0.00060.0656600.0000
Template Total0.936096.620.4680
Template load0.00220.223420.0011
Template processing0.933896.412920.4669
Template load and register function0.00020.018710.0002
states
state_id_array0.00090.093010.0009
state_identifier_array0.00130.133920.0006
Override
Cache load0.00180.1882290.0001
Sytem overhead
Fetch class attribute can translate value0.00060.057130.0002
Fetch class attribute name0.00150.152250.0003
XML
Image XML parsing0.00080.080830.0003
class_abstraction
Instantiating content class attribute0.00000.000950.0000
General
dbfile0.00070.0761160.0000
String conversion0.00000.000840.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
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/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: 17
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs