Coppied Google Map Container to Photo.php (No pins displayed)

Home Forums Calendar Products Events Calendar PRO Coppied Google Map Container to Photo.php (No pins displayed)

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #90640
    Anonymous
    Inactive

    Hi, We decided to drop the map view as we felt it would work better for us to use it within the ‘photo’ view.

    I copied the ‘Google Map Container’ from the map.php to the photo.php as shown below:

    <?php do_action( ‘tribe_events_before_template’ ); ?>
    <!– Google Map Container –>
    <?php tribe_get_template_part( ‘pro/map/gmap-container’ ) ?>
    <!– Tribe Bar –>
    <?php tribe_get_template_part( ‘modules/bar’ ); ?>
    <!– Main Events Content –>
    <?php tribe_get_template_part( ‘pro/photo/content’ ) ?>
    <?php do_action( ‘tribe_events_after_template’ ) ?>

    The map displays in the ‘photo’ view as expected. The problem is that the event pins do not show on the ‘photo’ view [They still show in the map view]. I looked thru the ‘tribe-events-ajax-maps.js’ to see what I needed to do to “link” it up to the ‘photo’ view and I’m not seeing it.

    How can I get the event pins to show with the maps container displayed in the ‘photo’ php/view?

    Your help wouyld be greatly appreciated, Thnx

    #91662
    Kelly
    Participant

    This is a really cool idea, walkingfish! 🙂

    Much as we’d like to be able to support you through this kind of advanced customization, we’re, unfortunately, not set up to help you troubleshoot this sort of thing. On the other hand, if this is something that you think would be of value to the community at large, we’d be most grateful if you’d suggest it on our UserVoice forum.

    If you decide you’d like more help with your solution, we’d be happy to offer you the names of some developers that we’ve had good dealings with in the past. 🙂 Best of luck!

    #92280
    Anonymous
    Inactive

    We’ll look into adding this into the UserVoice Forum at a later date.

    I spent a tremendous amount of time going thru all the code trying various methods w/o prevail. I am finding is that the easiest whay about going thru this is to change the ‘Main Events Content’ within the map.php to my owm:

    ‘<?php tribe_get_template_part( ‘pro/photo-map/content’ ) ?>’

    What I discovered is this does nothing; Whatever is put in the path

    ‘<?php tribe_get_template_part( ‘PATH-TO-CONTENT’ ) ?>’

    PATH-TO-CONTENT always equals/returns: ‘pro/map/content’. If the PATH-TO-CONTENT is empty, the content doesn’t load. So, something is over-riding the path…?

    What would be helpful is an explanation to this and even better, the logic-flow on how the parts and classes are put together. It’s pretty much impossible to figure out because there are flags pointing to flags pointing to classes with conditionals pointing to other classes and files, etc. You know what I mean?

    If we get this figured out, I will be gladly post the code for others who would like the same functionality.

    Again, any help would be greatly appreciated.

    Thnx.

    #92974
    Kelly
    Participant

    Hi, walkingfish. Thanks for your thorough response! 🙂 We really appreciate your eagerness to help out the TEC community.

    Unfortunately, what you’re asking for is beyond what kind of help we can offer in this forum. If you would like some recommendations for developers that could help you out, I’m happy to share those with you. Just let me know!

    Best of luck! 🙂

    #92998
    Anonymous
    Inactive

    This reply is private.

    #93283
    Rob
    Member

    Hey there Jason. Thanks for this reply; Kelly brought the thread to my attention and I wanted to get you a follow-up.

    While we really appreciate you providing some feedback, it seems like this reply is for an issue totally unrelated to the original one Kelly was attempting to help with. While we are always working to optimize the performance of the plugin (and it indeed gets better with each release), it does sound like based on your last reply, you may have broader issues here.

    To that end, and more importantly: this response doesn’t meet our community guidelines and unfortunately we’ve decided that your tone is ultimately no longer welcome on the forums. We’ve refunded your purchase price for both plugins you bought, and I’ve emailed you privately with more information as to our rationale. That said, your account here on the tri.be site has been terminated and this thread is being closed down.

    Thank you.

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Coppied Google Map Container to Photo.php (No pins displayed)’ is closed to new replies.