Closed (fixed)
Project:
Views Datasource
Version:
6.x-1.0-alpha2
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
4 Aug 2008 at 10:04 UTC
Updated:
23 Jun 2010 at 20:00 UTC
I have to provide a xml-file with a special xml-structure. I tried to theme it, but, it doesn't work.
That would be a great thing and would make the export very flexible.
Comments
Comment #1
allisterbeharry commentedThis should be fixed in the current dev release. You can specify you want to use the normal field title assigned by Views. You can also override the the default template file and alter the XML output. I'll write up all this stuff eventually in the README.
Comment #2
allisterbeharry commentedChanges committed to 6.x-1.0-beta1. You can override the XML template globally by modifying views-views-xml-style-raw.tpl.php in the module's theme directory, or for each view individually using the standard Views overriding mechanism e.g if you have a view called 'records' you can control the output by putting a file called views-views-xml-style--records.tpl in your site theme folder. Remember to rescan templates for the view eveytime you add/modify template files.