Local Searches

Author Message

RB RB

Monday 01 December 2003 2:22:21 am

I am trying to develop local searches for a particular section. The section, called publications, has 4 sub-folders (categories). I know it is possible to do searches on a specific section and class, but I would like to know if it is possible to search each sub-folder (category) within the above section, so that I can only search objects within a particular sub-folder?

Thanks

RB

Tore Skobba

Tuesday 02 December 2003 1:37:08 am

Searchin only subfolders is done with this variable posted to the search.

&#8220;<input type="hidden" name="SubTreeArray[]" value="2" />&#8221;

This one makes the search only work on sub folders of folder 2 (often the root folder of the site).

See more here: http://www.ez.no/developer/ez_publish_3/documentation/customization/components/search/custom_search_box

RB RB

Tuesday 02 December 2003 7:20:15 am

Thanks for pointing me in the right direction Tore. Much appreciated. Thanks

RB

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 07:37:43
Script start
Timing: Jan 31 2025 07:37:43
Module start 'layout'
Timing: Jan 31 2025 07:37:43
Module start 'content'
Timing: Jan 31 2025 07:37:43
Module end 'content'
Timing: Jan 31 2025 07:37:43
Script end

Main resources:

Total runtime0.0149 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.0051 588.0078151.1953
Module start 'layout' 0.00510.0026 739.203136.6328
Module start 'content' 0.00770.0058 775.835989.9063
Module end 'content' 0.01350.0014 865.742229.9922
Script end 0.0149  895.7344 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002416.1055140.0002
Check MTime0.00117.1651140.0001
Mysql Total
Database connection0.00074.666610.0007
Mysqli_queries0.002315.174730.0008
Looping result0.00000.079810.0000
Template Total0.00106.810.0010
Template load0.00074.989110.0007
Template processing0.00031.786510.0003
Override
Cache load0.00053.293610.0005
General
dbfile0.001811.823780.0002
String conversion0.00000.047940.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