Hi there, we emailed a few times about this a month or two ago and I finally got some time to look at the code and see how some of the functions differ in D6. So, I started working on this... I am not really sure how to code at this level but this is what I did.

I changed this:

function gmap_extra_markers_views_style_plugins() {
  return array(
    'gmap_extra_markers' => array(
      'name' => t('GMap: Extra Markers'),
      'theme' => 'gmap_extra_markers_views',
      'needs_fields' => TRUE
  ),

  );
}

To this:

function gmap_extra_markers_views_style_plugins() {
return array(
    'module' => 'gmap_extra_markers',
    'style' => array(
      'gmap_extra_markers' => array(
        'title' => t('GMap: Extra Markers'),
        'help' => t('Fancy js boxes for GMAP Marker Filtering.'),
        'handler' => 'gmap_plugin_style_gmap',
        'theme' => 'gmap_extra_markers_views',
        'uses row plugin' => TRUE,
        'uses options' => TRUE,
        'type' => 'normal',
      ),
    ),
  );
}

This is based on what I saw here: http://drupalcontrib.org/api/function/gmap_views_plugins/6 but I admit, I guessed on some values...like the handler part of the array.

I am going to keep plugging away at this but if you have any corrections to make in the above code, I would love to hear it.

Becky

Comments

beckyjohnson’s picture

By the way, this didn't break the module but it didn't help it.~becky

tedbow’s picture

Becky,
Thanks for your work on this. I going to set aside some time this week to look at this and try to get the D6 port done.
Ted

jorge’s picture

Subscribe - Really excited to get this running on 6.x

beckyjohnson’s picture

Hey, is there anything else I can do to help? Anything I can research on this? My php skills are weak but I still want to help out.

Becky

greenbeans’s picture

Subscribing and might also be able to contribute, just don't know much about the internals of the gmap module or view plugins.

landing’s picture

bump