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

merlinofchaos’s picture

Status: Active » Closed (works as designed)

You'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.

cpelham’s picture

Ah, I see! Thanks! The more I learn about Views 2 the more super it appears to be.