attribute_filter on Enhanced Object relation and multiselect

Author Message

Andreas Adelsberger

Tuesday 05 December 2006 3:00:46 am

hi there!

is there a way to do a combined search on
2 mulitselect attributes and
1 enhanced object relation attribute?

can I use 'attribute_filter' in

{def $children=fetch( 'content', 'reverse_related_objects',
		                     hash( 'object_id', $node_id,
		                      all_relations, false
		                      ) )}

?
thanx andi

---------------------------------------
Styleflasher New Media OG
Websites. Games/Multimedia.

Xavier Dutoit

Tuesday 05 December 2006 10:29:22 am

http://ez.no/community/contribs/template_plugins/objectrelationfilter

That's going to make it.

http://www.sydesy.com

Andreas Adelsberger

Tuesday 05 December 2006 11:38:56 pm

thanx, I will give it a try although i filtered my results now manually.

---------------------------------------
Styleflasher New Media OG
Websites. Games/Multimedia.

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 19 2025 03:16:06
Script start
Timing: Jan 19 2025 03:16:06
Module start 'layout'
Timing: Jan 19 2025 03:16:06
Module start 'content'
Timing: Jan 19 2025 03:16:07
Module end 'content'
Timing: Jan 19 2025 03:16:07
Script end

Main resources:

Total runtime1.2417 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0086 589.4063152.6563
Module start 'layout' 0.00870.0040 742.062539.5078
Module start 'content' 0.01271.2277 781.5703540.1953
Module end 'content' 1.24040.0013 1,321.765612.0938
Script end 1.2417  1,333.8594 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.2871160.0002
Check MTime0.00140.1159160.0001
Mysql Total
Database connection0.00250.200510.0025
Mysqli_queries1.186295.5296570.0208
Looping result0.00060.0493550.0000
Template Total1.198496.520.5992
Template load0.00220.176120.0011
Template processing1.196296.333220.5981
Template load and register function0.00010.009010.0001
states
state_id_array0.00180.141410.0018
state_identifier_array0.00100.083320.0005
Override
Cache load0.00180.1453190.0001
Sytem overhead
Fetch class attribute can translate value0.00050.041120.0003
Fetch class attribute name0.00110.089750.0002
XML
Image XML parsing0.00080.067220.0004
class_abstraction
Instantiating content class attribute0.00000.000860.0000
General
dbfile0.00170.1400220.0001
String conversion0.00000.001040.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
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/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
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 16
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs