Default Location for Directions

This topic contains 3 replies, has 2 voices, and was last updated by  Paolo 8 years, 8 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #52591

    Chris Bemis
    Buyer
    Post count: 10

    Hi, I need to set a default location for directions on the map tab on the place detail page. How can I accomplish this? Fast and dirty is fine. I just can’t find where the HTML output comes from.

    Thank you,

    #52614

    Paolo
    Site Admin
    Post count: 31206

    Hi Chris,

    you can do that easily with jQuery and it wouldn’t be a dirty solution.

    Add this to GeoDirectory >> Design >> Script >> Footer script code.

    
    
    <script type="text/javascript">
    jQuery('#detail_page_map_canvas_fromAddress').val('test');</script>

    Replace test with your default location.

    Thanks

    #52635

    Chris Bemis
    Buyer
    Post count: 10

    Awesome, thanks! Works just fine

    #52809

    Paolo
    Site Admin
    Post count: 31206

    You are welcome! 🙂

Viewing 4 posts - 1 through 4 (of 4 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket