Forums / Developer / attribute_view_gui and ezxmltext with custom view problem

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

attribute_view_gui and ezxmltext with custom view problem

Author Message

Michael Milkovich

Wednesday 04 May 2005 11:07:00 pm

I have two custom views, view_a and view_b, that I wish to use to render some ezxmltext fields.

{attribute_view_gui view="view_a" attribute=$<some_ezxmltext_attribute>}

I can set up appropriate overrides such that I can have two different ezxmltext.tpl files, one for each view. This part works (just like any other data type.)

However, I do not understand how to set up an override for each of the individual content templates that are invoked from the ezxmltext output function -- if I was not using my custom views, I would simply create an override like:

[m2-wombat]
Source=content/datatype/view/ezxmltags/paragraph.tpl
MatchFile=my/ezxmltags/paragraph.tpl
Subdir=templates

How do I do different ezxmltags files for each of my views?

Thanks in advance,

-- Mike