higlight search results

Author Message

Marko Žmak

Monday 15 May 2006 6:54:31 am

I'm doing the search part of my site and I would like to knoe if there's any way that I can find out in what text the search words were found and higliht them. What I need is to find out in which attribute of the object in result the word was found. Can that be done?

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

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 21 2025 17:07:46
Script start
Timing: Jan 21 2025 17:07:46
Module start 'layout'
Timing: Jan 21 2025 17:07:46
Module start 'content'
Timing: Jan 21 2025 17:07:48
Module end 'content'
Timing: Jan 21 2025 17:07:48
Script end

Main resources:

Total runtime1.3187 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0062 591.4297151.2109
Module start 'layout' 0.00620.0046 742.640636.6484
Module start 'content' 0.01081.3069 779.2891490.2500
Module end 'content' 1.31770.0009 1,269.53917.8594
Script end 1.3187  1,277.3984 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.2767160.0002
Check MTime0.00150.1101160.0001
Mysql Total
Database connection0.00100.075110.0010
Mysqli_queries1.278196.9207460.0278
Looping result0.00050.0343440.0000
Template Total1.278396.920.6392
Template load0.00190.146620.0010
Template processing1.276496.792120.6382
Template load and register function0.00010.008610.0001
states
state_id_array0.00150.111110.0015
state_identifier_array0.00220.170220.0011
Override
Cache load0.00160.117750.0003
Sytem overhead
Fetch class attribute can translate value0.00060.044010.0006
Fetch class attribute name0.00100.073320.0005
XML
Image XML parsing0.00200.153910.0020
class_abstraction
Instantiating content class attribute0.00000.000320.0000
General
dbfile0.00360.2727180.0002
String conversion0.00000.000740.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
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/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: 5
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs