Advanced Search - Is this possible?

Author Message

Tristan Koen

Wednesday 20 August 2003 2:17:13 am

I have a number of classes; articles, whitepapers, presentations, etc.

As part of the navigation on my website, I would like to then have a mini menu that looks as follows:

Show all:
- Articles
- Whitepapers
- Presentations
- etc

I figure the best way to do this would be to use the advanced search, searching on classes.
The problem is that I cannot get the advanced search to work with HTTP GET parameters.

Can anyone her eexplain how to do this, or suggest an alternative way to accomplish the same thing?

Paul Forsyth

Wednesday 20 August 2003 7:53:47 am

Advanced search can do what you want. A good example is to look at the ez site, at:

http://ez.no/content/advancedsearch

Look at the source and it will show you what hidden variables you need to set. Basically you need to tell the advancedsearch how you want to search by means of hidden variables.

Paul

Tristan Koen

Wednesday 20 August 2003 11:57:49 am

Hi Paul

Thanks, but it isn't exactly what I am looking for. The http://ez.no advanced search gets its parameters through an HTTP POST, not a GET.

I don't want to use a form since it is not consistent with the look & feel of my site. I would far prefer to have a set of <a href=...></a> links in a floating <div>.
I posted another message about passing parameters using an HTTP GET, but no response yet. I am going to assume for the moment that it cannot be done :(

Regards,

Tristan

Tristan Koen

Friday 22 August 2003 12:07:21 am

Sorry Paul,

You were right. The form uses a method="get". I didn't bother looking. I just assumed a method="post".

I think that from now on I need to stop jumping to conclusions :(

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

Main resources:

Total runtime0.0166 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.0059 591.6641152.6250
Module start 'layout' 0.00590.0042 744.289139.4453
Module start 'content' 0.01010.0044 783.734489.2266
Module end 'content' 0.01450.0020 872.960934.3047
Script end 0.0165  907.2656 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002615.9483140.0002
Check MTime0.00138.1080140.0001
Mysql Total
Database connection0.00063.816510.0006
Mysqli_queries0.004225.300230.0014
Looping result0.00000.164110.0000
Template Total0.00169.710.0016
Template load0.00084.716210.0008
Template processing0.00084.926410.0008
Override
Cache load0.00053.223310.0005
General
dbfile0.00021.465580.0000
String conversion0.00000.079240.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