Relation objects feeds from hidden nodes.

Author Message

Jorge estévez

Wednesday 30 July 2008 4:42:43 am

Hi!

I have this relation object attribute in a class that get's it's values from a bunch of nodes, works just fine.

The bunch of nodes should not be public as they only serve as data from wich the related object must feed itself...

If I hide the "parent" of the bunch of nodes the related object attribute "goes" empty...

I would like to have the <b>parent</b> node hidden but feeding my related object attribute... I was wondering if some kind of solution could be implemented.

thanks

Diseño Web Cuba
Web Design Cuba
www.elfosdesign.com

Łukasz Serwatka

Tuesday 05 August 2008 12:51:24 am

You can create new section, assign it to that parent and give read access only to class which should be populated in the relation list but not to parent. As fare as I remember that can work. Haven't tested thought.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

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:12:43
Script start
Timing: Jan 18 2025 19:12:43
Module start 'layout'
Timing: Jan 18 2025 19:12:43
Module start 'content'
Timing: Jan 18 2025 19:12:44
Module end 'content'
Timing: Jan 18 2025 19:12:44
Script end

Main resources:

Total runtime0.8189 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0076 588.0391152.6406
Module start 'layout' 0.00760.0036 740.679739.4609
Module start 'content' 0.01120.8062 780.1406524.3594
Module end 'content' 0.81740.0015 1,304.50008.1406
Script end 0.8189  1,312.6406 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00380.4621160.0002
Check MTime0.00170.2060160.0001
Mysql Total
Database connection0.00090.112510.0009
Mysqli_queries0.773694.4639540.0143
Looping result0.00050.0561520.0000
Template Total0.779495.220.3897
Template load0.00180.224420.0009
Template processing0.777694.946920.3888
Template load and register function0.00010.017010.0001
states
state_id_array0.00120.149210.0012
state_identifier_array0.00080.100620.0004
Override
Cache load0.00150.1803120.0001
Sytem overhead
Fetch class attribute can translate value0.00050.059120.0002
Fetch class attribute name0.00080.100330.0003
XML
Image XML parsing0.00070.088320.0004
class_abstraction
Instantiating content class attribute0.00000.001030.0000
General
dbfile0.00080.0933180.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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.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: 7
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs