Chris

Forum Replies Created

Viewing 15 posts - 751 through 765 (of 1,120 total)
  • Author
    Posts
  • in reply to: Blank Map with Pin only-Pro Version #12460
    Chris
    Keymaster

      Hi Dan,

      I’m glad you got it fixed!  The Google Maps API only allows itself to be loaded once, so if the other plugin is loading that API you would need to disable it in order to run both plugins.

      Chris
      Keymaster

        You can also blame the browsers, which report zero size for hidden elements… 🙂

        Chris
        Keymaster

          Hi, it’s probably the Google API.  Please see here for some more info:

          http://mappresspro.com/mappress-faq

          in reply to: Map rendering issues #12419
          Chris
          Keymaster

            Thanks, just let me know if you need any help with it.

            in reply to: Map rendering issues #12416
            Chris
            Keymaster

              Hi, the Google API doesn’t work if the map is initially in a hidden container.  There’s some more info in the FAQ:

              http://mappresspro.com/mappress-faq

               

              in reply to: Mashup not loading #12415
              Chris
              Keymaster

                Hi,

                I’m sorry, I don’t know how to emend the rule.  Maybe the security plugin folks can tell you?

                If it blocks access to ‘admin-ajax.php’, no front-end ajax calls will work (in this case the mashup).

                in reply to: Mashup not loading #12408
                Chris
                Keymaster

                  Hi,

                  I think the redirection is still occurring, perhaps the theme is active at the main site?

                  Try this – it should return “0” but it returns the not found page from the main theme:

                  http://dewandelaar.nl/nz/wp-admin/admin-ajax.php

                  You could also try re-saving your .htaccess (go to the blog settings and save your permalinks, it’ll refresh it).

                   

                  in reply to: Mashup not loading #12403
                  Chris
                  Keymaster

                    Hi, something in your blog is preventing the query from running – it’s directing the ajax query to a ‘page not found’ error.

                    This is usually caused by a plugin or theme function that redirects the URL.

                    Try deactivating your other plugins and switching to 2012.  You can reactivate them one by one to find the error.

                     

                    in reply to: Moving the POI List #12389
                    Chris
                    Keymaster

                      You can’t, but you can modify the layout template to place the POI list wherever you like.  The file is ‘map_layout.php’ and there’s some info in the documentation about how to copy it to your theme.

                      in reply to: Maps wont show #12374
                      Chris
                      Keymaster

                        Hi, I’m glad you got it figured out and thanks for the update.

                        in reply to: Mashup questions #12369
                        Chris
                        Keymaster

                          Using 1 map will save you 1 ajax call – about half a second.  But it is less flexible, for example if you want to add custom fields, featured images, etc.  So I would always recommend using 100 separate posts.

                          in reply to: Maps wont show #12368
                          Chris
                          Keymaster

                            Please try the 2012 theme with all other plugins deactivated and let me know if that works.

                            If it does, then check that your theme is calling wp_footer() – that’s where the javascript is loaded.

                            in reply to: Maps wont show #12364
                            Chris
                            Keymaster

                              Hi, the MapPress javascripts aren’t on the page (you should see mappress.min.js).  Something is probably removing them.

                              Are you using some kind of minifying plugin?  Try deactivating all plugins and switching to 2012, then reactivate to find the problem.  Also, please check the FAQ:

                              http://mappresspro.com/mappress-faq

                              in reply to: Mushup php current category #12363
                              Chris
                              Keymaster

                                Hi, try adding ‘echo’ before do_shortcode:

                                $category_id = get_query_var('cat'); 
                                $shortcode = '[mashup query="cat=' . $category_id . '&posts_per_page=-1"]'; 
                                echo "Map of shortcode $shortcode" . "<br/>"; 
                                echo do_shortcode($shortcode);
                                
                                in reply to: Mushup php current category #12360
                                Chris
                                Keymaster

                                  Hi,

                                  It’s possible but you’ll need some PHP to do this.  You’ll need to get the category first (you can search wordpress.org for solutions to that).  Then run the mashup shortcode.

                                  I haven’t tested it but for example: this should read the category id from the query variable ‘cat’:

                                  $category_id = get_query_var('cat');
                                  $shortcode = '[mashup query="cat=' . $category_id . '&posts_per_page=-1"]';
                                  echo "Map of shortcode $shortcode" . "<br/>";
                                  do_shortcode($shortcode);
                                Viewing 15 posts - 751 through 765 (of 1,120 total)