Overriding pagelayout on searchresults page

Author Message

Jason Senich

Wednesday 15 June 2005 8:37:06 am

Does anybody know how to override the pagelayout for the searchresults page?

Paul Borgermans

Wednesday 15 June 2005 10:37:54 am

Hi Jason,

You will need to patch the kernel for this (at least that's what I did a long time ago to have a custom edit pagelayout). However, using an {if} block to inspect the current module/view used in the default pagelayout is not that hard either.

Take a look at the $module_result elements for more information.

hth

-paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

Jason Senich

Wednesday 15 June 2005 11:47:23 am

That works. Thanks!

-Jason

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 04:39:10
Script start
Timing: Jan 19 2025 04:39:10
Module start 'layout'
Timing: Jan 19 2025 04:39:10
Module start 'content'
Timing: Jan 19 2025 04:39:12
Module end 'content'
Timing: Jan 19 2025 04:39:12
Script end

Main resources:

Total runtime1.3793 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.0062 589.2891152.6406
Module start 'layout' 0.00620.0031 741.929739.4766
Module start 'content' 0.00931.3685 781.4063529.5000
Module end 'content' 1.37780.0014 1,310.90638.2813
Script end 1.3792  1,319.1875 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.2330160.0002
Check MTime0.00140.1018160.0001
Mysql Total
Database connection0.00070.051210.0007
Mysqli_queries1.331396.5235570.0234
Looping result0.00060.0428550.0000
Template Total1.340297.220.6701
Template load0.00230.167320.0012
Template processing1.337896.995920.6689
Template load and register function0.00010.009610.0001
states
state_id_array0.00170.124910.0017
state_identifier_array0.00140.098720.0007
Override
Cache load0.00190.1390140.0001
Sytem overhead
Fetch class attribute can translate value0.00050.034620.0002
Fetch class attribute name0.00090.062240.0002
XML
Image XML parsing0.00070.051820.0004
class_abstraction
Instantiating content class attribute0.00000.000740.0000
General
dbfile0.00090.0667170.0001
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
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
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.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: 5

Time used to render debug report: 0.0001 secs