Share » Forums » Setup & design » Online Editor and embed.tpl template...

Online Editor and embed.tpl template question.

Online Editor and embed.tpl template question.

Thursday 15 March 2007 5:00:41 am - 2 replies

Author Message

Xavier Serna

Thursday 15 March 2007 8:50:39 am

Hi Daniele,

you have to define an override rule so the system will use your template instead of the default.

As an example, in one of our sites we have defined this rule for embed images management:

Source=content/view/embed.tpl
MatchFile=embed/image.tpl
Subdir=templates
Match[class_identifier]=image

put your custom tpl in <your_design>/override/templates/embed and the system will use it instead of the default.

hth!

--
Xavier Serna
eZ Publish Certified Developer
Departament de Software
Microblau S.L. - http://www.microblau.net
+34 937 466 205

Pascal France

Tuesday 20 March 2007 6:15:28 am

Hi,

I just would like to know the available conditions for the override of content/view/embed.tpl template ?
Ther is nothing about this in the doc:
http://ez.no/doc/ez_publish/technical_manual/3_8/reference/template_override_conditions

Regards

Pascal

Ce qui embellit le désert c'est qu'il cache un puits... quelque part... (A. de Saint-Exupéry) - http://luxpopuli.fr/eZ-Publish

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

36 542 Users on board!

Forums menu