Disable "Near Search" on a multisite with LM

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

  • Author
    Posts
  • #474479

    Fernando
    Full Member
    Post count: 101

    Hi,

    I am using Location manager on a multisite.
    Works perfect.

    I can deactivate it on certain subsites where I don’t want the multi location search. But I need to remove the “near search” box only on subsites where LM is deactivated.

    I can use a custom CSS to “display:none” to the “near search” using a code snippet. Then it will disappear on all subsites.

    I need to write a snippet to detect if the “Location Manager” is activated, and then apply the CSS mod active.

    How can I detect if the “Location Manager” is activated?

    Thank you in advance.

    #474527

    Paolo
    Site Admin
    Post count: 30558

    A valid licence is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid licence for this product.

    Thanks, Team GeoDirectory!

    #474544

    Fernando
    Full Member
    Post count: 101

    A valid licence is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid licence for this product.

    Thanks, Team GeoDirectory!

    #474550

    Paolo
    Site Admin
    Post count: 30558

    A valid licence is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid licence for this product.

    Thanks, Team GeoDirectory!

    #474556

    Fernando
    Full Member
    Post count: 101

    A valid licence is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid licence for this product.

    Thanks, Team GeoDirectory!

    #474742

    Paolo
    Site Admin
    Post count: 30558

    A valid licence is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid licence for this product.

    Thanks, Team GeoDirectory!

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

The topic ‘Disable "Near Search" on a multisite with LM’ is closed to new replies, this may be for inactivity, please open a new topic if you have a similar question.