simple search doesn't work

Author Message

gregor de Lijzer

Thursday 07 April 2005 2:27:44 pm

Experimenting with ezPublish i tried the search functionality with a simple example.
just put the search html text in pagelayout.tpl

...
</HEAD>
<BODY>
<form action={"/content/search/"|ezurl} method="get">
<input type="text" size="8" name="SearchText" id="Search" value="" />
<input name="SearchButton" type="submit" value="Search" />
</form>
</BODY>
</HTML>

created an object with a searchable attribute called my site enterd the search string and the result? the same html site as before. no results just the same screen as before the search.
i created the pagelayout file in mysite/design/.
logged in as admin finding objects is successful.

Using ezPublish 3.5.

thanx greg

Ɓukasz Serwatka

Monday 11 April 2005 7:09:03 am

Hi,

You can read document about custom search boxes here
http://ez.no/ez_publish/documentation/customization/components/search/custom_search_box

I hope it will help.

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

Main resources:

Total runtime0.6467 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.0050 587.9063152.6250
Module start 'layout' 0.00500.0038 740.531339.4453
Module start 'content' 0.00880.6363 779.9766535.3750
Module end 'content' 0.64510.0015 1,315.35168.1641
Script end 0.6466  1,323.5156 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00300.4701160.0002
Check MTime0.00130.1994160.0001
Mysql Total
Database connection0.00110.168910.0011
Mysqli_queries0.592691.6392540.0110
Looping result0.00050.0847520.0000
Template Total0.619095.720.3095
Template load0.00220.342620.0011
Template processing0.616895.378120.3084
Template load and register function0.00020.026110.0002
states
state_id_array0.00110.173710.0011
state_identifier_array0.00070.107120.0003
Override
Cache load0.00180.2774180.0001
Sytem overhead
Fetch class attribute can translate value0.00110.164820.0005
Fetch class attribute name0.00200.305440.0005
XML
Image XML parsing0.00340.518420.0017
class_abstraction
Instantiating content class attribute0.00000.001440.0000
General
dbfile0.00370.5796240.0002
String conversion0.00000.001140.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
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 14
 Number of unique templates used: 7

Time used to render debug report: 0.0002 secs