Support Forum » User Profile

Forum Replies Created

Viewing 15 posts - 16 through 30 (of 33 total)
  • Author
    Posts
  • in reply to: Redner multi-point map #45737
    Topher DeRosiaTopher DeRosia
    Participant

    I got the above worked out, it was variable naming. Now, how can I make this a google map instead of OSM?

    in reply to: Redner multi-point map #45736
    Topher DeRosiaTopher DeRosia
    Participant

    There are a couple problems with this doc. One is that the JS looks for #map_ID and the html provides id="map". I worked through that.

    Once that's fixed we get this error:
    Uncaught Error: Set map center and zoom first.

    This despite the fact that they are indeed set. I don't know JS well enough to debug this. Any ideas?

    in reply to: Composer issues #45600
    Topher DeRosiaTopher DeRosia
    Participant

    That was it! Thanks! You ca close this issue.

    in reply to: Composer issues #45580
    Topher DeRosiaTopher DeRosia
    Participant

    Yes, that's what I'm talking about, there's no UI under the advanced tab.

    in reply to: Store map in variable #45542
    Topher DeRosiaTopher DeRosia
    Participant

    I figured it out, it was from another part of the page.

    in reply to: Store map in variable #45541
    Topher DeRosiaTopher DeRosia
    Participant

    Yes, I know, it's coming from the map code, and I'm asking WHY it's there. As you can see in the code above, there is no anchor tag.

    in reply to: ℹ️Teeny not working #45170
    Topher DeRosiaTopher DeRosia
    Participant
    in reply to: ℹ️Teeny not working #45169
    Topher DeRosiaTopher DeRosia
    Participant

    Settings

    Output

    in reply to: fields not saving #45142
    Topher DeRosiaTopher DeRosia
    Participant

    Feel free to close.

    in reply to: fields not saving #45141
    Topher DeRosiaTopher DeRosia
    Participant

    I figured it out. I had some logic dictating when my class was instantiated. It was there for the front of the admin page, but not there for submission. I loosened the logic and it works fine.

    in reply to: Fields required when they shouldn't be. #44707
    Topher DeRosiaTopher DeRosia
    Participant

    The issue was that I had exported the code and made a plugin WITHOUT the requirement, but left the one on in the Builder, so it was over-riding my code. You can close this one.

    in reply to: Broken database queries. #44657
    Topher DeRosiaTopher DeRosia
    Participant

    Closing this. We didn't really fix the query, I THINK it was erroring because I was trying to detect a connection where there wasn't one. This was causing an IN statement with no IDs, which MariaDB gave an error on, but MySQL did not.

    The way I "fixed" it was putting in more tests to make sure it was only looking for a connection on pages that really should have one, and THEN storing the object it got back in meta on the post.

    DO NOT fetch this meta in the admin area, catastrophic error loss will occur.

    in reply to: Broken database queries. #44624
    Topher DeRosiaTopher DeRosia
    Participant

    Any help with this one? I really need to get it fixed.

    in reply to: Broken database queries. #44619
    Topher DeRosiaTopher DeRosia
    Participant

    I have the ID of the post I'm on, how do I know the ID of the other end, to check?

    In other words, I want to know if current post is connected to ANY of the other post type.

    in reply to: Broken database queries. #44609
    Topher DeRosiaTopher DeRosia
    Participant

    The problem is that it always works when there's a connection to be had. I think it's returning those errors on all the posts that don't have relationships.

    I tried storing the related post object in meta, but it corrupts the data going into the editor.

    I thought about storing it in a transient, but that fills up the database fast and makes wp_load_alloptions go too slow.

    How can I properly cache these relationships?

Viewing 15 posts - 16 through 30 (of 33 total)