Location Switcher doesn't show location selected

This topic contains 6 replies, has 2 voices, and was last updated by  Vikas 10 years, 4 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #9540

    purpleedge
    Expired Member
    Post count: 539

    Hi Vikas,

    Bug 1: If I choose a new location the location switcher doesn’t show the new location, until I select the “View All” link for a CPT.

    See attached images.

    ————————————————————————

    I am using the Enfold theme and want to show the current location in the title bar on the home page. I experimented with …

            $location_terms = geodir_get_current_location_terms('session') ;    // Lookup any current session filters by location
            echo 'Home Page Location session = ';                                // GWB
            print_r($location_terms);                                           // GWB show them at the top of the page
    

    After selecting a location the $location_terms returns [gd_country] = cityname when it returns to the home page. That doesn’t look right?

    If I click on the site logo to return to the home page the location_terms returns the array correctly. See Image 4.

    What is the correct way to get the current location filter, or is this demonstrating a bug?

    ———————————————————————–

    Bug 2: I think this is related, and similar to an error I reported previously…

    i. Select a location from the Location Filter

    ii. Click on View All – the View All link is…

    site/retailers/city-name

    iii. Click on the site logo

    iv. The View All link is now …

    site/retailers/australia/new-south-wales/city-name

    and it gives a 404 error

    Login details in next message

    #9545

    purpleedge
    Expired Member
    Post count: 539
    This reply has been marked as private.
    #9726

    Vikas
    Full Member
    Post count: 1128

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

    #9727

    purpleedge
    Expired Member
    Post count: 539
    This reply has been marked as private.
    #9734

    Vikas
    Full Member
    Post count: 1128

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

    #9737

    purpleedge
    Expired Member
    Post count: 539

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

    #9742

    Vikas
    Full Member
    Post count: 1128

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

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

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

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount