Filter + Object Relation [solved]

Author Message

Mischa Markus

Monday 02 November 2009 5:18:03 am

Heya,

I wanna filter my survey classes with an selectbox.
I create a category class and with this an category tree with some test categorys.
I add the object relation list attribute to my survey class and connect some test surveys to category.
My selectbox print correct category ID http get info.

Problem: I Don't know how to use a filter with my selectbox category ID http get info.
played with objectrelationfilter extension without success..

I want to view all surveys in folder, if I choose a category in selectbox I only want to view all surveys connected to this category AND all childs of this.

plz help

Mischa Markus

Tuesday 03 November 2009 12:17:07 am

solved! I tried it with wrong attribute id all days long.... o.0

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 02:14:29
Script start
Timing: Jan 18 2025 02:14:29
Module start 'layout'
Timing: Jan 18 2025 02:14:29
Module start 'content'
Timing: Jan 18 2025 02:14:31
Module end 'content'
Timing: Jan 18 2025 02:14:31
Script end

Main resources:

Total runtime1.5670 sec
Peak memory usage4,096.0000 KB
Database Queries52

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0051 587.9141152.6250
Module start 'layout' 0.00510.0027 740.539139.4453
Module start 'content' 0.00781.5576 779.9844424.7500
Module end 'content' 1.56540.0016 1,204.73448.1563
Script end 1.5670  1,212.8906 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.1994160.0002
Check MTime0.00130.0818160.0001
Mysql Total
Database connection0.00050.032710.0005
Mysqli_queries1.527697.4829520.0294
Looping result0.00060.0414500.0000
Template Total1.536198.020.7681
Template load0.00210.135520.0011
Template processing1.534097.893620.7670
Template load and register function0.00020.013510.0002
states
state_id_array0.00090.056010.0009
state_identifier_array0.00250.158020.0012
Override
Cache load0.00170.1081140.0001
Sytem overhead
Fetch class attribute can translate value0.00100.061410.0010
Fetch class attribute name0.00160.104820.0008
XML
Image XML parsing0.00010.007110.0001
class_abstraction
Instantiating content class attribute0.00000.000720.0000
General
dbfile0.00070.0455100.0001
String conversion0.00000.000440.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
4content/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: 10
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs