I've set up a pretty simple view that displays teasers, and I've added an Active Template Teaser View to the view. However, when I view the resulting page, the Active Template isn't being used. Any suggestions?

Comments

mxgfx’s picture

I'm experiencing the same issue. subscribing.

derekwebb1’s picture

Are you sure that you enabled the template?

Could you post your teaser template code?

Derek

fluxline’s picture

will be very helpful module, but for right now i have the same problem. simple view with some nodes field template setup and activated. template code:


foreach ($nodes as $node) {
  print $node->node_title['value']['view'];
}

only 1 template on that view, cleared views cache, anything else to try?

fluxline’s picture

my bad, did not have the 'Template (Selected Fields)' view type selected on the view. i'm using viewcalcs to do what it does and wanted to be have a little better control how the resulting calculations are displayed with the view. i don't see how a view can have 2 view types so not sure where to go with this. i think it's a general question when using this module with any others that 'manipulate' views data.

edit: i did not explore the module directory very well, there is a readme that explains the views portion in the sub-module folder active_view. thank you. one of the things mentioned is that there are a few more options available, the one that might solve the problem above is the $view_type. it only mentions the types 'page' and 'block', but could i also use the views_calcs view type as well? if so, could you maybe give an example of how. thanks

derekwebb1’s picture

Status: Active » Closed (fixed)

Seems like human error...