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

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 19 2025 00:57:06
Script start
Timing: Jan 19 2025 00:57:06
Module start 'layout'
Timing: Jan 19 2025 00:57:06
Module start 'content'
Timing: Jan 19 2025 00:57:07
Module end 'content'
Timing: Jan 19 2025 00:57:07
Script end

Main resources:

Total runtime0.6688 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0060 590.5469152.6563
Module start 'layout' 0.00600.0033 743.203139.5078
Module start 'content' 0.00930.6579 782.7109401.6016
Module end 'content' 0.66730.0015 1,184.31258.0938
Script end 0.6687  1,192.4063 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.5013160.0002
Check MTime0.00140.2160160.0001
Mysql Total
Database connection0.00090.136510.0009
Mysqli_queries0.627693.8373460.0136
Looping result0.00050.0800440.0000
Template Total0.625493.520.3127
Template load0.00230.346620.0012
Template processing0.623093.157320.3115
Template load and register function0.00040.060710.0004
states
state_id_array0.00220.328510.0022
state_identifier_array0.00200.297320.0010
Override
Cache load0.00190.2831110.0002
Sytem overhead
Fetch class attribute can translate value0.00110.159110.0011
Fetch class attribute name0.00120.177810.0012
XML
Image XML parsing0.00020.022910.0002
class_abstraction
Instantiating content class attribute0.00000.001210.0000
General
dbfile0.00080.1190100.0001
String conversion0.00010.015540.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 8
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs