Newbie :D -> How to exclude a part of website from search...

Author Message

Mateusz Krzeszowiec

Thursday 07 April 2005 8:55:49 am

Hi.

I got a large part of website that I don't want to be searched from (few different classes, that I also use in other parts of site).

I know that I can exclude some node id's (or classes and such) but is there any place in admin panel where I can do it in 2 minutes?

And if not, where should I look for search results template.

James Packham

Thursday 07 April 2005 11:41:42 am

>> I know that I can exclude some node id's (or classes
>> and such) but is there any place in admin panel
>> where I can do it in 2 minutes?

Not to my knowledge.

>> And if not, where should I look for search
>> results template.

In older versions of ez it was under standard/templates/search/, but now I believe it's moved to
design/base/templates/content/search.tpl. You'll find the code you need under a sections named "SearchResult".

I assume you're thinking about using "section shows" to limit the content which is displayed? It should work, but if you're blocking a lot of stuff it'll be a big template :)

Regards,

James

Mateusz Krzeszowiec

Friday 08 April 2005 6:06:18 am

Thank's!

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

Main resources:

Total runtime0.9218 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0055 589.2891152.6563
Module start 'layout' 0.00550.0032 741.945339.5078
Module start 'content' 0.00870.9116 781.4531503.4063
Module end 'content' 0.92030.0015 1,284.85948.0938
Script end 0.9218  1,292.9531 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.3398160.0002
Check MTime0.00130.1409160.0001
Mysql Total
Database connection0.00130.142210.0013
Mysqli_queries0.877495.1859570.0154
Looping result0.00050.0555550.0000
Template Total0.890996.620.4454
Template load0.00190.205920.0009
Template processing0.889096.438720.4445
Template load and register function0.00010.012710.0001
states
state_id_array0.00130.138610.0013
state_identifier_array0.00120.126120.0006
Override
Cache load0.00150.1678220.0001
Sytem overhead
Fetch class attribute can translate value0.00040.048120.0002
Fetch class attribute name0.00120.125840.0003
XML
Image XML parsing0.00070.079220.0004
class_abstraction
Instantiating content class attribute0.00000.000840.0000
General
dbfile0.00080.0910160.0001
String conversion0.00000.001240.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
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.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: 6

Time used to render debug report: 0.0001 secs