Popup content and override.ini again

Popup content and override.ini again

Monday 28 July 2003 6:53:43 am - 2 replies

Author Message

Bård Farstad

Monday 28 July 2003 6:56:45 am

Check that you've cleared the override cache. In the admin this is the "clear template cache" button.

With the shellscript you can do this with
./bin/shell/clearcache.sh --clear-all

The --clear-all is needed whenever you introduce a new template, since eZ publish caches all the template files.

If you use the webgui eZ publish will automatically clear the template cache.

Your configuration seems fine.

--bård

Documentation: http://ez.no/doc

Michael Bolien

Monday 28 July 2003 7:20:02 am

Thank you bård for the immediate answer,

so I cleared the cache by using that shall command, by using the admin interface -> same result. Instead of calling the popup.tpl, the pagelayout_section_1.tpl appears. pagelayout_section_1.tpl is the override for pagelayout.tpl. But, as I noticed now, it should have something to do with the order of entries in the override.ini.append.php. When I change the entries to:

[popup]
Source=pagelayout.tpl
Matchfile=popup.tpl
Subdir=templates
Match[node]=65

[pagelayout_section_1]
Source=pagelayout.tpl
MatchFile=pagelayout_section_1.tpl
Subdir=templates
Match[section]=1

then no template appears in the popup window, only a message from template-debug:

/design/mydedign/templates

do you have a solution?

Michael

You must be logged in to post messages in this topic!

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