My overrides don't work

Author Message

Cristian G. L.

Thursday 13 May 2004 1:18:22 am

Hi!
I have some overrides configured in /settings/siteaccess/mySiteAccess/override.ini.append:

<?php /* #?ini charset="iso-8859-1"?

[embed_image]
Source=content/view/embed.tpl
MatchFile=embed_image.tpl
Subdir=templates
Match[class]=5

[principal]
Source=node/view/full.tpl
MatchFile=principal.tpl
Subdir=templates
Match[class]=15

[contenido]
Source=node/view/full.tpl
MatchFile=contenido.tpl
Subdir=templates
Match[class]=16

[page_head]
Source=page_head.tpl
MatchFile=page_head.tpl
Subdir=templates

*/ ?>

The only override that seems to work is "contenido", but it works always! (not only when the class is 16). When i try to see a "Pagina Principal" (class 15), the system show me the "contenido" template.
When eZp may show my page_head.tpl, it shows the standard page_head. When eZP may show the embed_image.tpl (for show a image, not a link), it show a link...
It seems that my overrides don't have effect, except for contenido.tpl, that have "too effect".

My /settings/override.ini is empty (comments only) and i cleared the cache a lot of times (one by one). I am working with version 3.3-5 of eZpublish.

I am sorry about my english.

Thanks in advance,

Cristian

Christoph Nelles

Thursday 13 May 2004 2:39:32 am

I have the same problem ( http://www.ez.no/community/forum/setup_design/problem_with_tutorial ) with 3.4beta1. can someone confirm this as a bug?

Cristian G. L.

Thursday 13 May 2004 3:00:37 am

I modified the contenido.tpl but when i try to view a node with class=16 (contenido), it shows me the old contenido.tpl. That changes was made using the eZP web admin.

It seems a cache problem but... i cleared it 1837632 times (aprox. :D).

Regards,

Cristian

Cristian G. L.

Thursday 13 May 2004 3:29:30 am

I disabled ALL caches and now all works. I can't undertstand why the cache don't works how it must works.
I will develop my website with all caches disabled. I will try to solve the cache related problems when the website is completed.

Regards,

Cristian

Christoph Nelles

Thursday 13 May 2004 4:36:39 pm

where did you disable all the caches? there are a lot of possibilities to set a thing.

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