Search Operator

Author Message

M M

Thursday 06 January 2005 4:09:21 am

Hi All

I'm using serach operator in my website , concerning the searchbox it's ok
But i'm facing a problem with the advanced search as it breaks my design

As whenever i add this anchor <A> tag the design shifts downwards

<a href={concat('/content/advancedsearch/',$search_text|gt(0)|choose('',concat('?SearchText=',$search_text|urlencode)))|ezurl} class="pass">

Advanced

</a>

Also if i changed the word advanced with an image

<img src={'AdvancedSearch.gif'|ezimage} width="60" height="18" border="0">

..
So i need a solution to this problem
Also i need to know if i can change this value in the attribute href=" "

Thanks in advance

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

Main resources:

Total runtime0.0150 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.0045 588.0078151.1953
Module start 'layout' 0.00450.0027 739.203136.6328
Module start 'content' 0.00720.0061 775.835986.0000
Module end 'content' 0.01330.0017 861.835929.9922
Script end 0.0150  891.8281 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002415.7282140.0002
Check MTime0.00117.2510140.0001
Mysql Total
Database connection0.00074.809610.0007
Mysqli_queries0.002214.970530.0007
Looping result0.00000.166810.0000
Template Total0.00138.510.0013
Template load0.00106.747510.0010
Template processing0.00031.725010.0003
Override
Cache load0.00064.244210.0006
General
dbfile0.001912.538780.0002
String conversion0.00000.058840.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