we have forum about RC flying and want to put some weather banner on it. We have code for various cities. So we want to show that banner in one of area defined by Ad management mod.
My question is how I can find location (if entered) of logged user with script/php? Based on that location, correct weather banner will be inserted.
I tried something like:
but that is something working only in Display.template.php.
I want, if it possible, some code which can be entered in Ad Managemend mod.