When I tried to build a view for HTML ads, I kept getting an error I didn't understand about a URL field that wasn't existing. I dug a little deeper and discovered a variable that's named wrongly in ad_views.views-ad_html.inc:

    // Ad HTML - 'html'
    $data['ad_html']['url'] = array(
      'title' => t('HTML'),
      // The help that appears on the UI
      'help' => t('The ad HTML.'),
      // Information for displaying
      'field' => array(
        'handler' => 'views_handler_field',
        'click sortable' => FALSE
      )
    );

Changing line 24 to $data['ad_html']['html'] causes it to work properly.

Comments

milesgillham’s picture

Status: Active » Fixed

Fixed in -dev. Thanks for finding that!

Cheers,

Miles

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.