When visiting the XML url, the theming layer is not passed. this ignores the views-data-export-xml-body.tpl.php provided in the theme folder of the module, which you could use in older versions.

Comments

Serris created an issue. See original summary.

Honza Pobořil’s picture

It seems the branch 4.x was rewritten to build XML by XMLWriter, not by template files. And after rewrite somebody forgot to remove tpl.php files for XML exporter, so it seems site builder can use them.

Honza Pobořil’s picture

Title: XML output ignores template files » Template files are not used anymore, but were left in code
Priority: Major » Normal

It seems templates for all file types are not used now.

Steven Jones’s picture

Title: Template files are not used anymore, but were left in code » Remove XML template files
Category: Bug report » Task

4.x is a development version, and is not very complete!

We should remove these templates though and provide docs on how to customise.

Steven Jones’s picture

Title: Remove XML template files » Remove template files
Honza Pobořil’s picture

@Steven: There are ways how to customize outputs? (I do not see what to document :-))

Honza Pobořil’s picture

Btw, I tried to delete everything in /theme directory except of this functions in views_data_export.theme.inc (because I am not sure if they are not useful for something):

  • theme_views_data_export_message
  • theme_views_data_export_feed_icon
  • theme_views_data_export_complete_page

Everything in XML seems working.

What about next step, Steven?