Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • Ludovic ANTIER Friend
    #863073

    Hello, could you help me please ? again.. πŸ™‚

    I would like when we come to my web page : http://webanoo.re/index.php/instituts-de-beaute

    My map is already zoom in on my country : REUNION ISLAND

    I want it to work like this for all the pages in each category

    It’s possible please ?


    1. screenshot-map-reunion-island
    2. screenshot-webanoo
    Ninja Lead Moderator
    #863349

    Hi,

    You can use a custom work from my tweak below

    Open templates/ja_directory/html/com_k2/directory/category.php file

    find and change

    $jamap = "{jamap locations='".json_encode($locations)."' map_width='100%' map_height='455' zoom='4' disable_scrollwheelzoom='1' display_scale='1' display_overview='1' draggable='0'}{/jamap}";

    to

    if (JFactory::getApplication()->input->get('Itemid')== 204) {
        $jamap = "{jamap locations='".json_encode($locations)."' map_width='100%' map_height='455' zoom='9' disable_scrollwheelzoom='1' display_scale='1' display_overview='1' draggable='0'}{/jamap}";
    }
    else {
        $jamap = "{jamap locations='".json_encode($locations)."' map_width='100%' map_height='455' zoom='4' disable_scrollwheelzoom='1' display_scale='1' display_overview='1' draggable='0'}{/jamap}";
    }

    Hope it helps

    Regards

    Ludovic ANTIER Friend
    #864086
    This reply has been marked as private.
    Ninja Lead Moderator
    #864422

    I applied my solution above into on your site, now you can see the map REUNION ISLAND as my screenshot


    1. Screen-Shot-2016-01-21-at-20.18.31
    Ludovic ANTIER Friend
    #865080
    This reply has been marked as private.
    Ninja Lead Moderator
    #865337

    I fixed with menu on your site from this link here and you will see it as my screenshot

    you will see even by you. Perhaps you see the map; but in my home I don’t see.

    Where is your location?


    1. Screen-Shot-2016-01-22-at-20.24.19
    Ludovic ANTIER Friend
    #865340
    This reply has been marked as private.
    Ninja Lead Moderator
    #867249

    You can try to apply the same my solution here with ItemId: 115 and 147, hope it helps

    Ludovic ANTIER Friend
    #867399
    This reply has been marked as private.
    Ninja Lead Moderator
    #869436

    Have you solved the problem on your site? I’m checking and see it’s working fine on your site.

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

This topic contains 9 replies, has 2 voices, and was last updated by  Ninja Lead 8 years, 9 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum