Is it possible to change the default characteristes,(author, class, translation ) in facets

Author Message

Romeo Antony

Monday 20 December 2010 5:50:09 am

Hi,

Anyone knows is it possible to change the default supported characteristics in facets in ezfind.

i have tried to remove the author faclet characteristics from ezfind search template. But I couldn't any Ideas will be helpfull

Ivo Lukac

Monday 20 December 2010 6:12:56 am

Open the file: ezfind/classes/ezfmodulefunctioncollection.php and search for getDefaultSearchFacets() function.

In that function you can comment out what you don't need.

http://www.linkedin.com/in/ivolukac
http://www.netgen.hr/eng/blog
http://twitter.com/ilukac

Romeo Antony

Monday 20 December 2010 6:22:53 am

Thanks Ivo. Done.

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 05:13:06
Script start
Timing: Jan 18 2025 05:13:06
Module start 'layout'
Timing: Jan 18 2025 05:13:06
Module start 'content'
Timing: Jan 18 2025 05:13:06
Module end 'content'
Timing: Jan 18 2025 05:13:06
Script end

Main resources:

Total runtime0.6299 sec
Peak memory usage4,096.0000 KB
Database Queries59

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0064 588.4375152.6875
Module start 'layout' 0.00640.0043 741.125039.6250
Module start 'content' 0.01070.6179 780.7500541.2969
Module end 'content' 0.62860.0013 1,322.046912.0078
Script end 0.6299  1,334.0547 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.5710160.0002
Check MTime0.00150.2430160.0001
Mysql Total
Database connection0.00060.096410.0006
Mysqli_queries0.578891.8845590.0098
Looping result0.00060.0874570.0000
Template Total0.592294.020.2961
Template load0.00230.366620.0012
Template processing0.589993.641220.2949
Template load and register function0.00010.023510.0001
states
state_id_array0.00100.153010.0010
state_identifier_array0.00130.207520.0007
Override
Cache load0.00180.2795140.0001
Sytem overhead
Fetch class attribute can translate value0.00050.086120.0003
Fetch class attribute name0.00100.159550.0002
XML
Image XML parsing0.00100.166720.0005
class_abstraction
Instantiating content class attribute0.00000.001660.0000
General
dbfile0.00090.1438230.0000
String conversion0.00000.001440.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/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/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
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 11
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs