Skip to content
  1. Dec 01, 2010
  2. Nov 30, 2010
  3. Jul 06, 2010
  4. Jul 03, 2010
  5. Jun 13, 2010
  6. Jun 08, 2010
  7. Apr 01, 2010
  8. Jan 24, 2010
  9. Jan 10, 2010
  10. Jan 09, 2010
  11. Dec 12, 2009
  12. Dec 01, 2009
    • Brandon Bergren's avatar
      From [#452316]: · 196b57b6
      Brandon Bergren authored
      Stop confusing the marker system by blindly wrapping marker.text in a div, even
      if it didn't exist.
      196b57b6
    • Brandon Bergren's avatar
      Add a way to bind controls that we aren't able to set the id/classes on from the Drupal side. · a6ae3a4a
      Brandon Bergren authored
      This lets us work around the fact that gmap_widget_setup() completely fails to work on CCK fields.
      
      Example:
      <code>
        $remap = array(
          'edit-field-latitude-0-value' => array('classes' => array('gmap-locpick_latitude'), 'id' => 'gmap-loc0-locpick_latitude0'),
          'edit-field-longitude-0-value' => array('classes' => array('gmap-locpick_longitude'), 'id' => 'gmap-loc0-locpick_longitude0'),
          'edit-field-address-0-value' => array('classes' => array('gmap-locpick_address'), 'id' => 'gmap-loc0-locpick_address0'),
        );
        drupal_add_js(array('gmap_remap_widgets' => $remap), 'setting');
      
        /* ... stuff copied from gmap_set_location(), etc... */
      </code>
      a6ae3a4a
    • Brandon Bergren's avatar
      [#286653] by jcmarco et al: Use drupal_add_js() like everyone else. · 5a24a253
      Brandon Bergren authored
      HOPEFULLY it will work okay.
      The reason I was reluctant to change this is the interactions between drupal_add_js()
      and hook_filter(), described at
      http://mostrey.be/hookfilter-versus-drupaladdjs
      
      If anyone has troubles with macros after this change, I will have to revisit gmap's filter
      stuff.
      5a24a253
  13. Apr 17, 2009
  14. Apr 06, 2009
  15. Mar 13, 2009
  16. Mar 11, 2009
  17. Feb 13, 2009
  18. Feb 12, 2009
  19. Feb 11, 2009