Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #2
Honza Pobořil CreditAttribution: Honza Pobořil commentedIt 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.
Comment #3
Honza Pobořil CreditAttribution: Honza Pobořil commentedIt seems templates for all file types are not used now.
Comment #4
Steven Jones CreditAttribution: Steven Jones at ComputerMinds commented4.x is a development version, and is not very complete!
We should remove these templates though and provide docs on how to customise.
Comment #5
Steven Jones CreditAttribution: Steven Jones at ComputerMinds commentedComment #6
Honza Pobořil CreditAttribution: Honza Pobořil commented@Steven: There are ways how to customize outputs? (I do not see what to document :-))
Comment #7
Honza Pobořil CreditAttribution: Honza Pobořil commentedBtw, 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):
Everything in XML seems working.
What about next step, Steven?