Object relations Attribute question!!!

Author Message

Daniele Nocentini

Thursday 03 November 2005 2:35:08 am

HI ALL,

I've a custom products class that contain an attribute called "type activity", this attribute is an object relations attribute.

Now I can search and fetch by keyword, all products that contain a specific object in the "type activity" attribute.

Ho can I do this?!

Antica Bottega Digitale srl
http://www.abd.it

Christian Lundvang

Tuesday 08 November 2005 1:12:07 pm

Hi

You can use the advanced search or you can make your own search.

You have to spesify something like:

SearchContentClassID=18
SearchContentClassAttributeID=251

SearchContentClassAttributeID has to be the ID of your "type activity"

--
Best Regards
Christian Lundvang
http://www.nxc.no

Daniele Nocentini

Wednesday 09 November 2005 12:15:41 am

How can I create a custom search?
I search in the forum and documentation but I don't find nothing.

Antica Bottega Digitale srl
http://www.abd.it

Ɓukasz Serwatka

Wednesday 09 November 2005 12:17:48 am

Look here
http://ez.no/products/ez_publish_cms/documentation/customization/components/search/custom_search_box

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 31 2025 06:21:26
Script start
Timing: Jan 31 2025 06:21:26
Module start 'layout'
Timing: Jan 31 2025 06:21:26
Module start 'content'
Timing: Jan 31 2025 06:21:26
Module end 'content'
Timing: Jan 31 2025 06:21:26
Script end

Main resources:

Total runtime0.0134 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0047 588.2500151.2266
Module start 'layout' 0.00470.0021 739.476636.6641
Module start 'content' 0.00680.0051 776.140694.2656
Module end 'content' 0.01190.0014 870.406333.9922
Script end 0.0134  904.3984 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002317.3961140.0002
Check MTime0.00107.6574140.0001
Mysql Total
Database connection0.00075.365710.0007
Mysqli_queries0.001914.035230.0006
Looping result0.00000.067710.0000
Template Total0.00118.010.0011
Template load0.00096.361810.0009
Template processing0.00021.607410.0002
Override
Cache load0.00064.574510.0006
General
dbfile0.00075.003980.0001
String conversion0.00000.058840.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs