gmap

Them snippet causing problems with displaying a gmap on the same page

  1. function anglerschannel_preprocess_page(&$vars) {
  2.         if (arg(2)!='edit' && arg(1) !='add'){
  3.                 $vars['template_files'][] = "page-node-" .

Module to modify all gmap default cities at the same time

  1. <?php
  2. // $Id$
  3. /* HOOK_MENU */
  4. function hoteles_config_menu() {
  5.   $items = array();
  6.   $items['admin/settings/hoteles'] = array(
  7.     'title' => t('Configuración hoteles'),
  8.     'description' => t(

views plugin gmap stuff

  1.             if ($view_markermode == 1) { // popup
  2.               $marker['text'] = $this->row_plugin->render($row);
  3.             }
  4.             elseif ($view_markermode == 2) { // link
  5.          

Google Map embed

  1.         drupal_set_html_head('
  2.                 <script src="http://maps.google.com/maps?file=api&amp;v=2&amp;key='.variable_get('google_map_api_key', '').'"
  3.                 type="text/javascript">
  4.                 </script>

That gmap bug thing

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  2.   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  4.   <head>

That gmap bug thing

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  2.   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  4.   <head>
Syndicate content