Where to edit the searchsettings?

Author Message

Ola Muldal

Wednesday 01 March 2006 5:39:40 am

I have tried to change the search.tpl according to documentation to give me results only from i.e. Articles and Forum.

However, the code in search.tpl seems to not be used at all. I know its the right template, cause ive changed other stuff in the file (changed design), and it shows up at the site. However, modifying search doesnt do anything. Infact, i deleted the whole fetch function just to test if anything happend, but no, search is still working at the site... -_-

So where do i exactly find where to control searchresults? I dont want stuff returned from "Media Library" and other weird sections of the site thats just 100% irrelevant.

I use version 3.6.2 btw.

Kristof Coomans

Wednesday 01 March 2006 6:16:00 am

See http://ez.no/doc/ez_publish/technical_manual/3_6/reference/configuration_files/site_ini/searchsettings

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Ola Muldal

Wednesday 01 March 2006 6:33:00 am

SearchViewHandling=default|template

Bingo, thanks a bunch

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 01:15:52
Script start
Timing: Jan 19 2025 01:15:52
Module start 'layout'
Timing: Jan 19 2025 01:15:52
Module start 'content'
Timing: Jan 19 2025 01:15:53
Module end 'content'
Timing: Jan 19 2025 01:15:53
Script end

Main resources:

Total runtime0.6404 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.0059 589.1563152.6250
Module start 'layout' 0.00590.0032 741.781339.4453
Module start 'content' 0.00900.6298 781.2266528.7656
Module end 'content' 0.63880.0016 1,309.99228.3125
Script end 0.6404  1,318.3047 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.5387160.0002
Check MTime0.00130.2057160.0001
Mysql Total
Database connection0.00110.178610.0011
Mysqli_queries0.597893.3404570.0105
Looping result0.00050.0734550.0000
Template Total0.608094.920.3040
Template load0.00200.305120.0010
Template processing0.606094.633120.3030
Template load and register function0.00010.021210.0001
states
state_id_array0.00120.183510.0012
state_identifier_array0.00080.132420.0004
Override
Cache load0.00150.2396130.0001
Sytem overhead
Fetch class attribute can translate value0.00070.110920.0004
Fetch class attribute name0.00080.117740.0002
XML
Image XML parsing0.00050.080420.0003
class_abstraction
Instantiating content class attribute0.00000.001140.0000
General
dbfile0.00070.1109160.0000
String conversion0.00000.001240.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/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/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: 9
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs