Advancedsearch class limitation?

Author Message

Siniša Šehović

Wednesday 26 October 2005 6:51:00 am

Hi

How can I limit, in advancedsearch template, select box to show just a few classes and not all?

Best regards,
Sinisa

---
If at first you don't succeed, look in the trash for the instructions.

Siniša Šehović

Thursday 27 October 2005 12:50:45 am

Hi all,

Problem solved with simple fetch function.

{def $content_class_array=fetch( 'class', 'list', hash( 'class_filter', array( 1, 24,25 ) ) )}

Is it possible to fetch only specific sections?
Let's say sections USERS and DESIGN?

S.

---
If at first you don't succeed, look in the trash for the instructions.

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 19 2025 22:50:36
Script start
Timing: Jan 19 2025 22:50:36
Module start 'layout'
Timing: Jan 19 2025 22:50:36
Module start 'content'
Timing: Jan 19 2025 22:50:38
Module end 'content'
Timing: Jan 19 2025 22:50:38
Script end

Main resources:

Total runtime1.2256 sec
Peak memory usage4,096.0000 KB
Database Queries52

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0060 589.1563152.6250
Module start 'layout' 0.00600.0035 741.781339.4609
Module start 'content' 0.00951.2144 781.2422487.3125
Module end 'content' 1.22390.0017 1,268.55478.1563
Script end 1.2256  1,276.7109 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.2773160.0002
Check MTime0.00130.1092160.0001
Mysql Total
Database connection0.00070.057910.0007
Mysqli_queries1.183796.5744520.0228
Looping result0.00040.0331500.0000
Template Total1.183096.520.5915
Template load0.00210.171420.0011
Template processing1.180996.347120.5904
Template load and register function0.00010.009610.0001
states
state_id_array0.00220.176110.0022
state_identifier_array0.00130.102120.0006
Override
Cache load0.00170.1387160.0001
Sytem overhead
Fetch class attribute can translate value0.00040.034410.0004
Fetch class attribute name0.00100.083030.0003
XML
Image XML parsing0.00040.032110.0004
class_abstraction
Instantiating content class attribute0.00000.000740.0000
General
dbfile0.00150.1191150.0001
String conversion0.00000.000840.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/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 13
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs