Forums / Developer / Overide of template for my own created class in section does not wok

"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".

Overide of template for my own created class in section does not wok

Author Message

Vytautas Germanavičius

Friday 15 October 2004 8:53:31 am

I created class, default template for the class and override teplate for one section.
in override.ini.append.php I have:

[lt_knygynas_line2]
Source=node/view/line.tpl
MatchFile=aaa.tpl
Subdir=templates
Match[class]=31
Match[section]=8

[lt_knygynas_line]
Source=node/view/line.tpl
MatchFile=lt_knygynas_line.tpl
Subdir=templates
Match[class]=31

[lt_folder_line]
Source=node/view/line.tpl
MatchFile=line/lt_folder_line.tpl
Subdir=templates
Match[class_identifier]=folder
Match[section]=8

I cleared cache. Override for class "folder" works, but for my created class doesn't.

I found something similar in http://ez.no/community/forum/setup_design/newly_created_overrides_wont_work

But there are only php files in .../settings/siteaccess/news/ folder.

{set-block scope=root variable=cache_ttl}0{/set-block}