I created a custom style-plugin for views, and a corresponding style-template (my-style-template.tpl.php). Similarly, I created a custom row-plugin for views and a corresponding row-template.
The style-template loops through the views-rows, and invokes the row-template on each row:
print $row;
What I am trying to accomplish:
The style-plugin defines certain settings in the $options variable, which gets passed to the style-template. The row-template needs access to some of these settings.
My question:
Is there a way to pass variables from my style-template to my row-template?
For example, rather than invoking print $row
from the style-template, is there some other way of invoking the row-template, which allows me to pass variables to the row-template?
Thanks very much!