Forums / Extensions / eZ Find / Template override only for ezfind

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 :)