Template override only for ezfind

Author Message

Alejandro Dominguez

Wednesday 15 June 2011 3:02:21 am

Hello guys,

I was trying to create a template override online for eZ Find, but I'm not sure of what match conditions I should use. I thought in a node number of class type, but I don't know if they exist.

Any ideas?

Carlos Revillo

Wednesday 15 June 2011 3:39:45 am

Hi Alejandro. 

I really can't understand your goal. you mean search template or node results template?

Thanks. 

Romeo Antony

Wednesday 15 June 2011 4:59:43 am

Read this link

http://doc.ez.no/eZ-Publish/Technical-manual/4.x/Reference/Template-override-conditions

 

check for

node/view/*.tpl for override conditions for nodes full view templates.

Alejandro Dominguez

Friday 17 June 2011 2:08:44 am

Hi Carlos and Romeo,

My template has a sidebar. I want to create an override to hide this sidebar  to have the hole width for the ezfind view.

I know I have to use a condition to do this override, but I'm not sure of what kind of condition (and name)  should I use with eZfind. Has eZfind a class_identifier or a section?

Carlos Revillo

Friday 17 June 2011 2:26:14 am

Hi Alejandro. You say "my template" but are you reffering to the one provided by ez right?

Anyway, i think you probably don't need an override. maybe you just need to put a new template in your design/[your_custom_design]/templates/content/search.tpl

do your stuff in that template, clear your caches, and you should see your changes.

Let me know if this helps.

Cheers.

Alejandro Dominguez

Monday 20 June 2011 12:13:33 am

Hi Carlos,

Thanks for your answer. I'm going to try it and I will tell u :)

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

Main resources:

Total runtime0.6056 sec
Peak memory usage4,096.0000 KB
Database Queries71

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0065 594.3672152.6406
Module start 'layout' 0.00650.0025 747.007839.4844
Module start 'content' 0.00900.5949 786.4922581.7500
Module end 'content' 0.60390.0017 1,368.242216.1328
Script end 0.6056  1,384.3750 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.5290160.0002
Check MTime0.00130.2213160.0001
Mysql Total
Database connection0.00090.147610.0009
Mysqli_queries0.545490.0483710.0077
Looping result0.00070.1140690.0000
Template Total0.579595.720.2898
Template load0.00190.306420.0009
Template processing0.577695.379120.2888
Template load and register function0.00010.021110.0001
states
state_id_array0.00060.095110.0006
state_identifier_array0.00070.111420.0003
Override
Cache load0.00160.2627360.0000
Sytem overhead
Fetch class attribute can translate value0.00070.121730.0002
Fetch class attribute name0.00130.211680.0002
XML
Image XML parsing0.00100.172130.0003
class_abstraction
Instantiating content class attribute0.00000.0058100.0000
General
dbfile0.00080.1331220.0000
String conversion0.00000.001140.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
4content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
6content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
8content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/link.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/link.tplEdit templateOverride template
2content/datatype/view/ezxmltags/strong.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/strong.tplEdit templateOverride template
1content/datatype/view/ezxmltags/header.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/header.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 24
 Number of unique templates used: 8

Time used to render debug report: 0.0001 secs