Customizing Adv. Search

Author Message

Masamune

Wednesday 15 June 2005 1:26:38 am

Hi everyone

I want to customize my adv. Search Form in such way that in the Class'drop down list I want to limit the number of selections.
This is simple to achieve, but I want to assign to one selection more than one value, that is, when the user selects Article the system will search over Article, Folder, Page Article, Bookmark and Book Classes.

It's not nice to tell the user to search over Folder types, where in my case folders should be transparent showing the first contained item once accessed.

Cheers

Ɓukasz Serwatka

Wednesday 15 June 2005 11:51:44 pm

Hi,

This document describe how to make custom search box
http://ez.no/ez_publish/documentation/customization/components/search/custom_search_box

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Masamune

Sunday 19 June 2005 5:25:32 am

Hi, thank u for the reply

I read this article, it doesn't match with any of my needs.

I wonder if we can really give more than one value to one specific selection in the Class drop down list.

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

Main resources:

Total runtime0.0190 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.0048 588.1250151.2109
Module start 'layout' 0.00480.0025 739.335936.6484
Module start 'content' 0.00740.0099 775.984490.1250
Module end 'content' 0.01730.0017 866.109433.9922
Script end 0.0190  900.1016 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002513.1260140.0002
Check MTime0.00126.3743140.0001
Mysql Total
Database connection0.00063.317510.0006
Mysqli_queries0.002312.227030.0008
Looping result0.00000.057710.0000
Template Total0.00126.110.0012
Template load0.00094.711810.0009
Template processing0.00031.330310.0003
Override
Cache load0.00063.396510.0006
General
dbfile0.00021.273980.0000
String conversion0.00000.052740.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