Active Template not being used

Kristi Wachter - July 25, 2008 - 23:01
Project:Active Template
Version:5.x-1.0
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

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?

#1

mxgfx - July 29, 2008 - 19:41

I'm experiencing the same issue. subscribing.

#2

deeporange1 - August 3, 2008 - 00:15

Are you sure that you enabled the template?

Could you post your teaser template code?

Derek

#3

fluxline - August 11, 2008 - 07:59

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:

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

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

#4

fluxline - August 11, 2008 - 11:15

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

#5

deeporange1 - August 22, 2008 - 14:49
Status:active» closed

Seems like human error...

 
 

Drupal is a registered trademark of Dries Buytaert.