override the file 'browse.tpl'

Author Message

Anthony M.

Friday 13 October 2006 7:31:53 am

Hello,

i have a conflict with my file 'browse.tpl' !!!!!!
the conflict is between this file in the folder 'extension\ezdhtml\design\standard\templates\content' and 'design\MY_SITEACCESS\templates\content'

i don't want to take the file 'browse.tpl' in the extension folder, i want the other but i don't know do this...
i must override this file ?? where ??

Thanks a lot for your help

Anthony

Marius Eliassen

Friday 13 October 2006 8:01:06 am

If you dont want that file to overide your file you can simply remove it from the extension folder, but then i guess some things might not work as intended for the extension.

Anthony M.

Friday 13 October 2006 8:02:00 am

Here is the debug :

Timing:  	Oct 13 2006 16:49:36

Module start 'content'

Notice: 	Oct 13 2006 16:49:36

eZTemplate: Loading template "content/browse.tpl" with resource "design"

Notice: 	Oct 13 2006 16:49:36

extension/ezdhtml/design/standard/templates/content/browse.tpl, iso-8859-1

Debug: 	Oct 13 2006 16:49:36

FETCH START URI: design:content/browse.tpl, extension/ezdhtml/design/standard/templates/content/browse.tpl

...

Anthony

Anthony M.

Friday 13 October 2006 8:16:21 am

i've already replace the file in the extension folder, but it doesn't function and it's not a good method because we need for the extension in the admin part...

Anthony

Claudia Kosny

Friday 13 October 2006 12:39:46 pm

Hi Anthony

If you specify an override in the override.ini you could at least have your browse template in the user site_access with the admin siteaccess still using the ezdhtml browse template. If you want two different browse templates for the admin site access you might be able to use the override condition which matches the navigation part.
Check the override conditions for content/browse.tpl - maybe you can utilise something else.
http://ez.no/doc/ez_publish/technical_manual/3_8/reference/template_override_conditions

Actually I will post an enhancement request to create better override conditions as I had the same problem as you do far to often now.

Good luck

Claudia

Anthony M.

Tuesday 31 October 2006 3:22:16 am

Hello !!

here is my code for the override :

Source=content/browse.tpl
MatchFile=browse.tpl
Subdir=templates
Match[node]=693

it's good or not ??

and the debug show that :

Timing:  	Oct 31 2006 09:28:38

Module start 'content'

Notice: 	Oct 31 2006 09:28:38

eZTemplate: Loading template "content/browse.tpl" with resource "design"

Notice: 	Oct 31 2006 09:28:38

extension/ezdhtml/design/standard/templates/content/browse.tpl, iso-8859-1

Debug: 	Oct 31 2006 09:28:38

FETCH START URI: design:content/browse.tpl, extension/ezdhtml/design/standard/templates/content/browse.tpl

Thanks a lot

Anthony

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.