Use a theme preprocess function in your theme's template.php file.
function mytheme_views_view_table__viewname__atachment_1(&$vars) { ... }
This will give you access to every template variable in a reference-passed array, which should have the view and row objects.
After you add the function to template.php, clearing cache resets the theme registry which is necessary for the preprocess function to execute. Use devel module's dpm() function to inspect the values.
On Tue, Mar 22, 2011 at 4:15 PM, Joel Willers
<joel.willers@sigler.com> wrote:
In views-view-table—viewname—atachment-1.tpl.php I can access $rows and get a nice array view that I can play with. I can also get $footer, which I can also play around with. Is there a way using views_get_view to get those nice arrays? -> execute didn’t give me what I wanted, so might there be another function I might get more what I’m looking for?
Joel
--
[ Drupal support list | http://lists.drupal.org/ ]