Chris

Forum Replies Created

Viewing 15 posts - 991 through 1,005 (of 1,121 total)
  • Author
    Posts
  • Chris
    Keymaster

      Hi,

      I checked the blog and your mashup shortcode had

      directions="true"

      The valid values are ‘inline’, ‘google’ or ‘none’, so I switched it to ‘inline’.  It seems to be working now.  If you want to change the directions links on a per-map basis you can use the following with your choice of links:

      poi_lins="zoom,directions_from,directions_to"

       

      Chris
      Keymaster

        Hi, you can use the contact for or email me: chris at mappresspro.com.

        The problem seems to be that somehow the ‘directions’ setting is saved incorrectly.  Could you try going to the MapPress settings and selecting ‘inline’, then saving the settings?

        If that doesn’t help, please send a login and I’ll take a look.

        Chris
        Keymaster

          Hi,

          I wasn’t able to reproduce that problem on my test system.  Do you think you could share a URL where I can see it mis-behaving?  Or better yet, if you can email a login I’ll take a look in the blog.

          Chris
          Keymaster

            Hi,

            I think I can answer your questions:

            1. Are you using the latest beta?  If so, on the settings screen you can indicate which links you want in the mashup balloon (directions from, directions to, and zoom).

            2. If you use ‘marker_link=”true”‘ in mashups (it should be the default) the POI balloon should display the post title, post thumbnail and post excerpt instead of whatever is saved in the POI itself.

            3. See #2, it should show the thumbnail as well (in mashups)

             

            in reply to: mashup not showing a specific custom post type #10261
            Chris
            Keymaster

              @zandergrin:

              Hi,

              1.  What happens if you use a mashup directly in a post, without using do_shortcode()?

              2.  What happens if you disable your other plugins/theme?

              If you like, after doing the above send a login and I’ll try to troubleshoot it for you –  I haven’t been able to reproduce this problem on my test system.

               

              in reply to: mashup not showing a specific custom post type #10251
              Chris
              Keymaster

                I really don’t know what would make those post types unique.

                I have several times seen conflicts with other plugins and themes that affected queries.  They can really difficult to troubleshoot, so I still think it’s always worth disabling plguins and switching the theme as a first step.

                You can also try just taking MapPress out this – try just running the query and printing the results instead.

                For example in yout template page do this instead of do_shortcode() :

                $wpq = new WP_Query("posts_per_page=-1&post_type=projects");
                print_r($wpq->posts);
                in reply to: mashup not showing a specific custom post type #10249
                Chris
                Keymaster

                  Hi,

                  1. How are you are displaying the other 7 post types (that work) ?
                  2. What happens if you just put the mashup shortcode in a post, rather than putting it in the home.php file?
                  3. Are the posts public and published?  If they are private they won’t show up in query results.
                  4. What happens if you deactivate your other plugins and use a standard theme (like ‘twentyeleven’)?

                  If the above don’t help, please use the contact form to send me a login and I’ll take a look.

                  in reply to: mashup not showing a specific custom post type #10243
                  Chris
                  Keymaster

                    Hi,

                    What version of MapPress?  What’s the mashup shortcode you’re using?

                    As a general tip, you can use ‘post_type=xyz’ to select a post type or ‘post_type=any’ to try all post types.  Also, you need to specify ‘posts_per_page=-1’ or your blog will limit the number of posts retrieved.

                    in reply to: Mashup of mashups? #10238
                    Chris
                    Keymaster

                      Hi,

                      If it helps, the full query reference is here: http://codex.wordpress.org/Class_Reference/WP_Query

                      I think you can just use post_type, separating the types with commas.  For example, for posts & units:

                      query="post_type=post,units"

                      You can also use this to get all post types (in which case you’ll need to identify the relevant posts by category, tag, or something else):

                      query="post_type=any"

                       

                      in reply to: POI List Template: Call from Custom Field #10228
                      Chris
                      Keymaster

                        Hi, you just need to add a column header (a <th> tag) for each column and adjust the column widths.  I’ve emailed you a complete file.

                        in reply to: Check for Empty mashup – display something else #10227
                        Chris
                        Keymaster

                          Hi,

                          Sorry, that’s not possible in the current version.

                          What would you want to see instead of the empty map?  For example, one approach would be to show the map but instead of listing the locations print “No results”.

                          in reply to: Mashup of multiple categories fails #10197
                          Chris
                          Keymaster

                            Hi,

                            I think I see the problem: if you read the WordPress documentation carefully it mentions that category_name only takes a single slug as a parameter, not an array (list) of terms:

                            Here’s an excerpt from http://codex.wordpress.org/Class_Reference/WP_Query

                            • category_name (string) – use category slug (NOT name).
                            • category__and (array) – use category id.
                            • category__in (array) – use category id.
                            • category__not_in (array) – use category id.

                            There are a few examples in the mappress documentation.

                            in reply to: Mashup of multiple categories fails #10195
                            Chris
                            Keymaster

                              Hi,

                              Category_name is for category slugs, which are not always the same as the description.  Are you using slugs?

                              If so, can you provide an example of your complete mashup shortcode?

                              in reply to: v2.38.5 beta no custom marker icon link #10189
                              Chris
                              Keymaster

                                Great, thanks for letting me know!

                                in reply to: Mashup of multiple categories fails #10186
                                Chris
                                Keymaster

                                  Hi,

                                  It may be a bug.  Please upgrade to the latest (2.38.5).

                                  I just tested that version with category__in and it worked fine for me.  I’m assuming you’re using slugs for category_name and IDs for category__in.

                                  Here’s how I wrote my mashup:

                                  [mashup query="category__in=1543,1531"]

                                   

                                Viewing 15 posts - 991 through 1,005 (of 1,121 total)