Chris

Forum Replies Created

Viewing 15 posts - 616 through 630 (of 1,120 total)
  • Author
    Posts
  • in reply to: Tutorial – mappress pro with custom fields? #13473
    Chris
    Keymaster

      Hi,

      I’m not sure I understood your question, but if you want to show custom fields in the POI infowindow (the ‘bubble’) over each marker, you can modify the template “map_poi.php” to include them.

      You can use the PHP function get_post_meta() to output the data:

      <?php echo get_post_meta(postid, fieldname, true); ?>

      in reply to: Upgrading to Pro #13463
      Chris
      Keymaster

        Yes, here’s a step-by-step:
        http://mappresspro.com/install

        in reply to: Upgrading to Pro #13461
        Chris
        Keymaster

          Hi,

          You should always make a backup first, but upgrading isn’t an issue – the two versions are 100% compatible.

          in reply to: Directions images not showing up #13454
          Chris
          Keymaster

            Hi,

            The image path is relative to file where the CSS is defined.

            That file is mappress.css in the plugin directory – not styles.css – so the relative path works correctly.

            I’m wondering what is different in your blog. Did you move the CSS files or definitions to your theme directory or styles.css?

            If so, you’ll need to change the relative path there or make it absolute. It’s not possible to change CSS paths using PHP.

            If you’re using the theme directory, files there aren’t overwritten by plugin upgrades, and if you use a child theme they also won’t be overwritten when the theme is upgraded.

            in reply to: POI list in Mashup map is not responsive #13451
            Chris
            Keymaster

              Hi,

              You can probably do both things by modifying the map_poi_list.php template file:

              1. Add your extra columns to the poi list and I think the datatables plugin will make them sortable by default. Note that they’ll be sortable, not searchable or filterable, I was assuming that’s what you meant?

              2. Yes, you can modify the HTML of the template.

              in reply to: Directions images not showing up #13450
              Chris
              Keymaster

                Hi,

                For CSS images it’s normal to use relative paths, since there’s no way to customize a full path in the CSS file.

                If you’d like to provide a URL I’ll take a look, but this is something unique to your blog. You might try deactivating your other plugins and switching to a standard theme to see if it’s a conflict.

                You can also try a demo site here to see if it has the same issue:

                http://mappresspro.com/demo

                in reply to: POI list in Mashup map is not responsive #13445
                Chris
                Keymaster

                  Hi,

                  I looked at the URL and the datatable is working (for me). It looks like a regular table but if you click the column headings, it sorts alphabetically. I’m using Internet Explorer 10.

                  The Infobox is behind the map, as you suspected. The theme must apply a z-index somewhere. You can either remove it from the theme’s style.css or try this to raise the infobox:

                  .mapp-infobox {
                  z-index 999999;
                  }

                  You can test it using Firebug if that helps – just search for ‘map-infobox’ to find the infobox in the page HTML.

                  in reply to: POI list in Mashup map is not responsive #13442
                  Chris
                  Keymaster

                    Hi,

                    I took a look:

                    1. The map is showing the datables option is disabled. That usually indicates the “Show the POI list as a datable” option isn’t set (or isn’t getting saved). Please try to save the MapPress settings again and check that it’s set – and that you’re not overriding it in the shortcode. If that’s not the problem, please send a login so I see why the setting is not saving.

                    2. I think the POI list isn’t collapsing because the theme is preventing text wrapping on links (white-space: nowrap). You can either change the theme’s “style.css” to correct this in general, or add this to just enable wrapping in the poi list:

                    .mapp-poi-list { white-space: normal !important; }

                    in reply to: Google InfoWindow does not display description correctly #13441
                    Chris
                    Keymaster

                      Hi,

                      If you could, please provide a URL when reporting issues like this, it helps if I can see the problem.

                      I’ve never found a consistent solution for the infowindow scrollbars. It seems to depend on some combination of the browser, font and other CSS.

                      Google has several bug tickets open about it, but here’s the most recent. You can “star” it to raise its priority with Google:

                      http://code.google.com/p/gmaps-api-issues/issues/detail?id=5713

                      Here are some things to try that may help:

                      1. Make sure all of your images have a width and height specified, e.g.:
                      <img style='width:150px; height: 150px'/>

                      2. Switch to using the custom MapPress “infobox” (you can set it in the settings or in the shortcode with iwtype=”ib”). The infobox resizes properly

                      3. Enclose your the marker body in a div with a fixed height and width, e.g.:
                      <div style='width:300px;height:300px'>Your body here</div>

                      in reply to: Mashup ajax error #13440
                      Chris
                      Keymaster

                        Hi,

                        The current version of MapPress reads all the posts for the map, so that query dictates the memory usage/time.

                        I think WordPress itself (with no plugins) uses around 40MB, so 64MB doesn’t sound extraordinary.

                        If the problem is a memory limitation, you’ll need to increase your PHP memory or set a “posts_per_page” limit in the query. Here’s the codex entry:

                        http://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP

                        Please note that most hosts require you to edit the php.ini file, so just setting WP_MEMORY_LIMIT in wp-config.php won’t always work.

                        in reply to: MapPress Pro + Formidable Pro not playing nice #13421
                        Chris
                        Keymaster

                          Hi,

                          I don’t know if this is the problem, but I don’t see a height specified? Maybe changing this line would help:

                          `$mymap = new Mappress_Map(array(‘width’ => $width, ‘height’ => ‘400px’));

                          If you just need to create maps with 1 location, you can use the standard MapPress geocoding functionality instead of a custom shortcode.

                          Just configure your custom fields in the MapPress settings. I think if you just use a plain-text field for the address in Formidable, it will save it to the post as a custom field.

                          The only trick is triggering MapPress to automatically generate the map- there’s a section in the documentation about that.

                          in reply to: POI list in Mashup map is not responsive #13417
                          Chris
                          Keymaster

                            Hi,

                            The default layout for the poi list is a table with width=”100%”, so this is probably specific to your site – the theme may be overriding the CSS. If you can provide a URL I’ll take a look.

                            You can also modify the layout template “map_poi_list.php” to change the layout, or the theme’s “style.css” to suit your needs. You can see the MapPress CSS defaults in file “mappress.css”, in the plugin directory.

                            in reply to: POI list as sortable table does not display. #13415
                            Chris
                            Keymaster

                              Hi,

                              This is probably specific to your site. If you can provide a URL I’ll take a look.

                              You might try deactivating your other plugins and switching to a standard theme to see if there’s a conflict.

                              in reply to: Infobox won't display #13414
                              Chris
                              Keymaster

                                Hi,

                                This is probably specific to your site. If you can provide a URL I’ll take a look.

                                You might try deactivating your other plugins and switching to a standard theme to see if there’s some kind of conflict.

                                in reply to: Again, you saved my brain! #13403
                                Chris
                                Keymaster

                                  Thanks, Connie, I’m glad you got it working and saved your brain! 🙂

                                Viewing 15 posts - 616 through 630 (of 1,120 total)