Problem with "Object Relation List" default selection browsing

Author Message

Lex 007

Thursday 10 March 2005 2:48:19 am

Hello,

I have created an "Object Relation List" attribute for a custom class, with "Allowed classes" set to "User groups".

When I add a new instance of this custom class, I would like that the default location when browsing for users groups (eg: when I select the elements in my "Object Relation List" attribute) to be "User groups", not "Content". Is that possible ?

I am using eZ Publish 3.5.1

Thx

Alex

Carl Heaton

Thursday 10 March 2005 3:50:04 am

Take a look at [RelationAssignmentSettings] within your content.ini. I *think* you can do it through there.

Cheers.

---
Carl
{'EZP 3.5, Apache 2, FC2, PHP 4.3.4 (cgi), MySQL 4.1.9'}

Lex 007

Thursday 10 March 2005 4:55:23 am

Thanks for the hint !

However, I find the content.ini badly documented for those settings :

[RelationAssignmentSettings] -> applies to newly created objects
[RelationGroupSettings] -> applies to classes
[ObjectRelationDataTypeSettings]-> applies to ... ? This is what should help me, but there is no doc on that.

Ulrich L.

Friday 11 March 2005 2:41:03 pm

I'm interested in this, too. Does anybody have a link, I didn't find something useful via search function, but I remember this was discussed here earlier.

Lex 007

Monday 14 March 2005 8:53:27 am

up

Christiane Kloss

Tuesday 15 March 2005 4:26:34 am

Hi,

have a look at browse.ini.
There is a current forum thread, dealing with it:
Re: Browsing for related objects: How to define default start nodes?

Christiane

Lex 007

Tuesday 15 March 2005 6:12:15 am

Thank you Christiane : that tip worked perfectly.

Lex

PS : thread is http://www.ez.no/community/forum/setup_design/browsing_for_related_objects_how_to_define_default_start_nodes

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 22:32:12
Script start
Timing: Jan 18 2025 22:32:12
Module start 'layout'
Timing: Jan 18 2025 22:32:12
Module start 'content'
Timing: Jan 18 2025 22:32:13
Module end 'content'
Timing: Jan 18 2025 22:32:13
Script end

Main resources:

Total runtime0.7133 sec
Peak memory usage4,096.0000 KB
Database Queries73

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0109 589.3125152.6563
Module start 'layout' 0.01090.0034 741.968839.5078
Module start 'content' 0.01430.6974 781.4766656.2188
Module end 'content' 0.71170.0016 1,437.695316.0938
Script end 0.7132  1,453.7891 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.4513160.0002
Check MTime0.00140.1929160.0001
Mysql Total
Database connection0.00260.361710.0026
Mysqli_queries0.636289.1959730.0087
Looping result0.00070.0958710.0000
Template Total0.671794.220.3359
Template load0.00220.311820.0011
Template processing0.669593.859320.3347
Template load and register function0.00010.016810.0001
states
state_id_array0.00240.330710.0024
state_identifier_array0.00180.253920.0009
Override
Cache load0.00190.2625380.0000
Sytem overhead
Fetch class attribute can translate value0.00080.113440.0002
Fetch class attribute name0.00120.1696100.0001
XML
Image XML parsing0.00170.233140.0004
class_abstraction
Instantiating content class attribute0.00000.0040130.0000
General
dbfile0.00130.1841250.0001
String conversion0.00000.001540.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
6content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
7content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
9content/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
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 26
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs