Closed (works as designed)
Project:
Views (for Drupal 7)
Version:
6.x-2.0-beta2
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
15 May 2008 at 02:19 UTC
Updated:
15 May 2008 at 18:50 UTC
I'm trying to update my custom phptemplate-based theme for Drupal 6. I have a lot of Views Theme Wizard output (from Drupal 5 / Views) in my template.php file. Each of these snippets has a line like:
$items[] = _phptemplate_callback('views-list-Events_sidebar', $vars);
It's my understanding that _phptemplate_callback is not supported in Drupal 6 and needs to be replaced with something. What should I replace it with? ...Or should I delete all of these and retheme with Views 2?
Comments
Comment #1
merlinofchaos commentedYou'll need to re-theme all of your Views in Views 2. The good news is that most of the Views 2 theming is vastly superior to the older theming method, but it will require some labor to shift stuff over. The theme: information link on the view will help you with templates.
Comment #2
cpelham commentedAh, I see! Thanks! The more I learn about Views 2 the more super it appears to be.