mashup map problem with 2.38.9 beta

Home Forums MapPress Support mashup map problem with 2.38.9 beta

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #10998
    James Proctor
    Participant

    Somehow our mashup maps are not retrieving posts now that we’ve upgraded to latest Pro beta; what we now get is a blank map of the world, vs. an autozoomed map displaying related category posts. I’ve temporarily downgraded to 2.38.8 to remove the problem. See below for sample mashup shortcode: I’ve tried removing this and that to fix the problem, but no dice. (The $cat variable does work, btw; again, this all works fine in 2.38.8.)

    Thanks,

    Jim

    ***

    [mashup width=”100%” height=”360″ maptypeid=”hybrid” marker_title=”post” marker_body=”excerpt” directions=”none” overviewmapcontrol=”false” show=”query” show_query=”cat=’.$cat.’&post_status=publish&posts_per_page=-1″]

    #11011
    Chris
    Keymaster

    Hi Jim

    I take it you’re putting that shortcode into your template somehow?  Are you using do_shortcode() to call it?

    I understand it’s working now, but I ask because $cat will only work in PHP, not in a shortcode that you insert into a post.

    I’d be happy to take a look.  I’ll need to have 2.38.9 installed so I can see the problem.  Is it OK if I login and install it for testing?  You sent me a login a while back.

    #11014
    James Proctor
    Participant

    Yes, you’re correct in your assumption; it’s in a template file, and the line is

    <?php echo do_shortcode(‘[mashup width=”100%” height=”360″ maptypeid=”hybrid” marker_title=”post” marker_body=”excerpt” directions=”none” overviewmapcontrol=”false” show=”query” show_query=”cat=’.$cat.’&post_status=publish&posts_per_page=-1″]’); ?>

    The problem is that we’re running this site with other institutions, and I need to warn them that there will be this (hopefully temporary) behavior. If you’re available just now to give it a try, I can install .9 and wait for the results, but optimally we’ll come back up with successful mashup maps soon…just be in touch, and thanks…Jim

    #11022
    Chris
    Keymaster

    For anyone else with a similar problem: there was a bug that caused mashups to display empty in 2.38.9.  It should now be fixed in 2.38.10.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.