passing advanced search variables to the search template

Author Message

zaxofeel .v

Thursday 05 May 2005 5:06:10 am

hi there
i've a small problem with the advanced search template:

i've modified the form action in advanced search template to send the results to the search template like this:

the original code:

<form action={"/content/advancedsearch/"|ezurl} method="get">

the new code:

<form action={"/content/search/"|ezurl} method="get">

so the results are viewed in the search page.
the problem is the advanced search contains many fields that are not in the search page, so the search page can see only the full text search field. other fields has no effect in the search page.

i need the search page to recognize all the variables sent to it from the advanced search page.

I hope I cleared the problem enough.
thanks in advance.

Ɓukasz Serwatka

Thursday 05 May 2005 11:42:49 pm

Hi,

Here you find good examples:
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

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 07:22:15
Script start
Timing: Jan 19 2025 07:22:15
Module start 'layout'
Timing: Jan 19 2025 07:22:15
Module start 'content'
Timing: Jan 19 2025 07:22:16
Module end 'content'
Timing: Jan 19 2025 07:22:16
Script end

Main resources:

Total runtime1.3074 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0051 589.4063152.6563
Module start 'layout' 0.00510.0032 742.062539.4922
Module start 'content' 0.00831.2974 781.5547535.4531
Module end 'content' 1.30570.0017 1,317.00788.1094
Script end 1.3074  1,325.1172 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00370.2855160.0002
Check MTime0.00180.1353160.0001
Mysql Total
Database connection0.00070.053110.0007
Mysqli_queries1.254295.9347540.0232
Looping result0.00060.0428520.0000
Template Total1.272097.320.6360
Template load0.00220.165620.0011
Template processing1.269897.124320.6349
Template load and register function0.00020.014610.0002
states
state_id_array0.00110.085110.0011
state_identifier_array0.00110.086920.0006
Override
Cache load0.00170.1329210.0001
Sytem overhead
Fetch class attribute can translate value0.00080.060920.0004
Fetch class attribute name0.00150.112240.0004
XML
Image XML parsing0.00410.311020.0020
class_abstraction
Instantiating content class attribute0.00000.000740.0000
General
dbfile0.00390.2979240.0002
String conversion0.00000.000540.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
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 15
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs