Disable Advanced Search?

Author Message

Douglas Johnson

Wednesday 27 August 2003 9:32:42 am

I would like to disable the advanced search function. I do not want the user to have the advanced search option every time a search result is displayed. Can someone please show me how this is done? Thanks in advance.

Jan Borsodi

Thursday 28 August 2003 5:56:01 am

Add this to your site.ini or site.ini.append (for siteaccess).

[SiteAccessRules]
Rules[]
Rules[]=Access;enable
Rules[]=ModuleAll;true
Rules[]=Access;disable
Rules[]=Module;content/advancedsearch

--
Amos

Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq

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 19:21:32
Script start
Timing: Jan 18 2025 19:21:32
Module start 'layout'
Timing: Jan 18 2025 19:21:32
Module start 'content'
Timing: Jan 18 2025 19:21:33
Module end 'content'
Timing: Jan 18 2025 19:21:33
Script end

Main resources:

Total runtime1.0365 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.0065 589.3359152.6250
Module start 'layout' 0.00650.0030 741.960939.4453
Module start 'content' 0.00951.0254 781.4063518.9922
Module end 'content' 1.03500.0015 1,300.39848.3203
Script end 1.0365  1,308.7188 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.3342160.0002
Check MTime0.00150.1415160.0001
Mysql Total
Database connection0.00120.119710.0012
Mysqli_queries0.992395.7377540.0184
Looping result0.00050.0502520.0000
Template Total1.001596.620.5007
Template load0.00220.209420.0011
Template processing0.999396.405620.4996
Template load and register function0.00030.026510.0003
states
state_id_array0.00120.118510.0012
state_identifier_array0.00150.140720.0007
Override
Cache load0.00180.1702130.0001
Sytem overhead
Fetch class attribute can translate value0.00100.094420.0005
Fetch class attribute name0.00120.112730.0004
XML
Image XML parsing0.00070.067720.0004
class_abstraction
Instantiating content class attribute0.00000.000830.0000
General
dbfile0.00140.1319170.0001
String conversion0.00000.000940.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/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/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
1content/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: 9
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs