Forums / Setup & design / templates override BUG .. or not supported ?!

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

templates override BUG .. or not supported ?!

Author Message

Selmah Maxim

Monday 23 June 2003 4:39:53 am

when you try to use the same template file for different template will not work !

such :

[data_view]
Source=content/view/versionview.tpl
MatchFile=info/data_view.tpl
Subdir=templates
Match[class]=16

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

any idea ?!

Selmah Maxim

Monday 23 June 2003 4:40:56 am

BUT .. this will work fine :

[versionview]
Source=content/view/versionview.tpl
MatchFile=info/data_view.tpl
Subdir=templates
Match[class]=16

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

Paul Forsyth

Monday 23 June 2003 4:50:30 am

The value between the square brackets needs to be unique as it is used as a key for that override statement.

You can use the same template file but make sure your 'key' for it differs. Look at the end of:

http://ez.no/developer/ez_publish_3/documentation/ez_publish_3/terminology_basics/the_new_template_override_system_from_31_onwards

paul

Selmah Maxim

Monday 23 June 2003 6:08:53 am

ok .. thx !