1

I have a view that will display nearby locations.

The center coordinates would come from a cookie (lat,lng).

I am trying to get the cookie with $_COOKIE, but I get an error saying that it is not set.

How would i access that cookie and return in for a proximity filter i Views (Using the Location module)?

1

Checked with the views php module.

enter image description here

Then i get the cookies stored.

enter image description here

| improve this answer | |
0

Try to check with the $_SESSION variable, e.g.

$value = $_SESSION['something'];
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.