I have a view which I want to output as plain raw data (no html tag, no div, nothing, just the view content as text). I managed to override html.tpl.php, and page.tpl.php templates, but i still have some default markup... I get this:
<div class="region region-content">
And don't know how to get rid of it. I guess the region.tpl.php template is responsible for this, but how could I override it just for that given view (which has an internal path: user-export).
I tried region--user-export.tpl.php but my template is not seen by drupal. Do I need to use a template suggestion ?
Thanks in advance!
EDIT: I found a solution. Probably not the cleanest way but it works. I created a "blank" theme, where I overrode region.tpl.php by creating a file named region.tpl.php and stripping all divs and classes from it. I then downloaded the "Page Theme" module and set the template to "blank" for the view url. And that was it. my view got displayed with no wrappers, no divs, just plain text.