Forums / Setup & design / Problem with "Object Relation List" default selection browsing

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

eZ debug

Timing: Jan 18 2025 19:36:50
Script start
Timing: Jan 18 2025 19:36:50
Module start 'content'
Timing: Jan 18 2025 19:36:50
Module end 'content'
Timing: Jan 18 2025 19:36:51
Script end

Main resources:

Total runtime0.8406 sec
Peak memory usage4,096.0000 KB
Database Queries210

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0082 589.0859180.7969
Module start 'content' 0.00820.7044 769.8828657.3281
Module end 'content' 0.71250.1280 1,427.2109341.0547
Script end 0.8406  1,768.2656 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00380.4513210.0002
Check MTime0.00150.1726210.0001
Mysql Total
Database connection0.00170.206010.0017
Mysqli_queries0.759090.28762100.0036
Looping result0.00210.25322080.0000
Template Total0.812096.620.4060
Template load0.00230.276620.0012
Template processing0.809696.311820.4048
Template load and register function0.00010.015710.0001
states
state_id_array0.00090.109410.0009
state_identifier_array0.00110.126220.0005
Override
Cache load0.00200.2365380.0001
Sytem overhead
Fetch class attribute can translate value0.00170.197350.0003
Fetch class attribute name0.00120.1395100.0001
XML
Image XML parsing0.00410.492850.0008
class_abstraction
Instantiating content class attribute0.00000.0025130.0000
General
dbfile0.00490.5797360.0001
String conversion0.00000.001230.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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