Forums / Setup & design / Online Editor and embed.tpl template question.
Daniele Nocentini
Thursday 15 March 2007 5:00:41 am
When I insert a content object with Online Editor ez call this template:
design\standard\templates\content\datatype\view\ezxmltags\embed.tpl
How can I use instead this template:
design\standard\templates\content\datatype\view\ezxmltags\embed_node.tpl
There are some configuration in .ini file inside the OE extension?
Antica Bottega Digitale srl http://www.abd.it
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