Self-design search function

Author Message

Bill Smith

Monday 21 August 2006 6:14:08 pm

I am a newer using eZpublish to design system. Now, I encounter a problem. For the search function, when I perform a search, the result should be displayed on the next page, and there also should be some buttons on the result displaying page to sort the result in different ways.

Now, for this problem, I don't know how to separate the result to another page, the main problem is that I don't know how to pass the search result or any other value to the result displaying page. Seems it's quite easy function in php, but I don't know how to do it using eZpublish.

Who can tell how can pass value between different pages? Or anyone has better solution for my problem? could u share with me, I am very appreciate about it, thank you.

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

Main resources:

Total runtime0.0201 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.0066 587.9141152.6250
Module start 'layout' 0.00660.0038 740.539139.4453
Module start 'content' 0.01040.0074 779.984485.1172
Module end 'content' 0.01790.0022 865.101630.3047
Script end 0.0200  895.4063 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002813.7067140.0002
Check MTime0.00125.7436140.0001
Mysql Total
Database connection0.00094.569710.0009
Mysqli_queries0.003517.358830.0012
Looping result0.00000.084310.0000
Template Total0.00178.710.0017
Template load0.00094.664610.0009
Template processing0.00083.947710.0008
Override
Cache load0.00063.016010.0006
General
dbfile0.002612.890180.0003
String conversion0.00000.034440.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