D
D
Dmitry Evgrafovich2014-03-21 10:51:51
PHP
Dmitry Evgrafovich, 2014-03-21 10:51:51

How to display content in drupal 7 depending on the set cookie without changing the path and subdomain?

I just started to get used to Drupal, and it became necessary to choose a city without subdomains and paths. I imagine this as setting cookie information from geoip (there will be no problems with this), the question is, how, depending on the cookie set, display this or that information depending on the city, keeping a single path for different sites?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Drupby, 2014-03-22
@drupby

create a dictionary in which the terms will be cities and then in the views that are displayed on the pages add an argument for the term and get it from the cookie value

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question