Problem with templates 3.1-1

Author Message

John van der Boom

Monday 30 June 2003 8:30:25 am

Hi,

I read I think every post in this forum and tried I think everything but still my templates won't work:

I have made a new design: my_design
In site.ini.append.php I've put the lines:
AvailableSiteAccessList[]=my_design

I made a new directory: /settings/siteaccess/my_design
Here I have the files: site.ini.append, override.ini.append
In override.ini.append I have for example:

[infopage]
Source=node/view/full.tpl
MatchFile=infopage.tpl
Subdir=templates
Match[class]=24

Further I've made the directory:
/design/my_design/override/templates
Here I've put the file:
infopage.tpl

In the list of templates I see
When I go to a node of the class infopage(24) eZP is still using the full.tpl in the standard directory (TemplateDebug).
What am I missing here?

Jerry Jalava

Tuesday 01 July 2003 2:23:21 pm

First of all, check that there isn't any whitespaces after the "MatchFile=infopage.tpl" line. ie. "MatchFile=infopage.tpl "...

I had that problem, when I was editing my override.ini.append file in shell...

Regards,
Jerry

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