Forums / Setup & design / Popup content and override.ini again

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

Popup content and override.ini again

Author Message

Michael Bolien

Monday 28 July 2003 6:53:43 am

Hi folks,

its me again with the same weird problem: I want to call a popup which is created depending on content in a folder.

I created a new override template "popup.tpl" which should replace pagelayout.tpl. So I added in the override.ini.append:

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

But the popup always shows the main page .....
I cleared the cache, I messed around since hours .....

any ideas?

Michael

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 Exponential caches all the template files.

If you use the webgui Exponential 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